Skip to content

Instantly share code, notes, and snippets.

@mdnmdn
Created December 23, 2014 14:18
Show Gist options
  • Save mdnmdn/3e4c0ea2c11178c4c7fe to your computer and use it in GitHub Desktop.
Save mdnmdn/3e4c0ea2c11178c4c7fe to your computer and use it in GitHub Desktop.
OSX routing table management
# with VPN, add an host skipping VPN
sudo route add -host 10.0.0.145 -gateway 10.0.0.3
# remove entry
sudo route delete -host 10.0.0.145
# show all routes
netstat -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment