Differences between revisions 4 and 5
Revision 4 as of 2020-09-09 06:06:43
Size: 3033
Editor: hgiger
Comment:
Revision 5 as of 2020-09-10 07:13:50
Size: 0
Editor: hgiger
Comment: Obsolete
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#rev 2020-09-09 hgiger
<<TableOfContents(3)>>

= Set Up a VPN Connection to the ETH using Network-Manager in KDE =
This illustrated guide explain how to connect to configure and start a VPN tunnel to the VPN-gateway of ETHZ using ''Network-Manager'' in ''KDE''.

== Enter Configuration Menu ==
To set up a new VPN connection in ''KDE'' right click on the ''Network-Manager'' applet, and select ''Network Management Settings''

{{attachment:01_vpn_config.png}}

In the new window, switch to the tab "VPN". Click on ''Add...'' to add a new VPN connection.

{{attachment:02_vpn_config_n0_vpnc.png}}

If "vpnc" is not listed, you will have to install another package. Read on below...

=== Installing required packages ===

In the shell, run the following command: {{{ sudo apt-get install network-manager-vpnc-kde }}}

{{attachment:03_vpn_install_network_manager_vpnc_kde.png}}

This will install the missing "vpnc" option in the VPN menu

After the installation, you will have to restart the network manager. You can do so by running the command {{{ sudo invoke-rc.d network-manager restart }}}

{{attachment:04_vpn_restart_network_manager.png}}

== Configuring VPN ==

Now you can add and configure VPN.

You need the following data:

Connect to / Service : vpnc

Gateway: vpn-cluster.ethz.ch

Group Name: ETHZ-spezial

Also enable the ''Override user name'' checkbox and put your N.ETHZ user name in there.

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

=== Graphical Dialogs in KDE ===

In the graphical dialogs look like follows.

{{attachment:06_vpn_config.png}}

After saving the settings by clicking on OK, the configured VPN will show in the Network Management Settings:

{{attachment:07_vpn_saved.png}}

=== KDE Wallet ===

By default, KDE Wallet usually kicks in if a password needs to be entered, offering you to save it. You can do so by setings a master password for KDE Wallet. If you do not wish to use KDE Wallet at this point, just click on "Cancel"

== Connecting via VPN ==

After you have configured a VPN connection, you can activate it in ''Network-Manager''. Click on the Network Manager icon in the taskbar and click on your VPN connection:

{{attachment:08_vpn_starting.png}}

If you have not enteted and saved your n.ethz password and the group password, you will be asked for it. KDE Wallet might kick in as well which can be cancelled.

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:09_vpn_starting_pwds.png}}

If you entered the passwords correclty, the VPN service is started. Unfortunately, in KDE 4 there seems to be no indicator in the taskbar (or I couldn't find it...) but if you click on the Network Manager icon again, the VPN connection will be listed under interfaces:

{{attachment:10_vpn_success.png}}