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

Bounty: 50

I want to access my personal network drive at my university via VPN from home. In the past I have been using NetworkManager for this what worked completely fine. However, 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 a graphical input mask available to set up a VPN-connection in ConnMan‘s CMST interface.

The previous (successfully working) VPN configuration from 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 config from NetworkManager was using a so called CSD-wrapper from Cisco.

The challenge in ConnMan now is: When creating the necessary VPN provisioning file which variant of OpenConnect do I have to select to match the upper specifications? 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 previous configuration of the NetworkManager config? 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.