Is there a Debian/Ubuntu equivalent package of the Cisco Anyconnect vpn client? If so then how do I install and use it?
Asked
Active
Viewed 7,032 times
2 Answers
8
There is a package called openconnect which does the job. To install it:
sudo apt-get install openconnect vpnc
and to run it, so that you can access the restricted network (eg through your browser):
sudo openconnect vpn.hostname.com
and enter the username and password when prompted on the command line. Or to input them automatically all in one go:
echo 'the!!password' | sudo openconnect -u 'the!!username' --passwd-on-stdin vpn.hostname.com
To send the script to the background so that you can continue using the command line:
Ctrlz
then
bg
(for background).
Zanna
- 72,312
mulllhausen
- 440
0
openconnect-sso works well especially if the vpn provider/policy requires embedded browser login+MFA https://github.com/vlaci/openconnect-sso
without --user flag especially.
openconnect-sso -l debug --server bla -- --useragent=AnyConnect
Kokizzu
- 518