OSX route add

 
Written By Sanjir Habib On Jan-8th, 2018

You might have to run these commands after VPN connection to access your server, which might not lie in the same network of VPN but is accessible through it nevertheless.

To add

sudo route -n add 192.168.1.0/24 192.169.170.1  

To delete

sudo route -n delete 192.168.1.0/24 192.169.170.1