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
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -V PN1 +Vpn - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.k ahraman1 +XWiki.wikibot - Content
-
... ... @@ -6,7 +6,6 @@ 6 6 7 7 8 8 == 1. General == 9 - 10 10 === 1.1 Activation and configuration file === 11 11 12 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. ... ... @@ -16,11 +16,10 @@ 16 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, and 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 - 20 20 === 1.2 Login and password === 21 21 22 22 **Login**: RBG account (e.g. musterma) 23 -**password**: RBG password 21 + **password**: RBG password 24 24 25 25 === 1.3 Required Software === 26 26 ... ... @@ -40,23 +40,23 @@ 40 40 41 41 Start the installer: 42 42 43 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNinstallWindows.png||height="1008" width="1426"]]41 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNinstallWindows.png|| width="1426" height="1008" alt=""]] 44 44 45 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\config 46 46 47 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindowsConfig.png||height="338" width="1094"]]45 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindowsConfig.png|| width="1094" height="338" alt=""]] 48 48 49 49 Launch the VPN-client via the desktop icon. (it may already been launched, which will result in a corresponding message). 50 50 51 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsIcon.png||height="104" width="135"]]49 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsIcon.png|| width="135" height="104" alt=""]] 52 52 53 53 Right click the OpenVPN Icon on the task bar and choose connect 54 54 55 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindwosConnect.png||height="355" width="498"]]53 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindwosConnect.png|| width="498" height="355" alt=""]] 56 56 57 57 Enter your credentials (without @in.tum.de or @ma.tum.de) 58 58 59 -[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsLogin.png||height="493" width="702"]]57 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsLogin.png|| width="702" height="493" alt=""]] 60 60 61 61 Your connection should be established now, as indicated by a green OpenVPN icon in the task bar. 62 62 ... ... @@ -71,8 +71,10 @@ 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"]] 72 +[[image:openvpnstandard.png||width="800"]] 75 75 74 + 75 + 76 76 77 77 78 78 Right click on the configuration file (standard, legacy, ios) and select **Save the file as ...** off. ... ... @@ -79,12 +79,15 @@ 79 79 80 80 [[image:vpndownloadovpn.png||width="800"]] 81 81 82 -\\ 82 + 83 + 83 83 84 84 Select the location of the file. 85 85 86 -[[image:openvpnsave.png||width="800"]] 87 +[[image:openvpnsave.png||width="800"]] 87 87 89 + 90 + 88 88 89 89 90 90 The file was saved as a .txt file. Delete the ending .txt. ... ... @@ -92,12 +92,16 @@ 92 92 [[image:openvpnrename.png||width="800"]] 93 93 94 94 98 + 99 + 95 95 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"]] 104 +[[image:openvpnopenwith.png||width="800"]] 100 100 106 + 107 + 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. ... ... @@ -105,6 +105,8 @@ 105 105 [[image:openvpnonlyme.png||width="800"]] 106 106 107 107 115 + 116 + 108 108 109 109 110 110 Enter the system password to confirm the installation. ... ... @@ -112,6 +112,8 @@ 112 112 [[image:openvpninstallconfiguration.png||width="800"]] 113 113 114 114 124 + 125 + 115 115 116 116 117 117 When the configuration file has been installed, the following window appears in the upper right corner: ... ... @@ -119,6 +119,8 @@ 119 119 [[image:openvpnsuccessfullyinstalled.png||width="800"]] 120 120 121 121 133 + 134 + 122 122 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,7 +125,8 @@ 125 125 126 126 [[image:connectopenvpn.png||width="800"]] 127 127 128 -\\ 141 + 142 + 129 129 130 130 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**. 131 131 ... ... @@ -132,6 +132,8 @@ 132 132 [[image:openvpnlogin.png||width="800"]] 133 133 134 134 149 + 150 + 135 135 136 136 137 137 When the connection is established the Tunnelblick symbol is white as can be seen in the screenshot below. ... ... @@ -148,7 +148,9 @@ 148 148 149 149 Save the configuration file, e.g. to the Home folder. 150 150 In the terminal, go to this directory and execute this command : sudo openvpn Configuration file, e.g. for group XXX: 151 -{{{sudo openvpn vpnxxx.ovpn }}} 167 +{{{ 168 + sudo openvpn vpnxxx.ovpn 169 +}}} 152 152 Then enter the RBG ID (without @in.tum.de or without @ma.tum.de) and the RBG password. 153 153 154 154 === 4.1 Import VPN profile into networkmanager === ... ... @@ -156,17 +156,18 @@ 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 - 160 160 Right-click on the nm applet and click on **Edit connections** : Then choose **Add** and then **Import a saved one VPN configuration**. 161 - 162 162 ==== 4.1.2 Via the terminal: ==== 179 +Enter the following command in the terminal: nmcli connection import type openvpn file ~ / vpn-rbg-standard.ovpn 163 163 164 -Enter the following command in the terminal: nmcli connection import type openvpn file / vpn-rbg-standard.ovpn 165 - 166 166 === 4.2 Possible Problems === 167 167 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 losed 183 +It is possible, that openvpn has problems with Ubuntu. 184 + The Problem is that in the networkmanager from the openvpn plugin in the settingspage this thing has to be activated: {{html wiki="true"}} 185 +<strong>''Use this connection only for resources on its network''</strong> 186 +{{/html}}. When activated there is no possible {{html wiki="true"}} 187 +<strong>defaultgateway</strong> 188 +{{/html}}. Although the RBG VPN has no defaultgateway, thinks the networkmanager, that there is one and so is the problem losed 170 170 171 171 172 172 [[image:vpnipv4.jpg.png||width="900"]] ... ... @@ -179,14 +179,29 @@ 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}} 201 +{{html wiki="true"}} 202 +<span style='background-color: transparent; color: #000000; font-size: small;' >In Windows with multiple simultaneous</span> 203 +{{/html}}OpenVPN{{html wiki="true"}} 204 +<span style='background-color: transparent; color: #000000; font-size: small;' > a connections another TAP device must be added.</span> 205 +{{/html}} 183 183 184 184 Windows 7: 185 - 186 -* {{html wiki="true"}}<span style='background-color: transparent;' > add **hdwwiz.exe** (Add Hardware Wizard) to be able to add a new hardware component.</span>{{/html}} 187 -* {{html wiki="true"}}<span style='background-color: transparent;' >Manually select the hardware from the list (advanced setting), leave the settings at **Show all components**, click on **Installation media available**</span>{{/html}} 188 -* {{html wiki="true"}}<span style='background-color: transparent;' >The path for the driver is:</span>{{/html}}{{html wiki="true"}}<span style='background-color: transparent;' >C:\Program Files\TAP-Windows\driver</span>{{/html}} 189 -* {{html wiki="true"}}<span style='background-color: transparent;' >TAP-Windows Select Adapter V9</span>{{/html}} 208 +* {{html wiki="true"}} 209 +<span style='background-color: transparent;' > add **hdwwiz.exe** (Add Hardware Wizard) to be able to add a new hardware component.</span> 210 +{{/html}} 211 +* {{html wiki="true"}} 212 +<span style='background-color: transparent;' >Manually select the hardware from the list (advanced setting), leave the settings at **Show all components**, click on **Installation media available**</span> 213 +{{/html}} 214 +* {{html wiki="true"}} 215 +<span style='background-color: transparent;' >The path for the driver is:</span> 216 +{{/html}}{{html wiki="true"}} 217 +<span style='background-color: transparent;' >C:\Program Files\TAP-Windows\driver</span> 218 +{{/html}} 219 +* {{html wiki="true"}} 220 +<span style='background-color: transparent;' >TAP-Windows Select Adapter V9</span> 221 +{{/html}} 190 190 all Windows versions: 191 191 192 192 Run the following in an administrator shell: | C:\Program Files\TAP-Windows\bin\tapinstall install C:\Program Files\TAP-Windows\driver\OemVista.inf tap0901 |. 225 + 226 +