Cisco VPN client on Ubuntu 16.04 LTS [closed]
Asked Answered
P

3

36

I am trying to install Cisco VPN Client on Ubuntu, but I am facing problems. So How can I install it on Ubuntu 16.04 LTS ?

Plafker answered 20/5, 2016 at 13:34 Comment(2)
I think askubuntu.com or superuser.com would have been better places to ask this question.Harpp
That's probably true but this is already indexed on Google and has the right answer, so let it rideCecilius
P
88

Run

sudo apt-get install network-manager-vpnc network-manager-vpnc-gnome

Then open network manager and add a new VPN, it should show Cisco Compatible VPN in your list now.

Pudency answered 20/5, 2016 at 14:48 Comment(3)
So glad I found this. Bookmarked! Works on 16.10.Kitchenmaid
to support the anyconnect protocol, also do: sudo apt-get install network-manager-openconnect-gnomeTonatonal
Is it still possible to import the configuration from pcf file?Grill
A
1

I was using the Cisco AnyConnect Client for Linux during the last months, which was in general working, but had a few major bugs. Most important: whenever you disconnected (also by just switching to another network), you would have to completely restart the computer to make the VPN work again.

I now switched to the open source client called OpenConnect, which is compatible with Cisco's AnyConnect SSL VPN but just works a lot more reliable. To install and enable the VPN, have a look at this: https://people.eng.unimelb.edu.au/lucasjb/oc.html

Edit: just saw that OpenConnect was already proposed in a comment. Leave this answer here as it provides some additional information and a step-by-step manual

Ailin answered 17/4, 2019 at 9:21 Comment(0)
O
1

OpenConnect offers an opensource command line alternative to Cisco's GUI:

echo "password" | sudo openconnect server --user=username --passwd-on-stdin

See here for more details/source I blatantly stole this answer from: https://askubuntu.com/questions/1043024/how-to-run-openconnect-with-username-and-password-in-a-line-in-the-terminal

Install info here: http://ubuntuhandbook.org/index.php/2014/11/connect-cisco-anyconnect-vpn-ubuntu/

  1. First run command below to active the TUN module (I didn't need this in Ubuntu 18.04.3 LTS):

sudo /sbin/modprobe tun

  1. Install OpenConnect:

sudo apt-get install openconnect

  1. Run command above or:

sudo openconnect SERVERADDR

Oneself answered 22/1, 2020 at 5:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.