Changes for page VPN

Last modified by Aysegül Omus on 2025/01/31 12:25

From version 5.1
edited by Aysegül Omus
on 2025/01/31 12:25
Change comment: Renamed back-links.
To version 2.1
edited by Aysegül Omus
on 2023/12/28 14:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -= Setting up a VPN connection to a Chair in the CIT Departments =
1 += Setting up a VPN connection to a Chair in the Informatics /Mathematics Department =
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 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.
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.
13 13  
14 -The Access must be activated for each user by the chair admin, the configuration file will be found [[here>>https://vpn.in.tum.de]].
14 +The Access must be activated for each user by the chair admin, the configuration file will be find [[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 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.
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 19  
20 20  === 1.2 Login and password ===
21 21  
22 -**Login**: CIT account (e.g. musterma)
23 -**password**: CIT password
22 +**Login**: RBG account (e.g. musterma)
23 +**password**: RBG 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,30 +42,29 @@
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>>CIT.ITO.Docs.Guides.Helpdesk.Vpn.WebHome||anchor="A_1.1._Freischaltung_und_Konfigurationsdatei"]]) to the config folder. Usually, it is to be found here: C:\Program Files\OpenVPN\config
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="126" width="409"]]
47 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindowsConfig.png||height="338" width="1094"]]
48 48  
49 -Launch the VPN client via the desktop icon. (it may have already been launched, which will result in a corresponding message).
49 +Launch the VPN-client via the desktop icon. (it may 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-click the OpenVPN Icon on the taskbar and choose Connect.
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="287" width="402"]]
55 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNWindwosConnect.png||height="355" width="498"]]
56 56  
57 -Enter your credentials (without @cit.tum.de)
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="286" width="407"]]
59 +[[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/Vpn/WebHome/OpenVPNwindowsLogin.png||height="493" width="702"]]
60 60  
61 +Your connection should be established now, as indicated by a green OpenVPN icon in the task bar.
61 61  
62 -Your connection should be established now, as indicated by a green OpenVPN icon in the taskbar.
63 +[[image:Screenshot 2020-03-20 at 13.48.37.png||width="800"]]
63 63  
64 -[[image:Screenshot 2020-03-20 at 13.48.37.png||height="86" width="84"]]
65 -
66 66  == 3. macOS: ==
67 67  
68 -If you have not installed Tunnelblick, you can download it [[here>>https://tunnelblick.net/]] and install it.
67 +If you have not installed Tunnelblick, you can download [[here>>https://tunnelblick.net/]] and install it.
69 69  
70 70  **Note**: Access must be activated for each user by the chair administrator, the configuration file is available from https://vpn.in.tum.de.
71 71  
... ... @@ -72,25 +72,25 @@
72 72  
73 73  Open the page https://vpn.in.tum.de and search for your chair in the list.
74 74  
75 -[[image:openvpnstandard.png||height="143" width="376"]]
74 +[[image:openvpnstandard.png||width="800"]]
76 76  
77 77  
78 78  
79 -Right-click on the configuration file (standard, legacy, ios) and select **Save the file as ...** off.
78 +Right click on the configuration file (standard, legacy, ios) and select **Save the file as ...** off.
80 80  
81 -[[image:vpndownloadovpn.png||height="141" width="374"]]
80 +[[image:vpndownloadovpn.png||width="800"]]
82 82  
83 83  \\
84 84  
85 85  Select the location of the file.
86 86  
87 -[[image:openvpnsave.png||height="173" width="372"]]
86 +[[image:openvpnsave.png||width="800"]]
88 88  
89 89  
90 90  
91 91  The file was saved as a .txt file. Delete the ending .txt.
92 92  
93 -[[image:openvpnrename.png||height="213" width="369"]]
92 +[[image:openvpnrename.png||width="800"]]
94 94  
95 95  
96 96  
... ... @@ -97,13 +97,13 @@
97 97  
98 98  Open the configuration file with a double click or with the right mouse button as below.
99 99  
100 -[[image:openvpnopenwith.png||height="142" width="371"]]
99 +[[image:openvpnopenwith.png||width="800"]]
101 101  
102 102  
103 103  
104 104  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 105  
106 -[[image:openvpnonlyme.png||height="142" width="375"]]
105 +[[image:openvpnonlyme.png||width="800"]]
107 107  
108 108  
109 109  
... ... @@ -110,7 +110,7 @@
110 110  
111 111  Enter the system password to confirm the installation.
112 112  
113 -[[image:openvpninstallconfiguration.png||height="243" width="368"]]
112 +[[image:openvpninstallconfiguration.png||width="800"]]
114 114  
115 115  
116 116  
... ... @@ -117,7 +117,7 @@
117 117  
118 118  When the configuration file has been installed, the following window appears in the upper right corner:
119 119  
120 -[[image:openvpnsuccessfullyinstalled.png||height="70" width="376"]]
119 +[[image:openvpnsuccessfullyinstalled.png||width="800"]]
121 121  
122 122  
123 123  
... ... @@ -124,13 +124,13 @@
124 124  
125 125  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.
126 126  
127 -[[image:connectopenvpn.png||height="248" width="378"]]
126 +[[image:connectopenvpn.png||width="800"]]
128 128  
129 129  \\
130 130  
131 - Finally, enter the CIT ID (without @cit.tum.de) and the CIT password in the opened window and click on **OK**.
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**.
132 132  
133 -[[image:openvpnlogin.png||height="244" width="379"]]
132 +[[image:openvpnlogin.png||width="800"]]
134 134  
135 135  
136 136  
... ... @@ -137,24 +137,28 @@
137 137  
138 138  When the connection is established the Tunnelblick symbol is white as can be seen in the screenshot below.
139 139  
140 -[[image:Screenshot 2020-03-20 at 13.53.25.png||height="142" width="164"]]
139 +[[image:Screenshot 2020-03-20 at 13.53.25.png||width="800"]]
141 141  
142 142  
143 143  
143 +
144 +
145 +
146 +
144 144  == 4. Linux: ==
145 145  
146 146  Save the configuration file, e.g. to the Home folder.
147 - In the terminal, go to this directory and execute this command: sudo openvpn Configuration file, e.g. for group XXX:
150 + In the terminal, go to this directory and execute this command : sudo openvpn Configuration file, e.g. for group XXX:
148 148  {{{sudo openvpn vpnxxx.ovpn }}}
149 -Then enter the CIT ID (without @cit.tum.de) and the CIT password.
152 +Then enter the RBG ID (without @in.tum.de or without @ma.tum.de) and the RBG password.
150 150  
151 -=== 4.1 Import VPN profile into network manager ===
154 +=== 4.1 Import VPN profile into networkmanager ===
152 152  
153 153  The RBG VPN profile can be imported either via the Gui or via the command line.
154 154  
155 155  ==== 4.1.1 Via the GUI tool nm-connection-editor: ====
156 156  
157 -Right-click on the nm applet and click on **Edit connections**: Then choose **Add** and then **Import a saved one VPN configuration**.
160 +Right-click on the nm applet and click on **Edit connections** : Then choose **Add** and then **Import a saved one VPN configuration**.
158 158  
159 159  ==== 4.1.2 Via the terminal: ====
160 160  
... ... @@ -163,7 +163,7 @@
163 163  === 4.2 Possible Problems ===
164 164  
165 165  It is possible, that openvpn has problems with Ubuntu.
166 - 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
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
167 167  
168 168  
169 169  [[image:vpnipv4.jpg.png||width="900"]]
... ... @@ -176,7 +176,7 @@
176 176  
177 177  === 5.1 Multiple VPNs ===
178 178  
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}}
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}}
180 180  
181 181  Windows 7:
182 182