2017/03/16
Tunnelblick disconnect fails to remove route
Tunnelblick is an awesome OpenVPN client, which I have been using a lot lately on my Mac. I had a problem where it would connect the first time just fine, but then would never reconnect; it would seem to hang while trying to handshake with the server. I could get it to work again if I rebooted my machine, but that’s powerfully inconvenient.
TL;DR temporary fix:
On disconnect, Tunnelblick fails to remove a static route it used while active. I created a script that I run after disconnecting which drops the static route. It basically just does this:
1 |
sudo /sbin/route -n delete SERVER_IP/32 192.168.0.1
|
The 192 address makes an assumption that you didn’t customize that part of the config, so YMMV.
Tunnelblick disconnect fails to remove route is original content from devolve.