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:
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:
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

  • Sorry to hear you have been experiencing issues with our Mac program.  Please try using this command:

    route add -host <IP> <gateway>
  • edited March 2020
    Same result as my attempts.  What is different is if I do not have the route in place an ssh attempt just times out waiting on a response. With the route in place it returns "connection refused". 

    Not sure if it's relevant but I use an identity file for logging in not userid/password. 

  • edited March 2020
    I am sure you already tried this, but if not... (I am not a MAC user so sorry if this is old news)
    https://ingerslev.io/2019-11-05-routing-macos-vpn-traffic/

  • Thanks for the pointer, I had read that one but didn't try it.  Gave it a try but no luck.

  • edited December 2020
    I'm sorry to see that it didn't work out for you.
  • Is the Killswitch feature enabled in our program?  The Killswitch is designed to prevent traffic outside the VPN, you will need to have it completely disabled. Please go into our program's Settings menu, to the Privacy tab, and ensure the Killswitch is set to, "Off."  After this, please try running the command again.
  • edited March 2020
    That did it!
    Thanks very much @PIAMarc
    Additional note:  It was set to Auto
Sign In or Register to comment.