Much of the credit goes to the article here: http://thinkden.com/index.php/general/admin/75 but there is a thing or two he glosses over which for the average user may make it more difficult to figure out so I figured I’d complete it out.
- Download the following: TunTap for Mac OS X, Tunnelblick for Mac OS X, Azilink (both the zip and apk files), and the Android SDK.
- Install TunTap and then restart your Mac.
- Install Tunnelblick (once the DMG mounts and opens, drag the Tunnelblick icon to your Applications folder).
- Unzip (open) the Azilink zip file, now go to your $HOME/Library/ folder and create a new folder called “openvpn”, copy the file “azilink.opvn” from the zip file you opened into this newly created folder. After doing this, right click on the “azilink.opvn” file and choose Open With > Other and then choose TextEdit. There is a line that says “socket-flags TCP_NODELAY”, you will want to comment this out, so add a “#” to the beginning of it so that the line now looks like “#socket-flags TCP_NODELAY”, save and close the file.
- Unzip (open) the Android SDK zip file, and copy the adb program to your Desktop, you’ll find it in the tools directory of the zip file.
- Enable USB debugging on your Android device, this can be found at Settings > Applications > Development > USB debugging.
- Now we need to install the Azilink apk file and setup the port forwarding on your Android device. So connect the USB cable from your Mac to your Android device, do not mount the SD card though. Open the terminal app, and cd to your Desktop, and run “./adb install /location/you/downloaded/apk/to” after it has completed install, then run “adb forward tcp:41927 tcp:41927”.
- Start the azilink app on your Android device, and when it comes up, check the “Service active” switch, it should say “Waiting for connection” under status once you do this.
- Now start the Tunnelblick app on your Mac, you should see status switch to “Connected to host” on your Android device, now you’re ready to share (tether) the active network connection on your Android device with your Mac.
Hope this helps make it a little more simple for the average user out there, let me know if I made any typos or missed something.