To connect to campus network you have to install openconnect — the Open source version of the for Cisco VPN AnyConnect Client.
for Ubuntu /Debian I do:
apt-get install openconnect
or for RedHat/Fedora
yum install openconnect
Once installed do in terminal:
sudo openconnect --user=ax3333@coventry.ac.uk --no-dtls --authgroup='VPN' --no-cert-check anyconnect.coventry.ac.uk
where ax3333@coventry.ac.uk is your user name on CU network. You will be asked for Password (your University one), enter it.
Leave this terminal window running in a background, There are also OpenConnect plug-ins for NetworkManager, but CLI method described here is much simpler (AND WORKS!).
Then use CU Intranet or whatever (e.g. access license servers in CU private network).
GUI method (will not require sudo privileges to setup):
Install OpenConnect add-on for Network Manager (https://launchpad.net/ubuntu/+source/network-manager-openconnect) for Ubuntu:
apt install network-manager-openconnect
or
yum install NetworkManager-openconnect
for RedHat/CentOS.
Then you can add new VPN connection via NetworkManager GUI tool, similarly VPN server must be “anyconnect.coventry.ac.uk” , Group “VPN” (default), “accept all certificates”, use your Uni usrrname/password to connect to VPN.
Alex
With Ubuntu 17.04 and the newest version of openconnect the –no-cert-check flag is not accepted anymore. Errormessage: “The –no-cert-check option was insecure and has been removed. Fix your server’s certificate or use –servercert to trust it.”
Just leave the flag and it works again.
hey you need to change connect to anyconnect
indeed, since recently VPN gateway is called “anyconnect.coventry.ac.uk”