Connecting to a Cisco VPN from Linux
The folks at the new job are running a Cisco VPN. While it's very straight forward to connect using the AnyConnect client from Windows, the steps to do it in Linux are not so clear cut, because the AnyConnect client for Linux constantly drops the connection for me and won't hold it for more than 30 seconds. So, this is how you do it from a Debian-based Linux:
-
Install the "network-manager-openconnect-gnome" package
sudo apt-get install network-manager-openconnect-gnome
-
Open the Network Manager applet from the task bar
- Click on VPN Connections
-
Click Configure VPN...
-
Click the Add button
-
VPN Connection Type should be Cisco AnyConnect Compatible VPN
-
Enter a name for your connection
- Enter a value for the Gateway (IP or Host Name)
-
Click Save
-
Then go back to the Network Manager applet on the task bar
- Select VPN Connections and then select the one you just created
- On the Connect to VPN dialog, choose the VPN host and
- Click the Conect button
- Enter your Username and Password
- Lastly, click Login
This approach has been working really well and reliably for me and I hope it will for you too.
Comments
Comments powered by Disqus