Set-up and Use of Virtual Private Network under Linux

Cisco Anyconnect VPN

It is recommended to use the Cisco Anyconnect VPN client.
Optionally an Open Source solution can be used.

Open Source solution on Ubuntu

Installing network-manager-openconnect

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

Configuration

Open network settings and click on the plus symbol at the bottom left hand side.
Choose VPN and then select Cisco AnyConnect Compatible VPN (openconnect).
Give the connection a name and fill in asavpn.ugent.be as gateway.

Optional

In the network manager, click on the VPN connection and then on the settings icon on the bottom right hand side.
Click IPV4 and fill in the following for Routes:
Address: 157.193.0.0
Netmask: 255.255.0.0
Gateway 0.0.0.0
Enable "Use this connection only for resources on its network".

Restart the network services:
sudo service networking restart
sudo service network-manager restart

Remarks

top