I'm trying to use OpenConnect to connect to my company's Cisco VPN (AnyConnect)
The connection seems to work just fine, what I'm not understanding is how to set up routing. I'm doing this from the command line.
I use the default VPN script to connect like this:
openconnect -u MyUserName --script path_to_vpnc_script myvpngateway.example.com
I type in my password, and I'm connected fine, but my default route has changed to force all traffic down the VPN link, whereas I just want company traffic down the VPN link.
Are there some variables that I need to be putting into the vpnc-script? It's not very clear how this is done.