Changes for page VPN
Last modified by Aysegül Omus on 2025/01/31 12:25
From version 2.1
edited by Aysegül Omus
on 2023/12/28 14:21
on 2023/12/28 14:21
Change comment:
There is no comment for this version
To version 4.1
edited by Aysegül Omus
on 2024/01/08 14:57
on 2024/01/08 14:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -= Setting up a VPN connection to a Chair in the I nformatics/MathematicsDepartment =1 += Setting up a VPN connection to a Chair in the CIT Departments = 2 2 3 3 4 4 ... ... @@ -9,18 +9,18 @@ 9 9 10 10 === 1.1 Activation and configuration file === 11 11 12 -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.12 +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 get in touch with your Chair admin or IT supervisor. These are ultimately also responsible for the configuration, RBG only takes over the operation and consultation. 13 13 14 -The Access must be activated for each user by the chair admin, the configuration file will be f ind14 +The Access must be activated for each user by the chair admin, the configuration file will be found [[here>>https://vpn.in.tum.de]]. 15 15 16 -**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,andthe VPN usually uses a UDP connection and UDP is completely blocked in most networks.16 +**Please note**: A connection to the VPN can only be established from **outside** the respective chair network (for example, the networks configured in the VPN). On the one hand, since a connection would create double routes, the VPN usually uses a UDP connection and UDP is completely blocked in most networks. 17 17 18 18 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). 19 19 20 20 === 1.2 Login and password === 21 21 22 -**Login**: RBGaccount (e.g. musterma)23 -**password**: RBGpassword22 +**Login**: CIT account (e.g. musterma) 23 +**password**: CIT password 24 24 25 25 === 1.3 Required Software === 26 26 ... ... @@ -28,7 +28,7 @@ 28 28 29 29 macOS: [[Tunnelblick>>https://tunnelblick.net/]] 30 30 31 -Otherwise the software openvpn-client must be downloaded and installed: 31 +Otherwise, the software openvpn-client must be downloaded and installed: 32 32 33 33 Windows: [[OpenVPN for Windows>>https://openvpn.net/index.php/open-source/downloads.html]] 34 34 ... ... @@ -42,29 +42,30 @@ 42 42 43 43 [[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNinstallWindows.png||height="1008" width="1426"]] 44 44 45 -Copy the OVPN-file (as described [[here>>Informatik.Helpdesk.Vpn||anchor="A_1.1._Freischaltung_und_Konfigurationsdatei"]]) ito the config folder. Usually ist is to be found here: C:\Program Files\OpenVPN\config45 +Copy the OVPN-file (as described [[here>>Informatik.Helpdesk.Vpn||anchor="A_1.1._Freischaltung_und_Konfigurationsdatei"]]) to the config folder. Usually, it is to be found here: C:\Program Files\OpenVPN\config 46 46 47 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindowsConfig.png||height=" 338" width="1094"]]47 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindowsConfig.png||height="126" width="409"]] 48 48 49 -Launch the VPN -client via the desktop icon. (it may already been launched, which will result in a corresponding message).49 +Launch the VPN client via the desktop icon. (it may have already been launched, which will result in a corresponding message). 50 50 51 51 [[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsIcon.png||height="104" width="135"]] 52 52 53 -Right connect53 +Right-click the OpenVPN Icon on the taskbar and choose Connect. 54 54 55 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindwosConnect.png||height=" 355" width="498"]]55 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindwosConnect.png||height="287" width="402"]] 56 56 57 -Enter your credentials (without @i n.tum.de or @ma.tum.de)57 +Enter your credentials (without @cit.tum.de) 58 58 59 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsLogin.png||height=" 493" width="702"]]59 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsLogin.png||height="286" width="407"]] 60 60 61 -Your connection should be established now, as indicated by a green OpenVPN icon in the task bar. 62 62 63 - [[image:Screenshot2020-03-20at13.48.37.png||width="800"]]62 +Your connection should be established now, as indicated by a green OpenVPN icon in the taskbar. 64 64 64 +[[image:Screenshot 2020-03-20 at 13.48.37.png||height="86" width="84"]] 65 + 65 65 == 3. macOS: == 66 66 67 -If you have not installed Tunnelblick, you can download [[here>>https://tunnelblick.net/]] and install it. 68 +If you have not installed Tunnelblick, you can download it [[here>>https://tunnelblick.net/]] and install it. 68 68 69 69 **Note**: Access must be activated for each user by the chair administrator, the configuration file is available from https://vpn.in.tum.de. 70 70 ... ... @@ -71,25 +71,25 @@ 71 71 72 72 Open the page https://vpn.in.tum.de and search for your chair in the list. 73 73 74 -[[image:openvpnstandard.png||width=" 800"]]75 +[[image:openvpnstandard.png||height="143" width="376"]] 75 75 76 76 77 77 78 -Right 79 +Right-click on the configuration file (standard, legacy, ios) and select **Save the file as ...** off. 79 79 80 -[[image:vpndownloadovpn.png||width=" 800"]]81 +[[image:vpndownloadovpn.png||height="141" width="374"]] 81 81 82 82 \\ 83 83 84 84 Select the location of the file. 85 85 86 -[[image:openvpnsave.png||width=" 800"]]87 +[[image:openvpnsave.png||height="173" width="372"]] 87 87 88 88 89 89 90 90 The file was saved as a .txt file. Delete the ending .txt. 91 91 92 -[[image:openvpnrename.png||width=" 800"]]93 +[[image:openvpnrename.png||height="213" width="369"]] 93 93 94 94 95 95 ... ... @@ -96,13 +96,13 @@ 96 96 97 97 Open the configuration file with a double click or with the right mouse button as below. 98 98 99 -[[image:openvpnopenwith.png||width=" 800"]]100 +[[image:openvpnopenwith.png||height="142" width="371"]] 100 100 101 101 102 102 103 103 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. 104 104 105 -[[image:openvpnonlyme.png||width=" 800"]]106 +[[image:openvpnonlyme.png||height="142" width="375"]] 106 106 107 107 108 108 ... ... @@ -109,7 +109,7 @@ 109 109 110 110 Enter the system password to confirm the installation. 111 111 112 -[[image:openvpninstallconfiguration.png||width="8 00"]]113 +[[image:openvpninstallconfiguration.png||height="243" width="368"]] 113 113 114 114 115 115 ... ... @@ -116,7 +116,7 @@ 116 116 117 117 When the configuration file has been installed, the following window appears in the upper right corner: 118 118 119 -[[image:openvpnsuccessfullyinstalled.png||width=" 800"]]120 +[[image:openvpnsuccessfullyinstalled.png||height="70" width="376"]] 120 120 121 121 122 122 ... ... @@ -123,13 +123,13 @@ 123 123 124 124 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. 125 125 126 -[[image:connectopenvpn.png||width="8 00"]]127 +[[image:connectopenvpn.png||height="248" width="378"]] 127 127 128 128 \\ 129 129 130 - Finally, enter the RBGID (without @n.tum.de or without @ma.tum.de) and theRBGpassword in the opened window and click on **OK**.131 + Finally, enter the CIT ID (without @cit.tum.de) and the CIT password in the opened window and click on **OK**. 131 131 132 -[[image:openvpnlogin.png||width=" 800"]]133 +[[image:openvpnlogin.png||height="244" width="379"]] 133 133 134 134 135 135 ... ... @@ -136,28 +136,24 @@ 136 136 137 137 When the connection is established the Tunnelblick symbol is white as can be seen in the screenshot below. 138 138 139 -[[image:Screenshot 2020-03-20 at 13.53.25.png||width=" 800"]]140 +[[image:Screenshot 2020-03-20 at 13.53.25.png||height="142" width="164"]] 140 140 141 141 142 142 143 - 144 - 145 - 146 - 147 147 == 4. Linux: == 148 148 149 149 Save the configuration file, e.g. to the Home folder. 150 - In the terminal, go to this directory and execute this command 147 + In the terminal, go to this directory and execute this command: sudo openvpn Configuration file, e.g. for group XXX: 151 151 {{{sudo openvpn vpnxxx.ovpn }}} 152 -Then enter the RBGID (without @in.tum.de or without @ma.tum.de) and theRBGpassword.149 +Then enter the CIT ID (without @cit.tum.de) and the CIT password. 153 153 154 -=== 4.1 Import VPN profile into networkmanager === 151 +=== 4.1 Import VPN profile into network manager === 155 155 156 156 The RBG VPN profile can be imported either via the Gui or via the command line. 157 157 158 158 ==== 4.1.1 Via the GUI tool nm-connection-editor: ==== 159 159 160 -Right-click on the nm applet and click on **Edit connections** 157 +Right-click on the nm applet and click on **Edit connections**: Then choose **Add** and then **Import a saved one VPN configuration**. 161 161 162 162 ==== 4.1.2 Via the terminal: ==== 163 163 ... ... @@ -166,7 +166,7 @@ 166 166 === 4.2 Possible Problems === 167 167 168 168 It is possible, that openvpn has problems with Ubuntu. 169 - The Problem is that in the networkmanager from the openvpn plugin in the settingspage this thing has to be activated: {{html wiki="true"}}<strong>''Use this connection only for resources on its network''</strong>{{/html}}. When activated there is no possible {{html wiki="true"}}<strong>defaultgateway</strong>{{/html}}. Although the RBG VPN has no defaultgateway, thinks the networkmanager, that there is one and so is the problem losed166 + The problem is that in the network manager from the openvpn plugin in the settings page, this thing has to be activated: {{html wiki="true"}}<strong>''Use this connection only for resources on its network''</strong>{{/html}}. When activated there is no possible {{html wiki="true"}}<strong>defaultgateway</strong>{{/html}}. Although the RBG VPN has no default gateway, thinks the network manager, that there is one and so is the problem lost 170 170 171 171 172 172 [[image:vpnipv4.jpg.png||width="900"]] ... ... @@ -179,7 +179,7 @@ 179 179 180 180 === 5.1 Multiple VPNs === 181 181 182 -{{html wiki="true"}}<span style='background-color: transparent; color: #000000; font-size: small;' >In Windows with multiple simultaneous</span>{{/html}}OpenVPN{{html wiki="true"}}<span style='background-color: transparent; color: #000000; font-size: small;' > a connections another TAP device must be added.</span>{{/html}} 179 +{{html wiki="true"}}<span style='background-color: transparent; color: #000000; font-size: small;' >In Windows with multiple simultaneous</span>{{/html}} OpenVPN {{html wiki="true"}}<span style='background-color: transparent; color: #000000; font-size: small;' > a connections another TAP device must be added.</span>{{/html}} 183 183 184 184 Windows 7: 185 185