Rantings from a guy with way too much free time

OS X VPN client pppd host route configuration on post-interface connection

2019-11-20 devops Rob Baruch
VPN Client PPP daemon configuration Recipe: Configure Default Host routes after a specific VPN connection has been established Solution: In order to configure the host (or network routes, although I’m solely interested in routing specific hosts between my two sites), we need to create a file with the following commands in /etc/ppp. #!/bin/sh # VPN_GATEWAY is the remote address of the vpn tunnel # when ppp executes this script it will pass several values to it # $5 will hold the remote gateway VPN_GATEWAY=192. Continue reading