wiki.in.tum.de
Technische Universität München
You are here: Foswiki>Informatik/Helpdesk Web>Vpn (14 Jan 2022, NicoGregerGe25got)Edit Attach

Setting up a VPN connection to a Chair in the Informatics /Mathematics Department

1. General

1.1 Activation and configuration file

A VPN is available for each chair (as well as service offices etc.). However, the VPN must first be set up with the cooperation of the Chair admin or IT supervisor. If you want to get VPN access, please contact your Chair admin or IT supervisor. These are ultimately also responsible for the configuration, RBG only takes over the operation and consultation.

The Access must be activated for each user by the chair admin, the configuration file will be find here.

Please note: A connection to the VPN can only be established from outside the respective chair network (for example the networks which are configured in the VPN). On the one hand, since a connection would create double routes, and the VPN usually uses a UDP connection and UDP is completely blocked in most networks.

The VPN does not allow a direct connection to the Internet. Under Windows, access to the Internet should be possible via the direct network connection of the computer; under Linux, either the web proxy (proxy.in.tum.de) can be used or the routing table must be set so that the VPN is only used for routes provided by the VPN (no default route to the VPN).

1.2 Login and password

Login: RBG account (e.g. musterma)
password: RBG password

1.3 Required Software

On the Mac we recommend Tunnelblick:

macOS: Tunnelblick

Otherwise the software openvpn-client must be downloaded and installed:

Windows: OpenVPN for Windows

Ubuntu: sudo apt-get install openvpn

2. Windows:

Install the OpenVPN-Client software that can be found here:: https://openvpn.net/community-downloads/

Start the installer:

OpenVPNinstallWindows.png

Copy the OVPN-file (as described here) ito the config folder. Usually ist is to be found here: C:\Program Files\OpenVPN\config

OpenVPNWindowsConfig.png

Launch the VPN-client via the desktop icon. (it may already been launched, which will result in a corresponding message).

OpenVPNwindowsIcon.png

Right click the OpenVPN Icon on the task bar and choose connect

OpenVPNWindwosConnect.png

Enter your credentials (without @in.tum.de or @ma.tum.de)

OpenVPNwindowsLogin.png

Your connection should be established now, as indicated by a green OpenVPN icon in the task bar.

Screenshot 2020-03-20 at 13.48.37.png

3. macOS:

If you have not installed Tunnelblick, you can download here and install it.

Note: Access must be activated for each user by the chair administrator, the configuration file is available from https://vpn.in.tum.de.

Open the page https://vpn.in.tum.de and search for your chair in the list.

openvpnstandard.png


Right click on the configuration file (standard, legacy, ios) and select Save the file as ... off.

vpndownloadovpn.png


Select the location of the file.

openvpnsave.png


The file was saved as a .txt file. Delete the ending .txt.

openvpnrename.png




Open the configuration file with a double click or with the right mouse button as below.

openvpnopenwith.png


You can choose whether the configuration file should be installed for all users of the laptop or only for the current user, i.e. for you.

openvpnonlyme.png




Enter the system password to confirm the installation.

openvpninstallconfiguration.png




When the configuration file has been installed, the following window appears in the upper right corner:

openvpnsuccessfullyinstalled.png




You will see a tunnel symbol when the program has started. Next, you can click it and select Connect vpn-xxx-standard to connect to the VPN.

connectopenvpn.png


Finally, enter the RBG ID (without @ in.tum.de or without @ ma.tum.de) and the RBG password in the opened window and click on OK.

openvpnlogin.png




When the connection is established the Tunnelblick symbol is white as can be seen in the screenshot below.

Screenshot 2020-03-20 at 13.53.25.png


4. Linux:

Save the configuration file, e.g. to the Home folder.
In the terminal, go to this directory and execute this command : sudo openvpn Configuration file, e.g. for group XXX:
 sudo openvpn vpnxxx.ovpn   
Then enter the RBG ID (without @in.tum.de or without @ma.tum.de) and the RBG password.

4.1 Import VPN profile into networkmanager

The RBG VPN profile can be imported either via the Gui or via the command line.

4.1.1 Via the GUI tool nm-connection-editor:

Right-click on the nm applet and click on Edit connections : Then choose Add and then Import a saved one VPN configuration.

4.1.2 Via the terminal:

Enter the following command in the terminal: nmcli connection import type openvpn file ~ / vpn-rbg-standard.ovpn

4.2 Possible Problems

It is possible, that openvpn has problems with Ubuntu.
The Problem is that in the networkmanager from the openvpn plugin in the settingspage this thing has to be activated: ''Use this connection only for resources on its network''. When activated there is no possible defaultgateway. Although the RBG VPN has no defaultgateway, thinks the networkmanager, that there is one and so is the problem losed

vpnipv4.jpg.png

The same has to be done for the IPv6 Settings.

vpnipv6.png

5. Special cases

5.1 Multiple VPNs

In Windows with multiple simultaneous OpenVPN a connections another TAP device must be added.

Windows 7:
  • add hdwwiz.exe (Add Hardware Wizard) to be able to add a new hardware component.
  • Manually select the hardware from the list (advanced setting), leave the settings at Show all components, click on *Installation media available*
  • The path for the driver is: C:\Program Files\TAP-Windows\driver
  • TAP-Windows Select Adapter V9
