#StackBounty: #debian #networking #networkmanager #vpn #openconnect ConnMan: How to set up OpenConnect VPN?

Bounty: 50

I want to access my personal network drive at my university from home. The belonging VPN-connection worked perfect in NetworkManager, but recently I moved to ConnMan and I don’t know very well how to set it up there.

Thanks to GAD3R I figured out there is an input mask available to set up a VPN-connection via GUI in ConnMan‘s CMST interface.

The previous (successfully working) VPN provisioning file for NetworkManager looked like that:

[openconnect]
Description=My Company
Host=vpngw2-out.net.provider.com
CACert=(null)
Protocol=anyconnect
Proxy=
CSDEnable=1
CSDWrapper=/home/user/.cisco/csd-wrapper.sh
UserCertificate=(null)
PrivateKey=(null)
FSID=0
StokenSource=disabled
StokenString=

However, this successfully working VPN provisioning file from NetworkManager was using a so called CSD-wrapper from Cisco.

The challenge in ConnMan now is: Which variant of OpenConnect do I have to select to match the upper specifications of the previous working NetworkManager provisioning file? When creating the new provisioning file via ConnManCMST there are several OpenConnect-options available:

  • Provider OpenConnect
  • OpenConnect.ServerCert
  • OpenConnect.CACert
  • OpenConnect.ClientCert
  • OpenConnect.MTU
  • OpenConnect.Cookie
  • OpenConnect.VPNHost

Which one do I have to choose to match the specifications of the NetworkManager provisioning file? Do I have to mention something special to include the csd-wrapper file in ConnMan?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.