Changes for page VPN Access
Last modified by Thomas Coelho (local) on 2024/09/03 14:41
From version 3.1
edited by Thomas Coelho
on 2022/10/18 14:57
on 2022/10/18 14:57
Change comment:
There is no comment for this version
To version 4.3
edited by Thomas Coelho (local)
on 2024/09/03 14:36
on 2024/09/03 14:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. thw1 +XWiki.coelho - Content
-
... ... @@ -24,7 +24,8 @@ 24 24 This configuration routes all traffic trough ITP. This is useful if you want to download papers, which are restricted to the university network. 25 25 The second examples only routes the traffic going directly to the ITP trough the VPN and leaves your default gateway untouched. The only difference is the missing 'redirect-gateway' statement [http://th.physik.uni-frankfurt.de/~thw/vpn/all-via-itp.ovpn] 26 26 27 -{{{client 27 +{{code language="none"}} 28 +client 28 28 dev tun 29 29 proto udp 30 30 nobind ... ... @@ -35,14 +35,14 @@ 35 35 auth-user-pass 36 36 ca private-ca-itp.crt 37 37 # Comment this, if you don't want to redirect the default gateway 38 -redirect-gateway def1 39 -}} }39 +redirect-gateway def1 40 +{{/code}} 40 40 41 41 Download our CA (Certificate of Authority) [http://th.physik.uni-frankfurt.de/~thw/vpn/private-ca-itp.crt] and store it in the same place. This file is needed for the verification of the authenticity of the server. 42 42 43 43 For only accessing internal services and routing your the normal traffic to your normal uplink use the following configuration: [http://th.physik.uni-frankfurt.de/~thw/vpn/itp.ovpn] 44 44 45 - <pre>46 +{{code language="none"}} 46 46 client 47 47 dev tun 48 48 proto udp ... ... @@ -53,35 +53,33 @@ 53 53 resolv-retry infinite 54 54 auth-user-pass 55 55 ca private-ca-itp.crt 56 - </pre>57 +{{/code}} 57 57 58 58 59 59 === Start the VPN connection === 60 60 61 61 Open a terminal and change to the path where the vpn config file is stored. Start the connection with 62 - 63 - sudo openvpn itp.ovpn 63 +\\ sudo openvpn itp.ovpn 64 64 65 65 where itp.ovpn is the name of the config file. openvpn needs root access, therefore you must enter your local password for sudo. After this you have to enter your ITP credentials (Username and Password). 66 66 67 67 If everything went fine the output will look like: 68 68 69 -<pre> 70 -Fri Dec 7 15:03:00 2012 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page). 71 -Fri Dec 7 15:03:00 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables 69 +{{{Fri Dec 7 15:03:00 2012 WARNING: Make sure you understand the semantics of tls-remote before using it (see the man page). 70 +Fri Dec 7 15:03:00 2012 NOTE: OpenVPN 2.1 requires 'script-security 2' or higher to call user-defined scripts or executables 72 72 Fri Dec 7 15:03:00 2012 UDPv4 link local: [undef] 73 73 Fri Dec 7 15:03:00 2012 UDPv4 link remote: [AF_INET]141.2.246.2:1194 74 -Fri Dec 7 15:03:00 2012 WARNING: this configuration may cache passwords in memory --use the auth-nocache option to prevent this73 +Fri Dec 7 15:03:00 2012 WARNING: this configuration may cache passwords in memory use the auth-nocache option to prevent this 75 75 Fri Dec 7 15:03:00 2012 [FIAS-ITP_Generic_VPN_Service] Peer Connection Initiated with [AF_INET]141.2.246.2:1194 76 76 Fri Dec 7 15:03:02 2012 TUN/TAP device tap0 opened 77 77 Fri Dec 7 15:03:02 2012 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 78 78 Fri Dec 7 15:03:02 2012 /sbin/ifconfig tap0 10.63.131.1 netmask 255.255.0.0 mtu 1500 broadcast 10.63.255.255 79 -Fri Dec 7 15:03:02 2012 Initialization Sequence Completed 80 -</pre>-- 78 +Fri Dec 7 15:03:02 2012 Initialization Sequence Completed}}} 81 81 80 + 82 82 Termiate the session by pressing Ctrl-C in this terminal. 83 83 84 -== OpenVPN for Windows 10 == 83 +== OpenVPN for Windows 10/11 == 85 85 86 86 At the time of writing, you can download OpenVPN on '[[https:~~/~~/openvpn.net/community-downloads/'.>>https://openvpn.net/community-downloads/'.]] 87 87 Download the exe-file for Windows 10 and install OpenVPN. ... ... @@ -93,11 +93,11 @@ 93 93 94 94 You need to copy/save both files to C:/Users/'yourusername'/OpenVPN/config/, where 'yourusername' is your local username. In the picture below, the directory with the two needed files in it for a german Windows 10 is shown (for the username 'user'). (For both is assumed that 'C' is, as for most Windows systems, your main hard drive.) 95 95 96 -[[ File:Openvpn-win10-1.png|center]]95 +[[image:Openvpn-win10-1.png]] 97 97 98 98 If 'OpenVPN GUI' is started, you can find it in the lower right corner where the minisymbols are. Most likely you need to click on the small arrow first. It is the symbol with the computer screen and the lock symbol. Right click on the symbol and you get a menu where the first option is to connect. Click this option. This menu has less entries if the settings are not found. Then control the previous step. 99 99 100 -[[ File:Openvpn-win10-2.png|center]]99 +[[image:Openvpn-win10-2.png]] 101 101 102 102 After a few seconds you should get a login screen where you use the credentials of your itp account. 103 103
- File_Openvpn-win10-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.coelho - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.1 KB - Content
- Openvpn-win10-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.coelho - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.2 KB - Content
- Openvpn-win10-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.coelho - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.0 KB - Content