all Windows versions:

Run the following in an administrator shell: | C:\Program Files\TAP-Windows\bin\tapinstall install C:\Program Files\TAP-Windows\driver\OemVista.inf tap0901 |.

Topic attachments
I Attachment Action Size DateSorted ascending Who Comment
windowscopydata.pngpng windowscopydata.png manage 82 K 22 Sep 2015 - 13:18 AyseguelOmusNe63guq windowscopydata
windowsopenopenvpndata.pngpng windowsopenopenvpndata.png manage 92 K 22 Sep 2015 - 13:31 AyseguelOmusNe63guq windowsopenvpndata
macconnect.pngpng macconnect.png manage 88 K 22 Sep 2015 - 13:32 AyseguelOmusNe63guq macconnect
windowsconnectopenvpn.pngpng windowsconnectopenvpn.png manage 490 K 22 Sep 2015 - 13:32 AyseguelOmusNe63guq windowsconnectopenvpn
macopenovpn2.pngpng macopenovpn2.png manage 72 K 22 Sep 2015 - 14:02 AyseguelOmusNe63guq macopenvpn2
macopenovpn.pngpng macopenovpn.png manage 67 K 23 Sep 2015 - 11:43 AyseguelOmusNe63guq openvpn
macopenovpn_copy.pngpng macopenovpn_copy.png manage 33 K 23 Sep 2015 - 11:55 AyseguelOmusNe63guq macopenvpn
Macconnect.pngpng Macconnect.png manage 88 K 23 Sep 2015 - 12:00 AyseguelOmusNe63guq macconnectneu
macpasswort.pngpng macpasswort.png manage 46 K 23 Sep 2015 - 12:00 AyseguelOmusNe63guq macpasswort
windowsconfigfileconfigordner.pngpng windowsconfigfileconfigordner.png manage 61 K 23 Sep 2015 - 12:01 AyseguelOmusNe63guq windowsconfigordner
windowsalsadministratorausführen.pngpng windowsalsadministratorausführen.png manage 207 K 23 Sep 2015 - 12:02 AyseguelOmusNe63guq windowsadministrator
windowsconnectedvpn.pngpng windowsconnectedvpn.png manage 9 K 23 Sep 2015 - 12:02 AyseguelOmusNe63guq windowsconnectedvpn
windowsopenvpneinstellungen.pngpng windowsopenvpneinstellungen.png manage 125 K 23 Sep 2015 - 12:02 AyseguelOmusNe63guq windowseinstellung
windowsconnect.pngpng windowsconnect.png manage 54 K 23 Sep 2015 - 12:42 AyseguelOmusNe63guq windowsconnectneu
windowsalsadministratorausführen.pngpng windowsalsadministratorausführen.png manage 72 K 23 Sep 2015 - 13:11 AyseguelOmusNe63guq windowsadmin
windowspasswort.pngpng windowspasswort.png manage 124 K 23 Sep 2015 - 14:43 AyseguelOmusNe63guq windowspasswortneu
VPNGUI.ps1ps1 VPNGUI.ps1 manage 4 K 22 Nov 2016 - 12:00 HenrikNoackNe24yev Script to access the VPN-Service an non-admin user
RBG_VPN.lnklnk RBG_VPN.lnk manage 1 K 22 Nov 2016 - 12:05 HenrikNoackNe24yev Link to start the VPNGUI-Script
vpn10.pngpng vpn10.png manage 19 K 17 May 2019 - 13:53 SofianeYaicheGa94foh  
vpn1.pngpng vpn1.png manage 17 K 17 May 2019 - 13:55 SofianeYaicheGa94foh  
vpn2.pngpng vpn2.png manage 20 K 17 May 2019 - 13:57 SofianeYaicheGa94foh  
vpn3.pngpng vpn3.png manage 17 K 17 May 2019 - 13:57 SofianeYaicheGa94foh  
vpn4.pngpng vpn4.png manage 41 K 17 May 2019 - 13:58 SofianeYaicheGa94foh  
vpn6.pngpng vpn6.png manage 16 K 17 May 2019 - 13:58 SofianeYaicheGa94foh  
vpn11.pngpng vpn11.png manage 333 K 17 May 2019 - 14:06 SofianeYaicheGa94foh  
vpn8.pngpng vpn8.png manage 9 K 17 May 2019 - 14:07 SofianeYaicheGa94foh  
windows1.pngpng windows1.png manage 45 K 11 Dec 2019 - 14:48 DianaAlInayaGa58kix  
windows2.pngpng windows2.png manage 97 K 11 Dec 2019 - 14:51 DianaAlInayaGa58kix  
windows3.pngpng windows3.png manage 53 K 11 Dec 2019 - 14:52 DianaAlInayaGa58kix  
windows5.pngpng windows5.png manage 95 K 11 Dec 2019 - 14:56 DianaAlInayaGa58kix  
windows6.pngpng windows6.png manage 2 K 11 Dec 2019 - 15:01 DianaAlInayaGa58kix  
windows10_1.pngpng windows10_1.png manage 78 K 11 Dec 2019 - 15:05 DianaAlInayaGa58kix  
windows10_2.pngpng windows10_2.png manage 85 K 11 Dec 2019 - 15:05 DianaAlInayaGa58kix  
windows10_3.pngpng windows10_3.png manage 65 K 11 Dec 2019 - 15:05 DianaAlInayaGa58kix  
windows10_5.pngpng windows10_5.png manage 21 K 11 Dec 2019 - 15:05 DianaAlInayaGa58kix  
windows4.pngpng windows4.png manage 36 K 11 Dec 2019 - 15:05 DianaAlInayaGa58kix  
windows10_4.pngpng windows10_4.png manage 81 K 11 Dec 2019 - 15:09 DianaAlInayaGa58kix  
windows10_6.pngpng windows10_6.png manage 46 K 11 Dec 2019 - 15:10 DianaAlInayaGa58kix  
windows10_7.pngpng windows10_7.png manage 202 K 11 Dec 2019 - 15:12 DianaAlInayaGa58kix  
windows10_8.pngpng windows10_8.png manage 15 K 11 Dec 2019 - 15:18 DianaAlInayaGa58kix  
mac1.pngpng mac1.png manage 23 K 11 Dec 2019 - 15:28 DianaAlInayaGa58kix  
mac2.pngpng mac2.png manage 38 K 11 Dec 2019 - 15:29 DianaAlInayaGa58kix  
mac3.pngpng mac3.png manage 69 K 11 Dec 2019 - 15:30 DianaAlInayaGa58kix  
OpenVPNwindowsLogin.pngpng OpenVPNwindowsLogin.png manage 136 K 12 Mar 2020 - 15:53 HenrikNoackNe24yev  
OpenVPNWindowsConfig.pngpng OpenVPNWindowsConfig.png manage 75 K 12 Mar 2020 - 15:54 HenrikNoackNe24yev  
OpenVPNwindowsIcon.pngpng OpenVPNwindowsIcon.png manage 19 K 12 Mar 2020 - 15:54 HenrikNoackNe24yev  
OpenVPNWindwosConnect.pngpng OpenVPNWindwosConnect.png manage 66 K 12 Mar 2020 - 15:54 HenrikNoackNe24yev  
OpenVPNinstallWindows.pngpng OpenVPNinstallWindows.png manage 202 K 12 Mar 2020 - 15:55 HenrikNoackNe24yev  
15846107674159435.pngpng 15846107674159435.png manage 124 K 19 Mar 2020 - 10:55 NicolasArteagaGarciaGe69lir  
vpnipv4.jpg.pngpng vpnipv4.jpg.png manage 81 K 19 Mar 2020 - 15:17 AyseguelOmusNe63guq  
vpnipv6.pngpng vpnipv6.png manage 118 K 19 Mar 2020 - 15:17 AyseguelOmusNe63guq  
Screenshot 2020-03-20 at 13.48.37.pngpng Screenshot 2020-03-20 at 13.48.37.png manage 4 K 20 Mar 2020 - 12:51 AyseguelOmusNe63guq  
Screenshot 2020-03-20 at 13.53.25.pngpng Screenshot 2020-03-20 at 13.53.25.png manage 8 K 20 Mar 2020 - 12:54 AyseguelOmusNe63guq  
openvpnstandard.pngpng openvpnstandard.png manage 97 K 16 Apr 2020 - 14:06 AyseguelOmusNe63guq  
vpndownloadovpn.pngpng vpndownloadovpn.png manage 373 K 16 Apr 2020 - 14:06 AyseguelOmusNe63guq  
openvpnopenwith.pngpng openvpnopenwith.png manage 626 K 16 Apr 2020 - 14:07 AyseguelOmusNe63guq  
openvpnrename.pngpng openvpnrename.png manage 553 K 16 Apr 2020 - 14:07 AyseguelOmusNe63guq  
openvpnsave.pngpng openvpnsave.png manage 200 K 16 Apr 2020 - 14:07 AyseguelOmusNe63guq  
openvpnonlyme.pngpng openvpnonlyme.png manage 54 K 16 Apr 2020 - 14:27 AyseguelOmusNe63guq  
openvpninstallconfiguration.pngpng openvpninstallconfiguration.png manage 65 K 16 Apr 2020 - 14:29 AyseguelOmusNe63guq  
connectopenvpn.pngpng connectopenvpn.png manage 176 K 16 Apr 2020 - 14:31 AyseguelOmusNe63guq  
openvpnsuccessfullyinstalled.pngpng openvpnsuccessfullyinstalled.png manage 29 K 16 Apr 2020 - 14:31 AyseguelOmusNe63guq  
Screenshot 2020-04-16 at 16.17.06.pngpng Screenshot 2020-04-16 at 16.17.06.png manage 98 K 16 Apr 2020 - 14:36 AyseguelOmusNe63guq  
openvpnlogin.pngpng openvpnlogin.png manage 89 K 16 Apr 2020 - 14:38 AyseguelOmusNe63guq  
Topic revision: r33 - 14 Jan 2022, NicoGregerGe25got
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback