Install VPN in Ubuntu

Ubuntu 14.04

$ sudo apt-get install network-manager-openconnect openconnect

Ubuntu 15.10

$ sudo apt-get install network-manager-openconnect-gnome

Ubuntu 16.04

Refer: https://support.onevpn.com/knowledgebase/linux-ubuntu-anyconnect/

The magic sauce was from rebooting after

$ sudo apt-get update
$ sudo apt-get install lib32z1 lib32ncurses5
$ sudo apt-get install network-manager-openconnect

Reboot and install vpnsetup.sh (zipped file)

$ sudo sh ./vpnsetup.sh

---

Ubuntu 16.04

Install this rpm (it's zipped): networkmanager-openconnect_1.1.93-1_amd64.deb

Refer: http://tomtomtom.org/networkmanager-openconnect/

Only need to changes this, and also used this for the connection name, and then save, get to these settings upper right-corner up/down arrow icons
Gateway: gateway.hollandamerica.com

---

Install with Chrome, Firefox seems to have issues accepting the plug-in and SSL certificate

https://gateway.hollandamerica.com/
https://faq.oit.gatech.edu/content/how-do-i-install-cisco-anyconnect-client-linux

If you have to uninstall a previous version first:
$ sudo /opt/cisco/vpn/bin/vpn_uninstall.sh

$ chmod 755 vpnsetup.sh
$ sudo ./vpnsetup.sh

Dash / Start menu
Cisco Anyconnect VPN

If you get this error message while trying to connect " AnyConnect cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network."

Try this:
$ sudo cp /etc/ssl/certs/* /opt/.cisco/certificates/ca

Leave a Reply