Things we need to know

Prerequisite

  • OpenVPN account, please do yourself a favor, choose a stable/paid provider :-)

Software & Script

Create Routes for TunnelBlick

curl -o chnroutes.py
python chnroutes.py -p mac
chmod a+x ip-up ip-down
mv ip-* ~/Library/Application\ Support/Tunnelblick/Configurations/
echo ‘up ip-up’ >> ~/Library/Application\ Support/Tunnelblick/Configurations/<your-config>
echo ‘down ip-down’ >> ~/Library/Application\ Support/Tunnelblick/Configurations/<your-config>

Unset nameserver from account settings

  • TunnelBlick => VPN Details => => Settings => Set DNS/WINS => Do not set nameserver.
  • Good to go now :-)

Update Routes for TunnelBlick Monthly

  • repeat listed commands from line 2, 3, 4 above.

OPTIONAL Life is short, use 8.8.8.8, 8.8.4.4