Differences between revisions 2 and 3
Revision 2 as of 2017-04-10 09:04:22
Size: 2891
Editor: alders
Comment:
Revision 3 as of 2020-09-10 07:07:34
Size: 0
Editor: hgiger
Comment: Obsolete
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<TableOfContents(2)>>

= 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''.

{{attachment: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.
 
{{attachment: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:

{{attachment:03_config_vpn.png}}

{{attachment:04_config_vpn.png}}

{{attachment: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.

{{attachment:06_vpn_not_showing.png}}

== Connect to VPN Service ==

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

{{attachment: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://www.ethz.ch/content/dam/ethz/associates/services/Service/IT-Services/files/internal/vpn-secret-de.pdf|vpn-secret-de.pdf]] (login with your n.ethz login first)

{{attachment:08_starting_vpn_pwds.png}}

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

{{attachment: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:

{{attachment:vpnc-connection-11.04.png}}