cyburdine/ December 1, 2016/ Mac Stuff

The other day I needed to setup a remote VPN connection back to my colocated environment and found that after setting up the VPN with l2tp I was unable to connect to any hosts. I quickly realized that I needed to setup static routes… so I dug around and found a great article by Rob Allen.

To solve this, you simply need to do the following on your Mac.

sudo touch /etc/ppp/ip-up
sudo chmod 755 /etc/ppp/ip-up
vi /etc/ppp/ip-up
the contents should look something like:
/sbin/route add -net -interface ppp0
/sbin/route add -net -interface ppp0