Routing around VPN on Mac Catalina
Hello,
You helped me out a few years ago with a similar issue on Linux
On Linux I used:
You helped me out a few years ago with a similar issue on Linux
On Linux I used:
sudo ip route add <ip>/32 via 192.168.1.1 dev en0
Catalina does not appear to have the ip command so I tried route:
But this does not seem to work. As noted in my Linux post, I need to do this to work with AWS instances. Part of the security on AWS is that it only allows ssh access from known ip addresses.
Thanks,
jjd
sudo route add <ip>/32 via 192.168.1.1 dev en0
But this does not seem to work. As noted in my Linux post, I need to do this to work with AWS instances. Part of the security on AWS is that it only allows ssh access from known ip addresses.
Thanks,
jjd
Comments
route add -host <IP> <gateway>
Not sure if it's relevant but I use an identity file for logging in not userid/password.
https://ingerslev.io/2019-11-05-routing-macos-vpn-traffic/
Thanks very much @PIAMarc
Additional note: It was set to Auto