snippetbashTip
openconnect — A VPN client, for Cisco AnyConnect VPNs and others. More information: <https://www.infradead.org/ope
Viewed 0 times
commandclientopenconnectclivpnciscoanyconnectfor
Problem
How to use the
openconnect command: A VPN client, for Cisco AnyConnect VPNs and others. More information: <https://www.infradead.org/openconnect/manual.html>.Solution
openconnect — A VPN client, for Cisco AnyConnect VPNs and others. More information: <https://www.infradead.org/openconnect/manual.html>.Connect to a server:
openconnect {{vpn.example.org}}Connect to a server, forking into the background:
openconnect --background {{vpn.example.org}}Terminate the connection that is running in the background:
killall -SIGINT openconnectConnect to a server, reading options from a configuration file:
openconnect --config={{path/to/file}} {{vpn.example.org}}Connect to a server and authenticate with a specific SSL client certificate:
openconnect --certificate={{path/to/file}} {{vpn.example.org}}Code Snippets
Connect to a server
openconnect {{vpn.example.org}}Connect to a server, forking into the background
openconnect --background {{vpn.example.org}}Terminate the connection that is running in the background
killall -SIGINT openconnectConnect to a server, reading options from a configuration file
openconnect --config={{path/to/file}} {{vpn.example.org}}Connect to a server and authenticate with a specific SSL client certificate
openconnect --certificate={{path/to/file}} {{vpn.example.org}}Context
tldr-pages: common/openconnect
Revisions (0)
No revisions yet.