If you are you using Mac OS X and want to share the VPN connection to a device that doesn’t support VPNs? With Tunnelblick you can.

  1. Create a filed called blackvpn_nat_on.sh with the following contents
  2. Create another file named blackvpn_nat_off.sh with the following contents
  3. In a terminal window enter the command: chmod +x blackvpn_nat_on.sh
  4. In a terminal window enter the command: chmod +x blackvpn_nat_off.sh
  5. Start the sharing by entering the command: sudo ./blackvpn_nat_on.sh (You will be asked for you admin password)
  6. When you run the command you will see output like the following:
  7. Now connect your other devices set their default gateway to to the IP of the Mac OS X computer running Tunnelblick.
  8. Stop the sharing by entering the command: sudo ./blackvpn_nat_on.sh (You will be asked for you admin password)