8

Is there a Debian/Ubuntu equivalent package of the Cisco Anyconnect vpn client? If so then how do I install and use it?

1

2 Answers 2

7

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).

1
  • 2
    There are also OpenConnect plugins for Network Manager that may make it easier to setup.
    – earthmeLon
    Nov 30, 2016 at 19:11
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .