GlobalProtect VPN configuration failure
I'm using a GlobalProtect VPN. Using Openconnect directly works perfectly, however using it through networkmanager-openconnect plugin doesn't. I'm authenticated, but the VPN is not functional. A quick comparison of the routing table between two different usages show the following differences:
- the VPN interface doesn't have the same name (vpn0 vs tun0)
- additional routes created don't have the same metric (50 vs 0)
- no default route is created with networkmanager
I guess the plugin relies on networkmanager own configuration logic, whereas openconnect relies on /etc/vpnc/vpnc-script
Another minor issue: the plugin doesn't allow to pass additional advanced options, such as 'user' parameter, to openconnect.