Revision 1 as of 2017-04-10 09:01:39

Clear message

Set Up a VPN Connection to the ETH using Network-Manager in Gnome

This illustrated guide explain how to connect to configure and start a VPN tunnel to the VPN-gateway of ETHZ using Network-Manager in gnome.

Enter Configuration Menu

To set up a new VPN connection in gnome click on the Network-Manager applet, and select VPN Connections -> Configure VPN.

01_config_vpn.png

A new dialog window opens. Select Add to add a new VPN connection.

Note: If the "Add" button is greyed out or if you can only find the entry "Point-to-Point Tunneling Protocol (PPTP)" after clicking on "Add", please install the package network-manager-vpnc-gnome by issuing

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

in the shell.

02_config_vpn.png

Configure VPN Service

Now you can configure the VPN Service. You need the following data:

Connect to / Service : vpnc

Connection name: ethz (feel free to choose something else if you want to)

Gateway: vpn-cluster.ethz.ch or sslvpn.ethz.ch

Group Name: ETHZ-spezial

User Name: your N.ETHZ user name

After entering all the needed informations, you can apply the settings.

Graphical Dialogs in Gnome

In the graphical dialogs it look like follows:

03_config_vpn.png

04_config_vpn.png

05_config_vpn.png

If the VPN connection "my_vpn_ethz" does not show up in the list after saving the vpn configuration (see screenshot below), please restart your computer.

06_vpn_not_showing.png

Connect to VPN Service

After you have configured the VPN Service, you can activate it in Network-Manager.

07_starting_vpn.png

Probably you will be asked to enter your password and and the group password.

Password: Your N.ETHZ password

Group Password: see https://linux.ee.ethz.ch/VpnData (login with your n.ethz login first)

08_starting_vpn_pwds.png

Now, the VPN service is started. This is indicated by the network manager icon:

09_vpn_success2.png .

Note: To simplify this configuration our isgee-vpnc-ethz packages provides a file ETHZ.pcf under /usr/share/isgee-vpnc-ethz/ETHZ.pcf which you can import in the above dialog box and then continue with the configuration.

Troubleshooting the VPN Connection

VPN connection failed. Connection was not provided by any settings service

Make sure the checkbox "Available for all users" is not checked. Restart the pc after unchecking that checkbox.

Below you can see a screenshot of a working vpn configuration on Ubuntu 11.04:

vpnc-connection-11.04.png