Hacker News new | ask | show | jobs
by cromka 1679 days ago
> Useful if you want to e.g. automate VPN network switching or locations

Can you elaborate on that a bit, please?

1 comments

If you have a VPN named "MyVPN" you can start it from the command line with: networksetup -connectpppoeservice "MyVPN".
I use this as part of an ssh ProxyCommand. It's wonderful.