Using Ubuntu 20.10 now, with openconnect=8.10-1 and 
vpnc-scripts=0.1~git20200226-1 
I dropped the --script parameter, and I did not see errors about misusing "ip 
route", and routing to hosts over the VPN seems to be okay.

$ openconnect --authgroup=$REDACTED --cert-expire-warning=5
--compression=none --no-deflate --disable-ipv6 --timestamp --user=$USER
--dump-http-traffic --verbose https://webportal.${COMPANY}/+webvpn+/

$ ip r
default via 192.168.1.1 dev eth0 proto dhcp metric 100
10.0.0.0/8 dev tun0 scope link 
10.123.196.0/24 dev tun0 scope link 
xxx.xxx.186.23 dev tun0 scope link 
xxx.xxx.186.25 dev tun0 scope link

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871184

Title:
  openconnect throws errors and routing issues after connection.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to