OpenConnect Daemon allows a user to connect to a Cisco AnyConnect VPN. It uses openconnect, Linux policy-based routing and nftables to support static as well as DNS-based exclusion of traffic from the tunnel (split tunneling) and prevention of unprotected network access on untrusted networks (Always-On VPN). The OpenConnect Daemon runs as systemd service and the user interacts with it using the oc-client tool.
Please see Installation for installation instructions.
You can connect to the VPN with your current settings with:
$ oc-client
or
$ oc-client connect
You can list VPN servers in your XML profile (/var/lib/oc-daemon/profile.xml
)
with:
$ oc-client list
You can show the current status with:
$ oc-client status
You can disconnect the VPN with:
$ oc-client disconnect
Please see Usage for more usage and configuration information.
Please see the docs folder for user and development documentation.