Jnk (Diskussion | Beiträge) |
Jnk (Diskussion | Beiträge) |
||
Zeile 159: | Zeile 159: | ||
* The config file opens. | * The config file opens. | ||
* You can recognize your config file by checking '''"date"''' and '''"version"'''.<span style="color:green"> (1)</span> | * You can recognize your config file by checking '''"date"''' and '''"version"'''.<span style="color:green"> (1)</span> | ||
− | * Delete the file and insert the content from the clipboard. | + | * Delete the content from the file and insert the content from the clipboard. |
* You can use the following shortcuts | * You can use the following shortcuts | ||
** <code>cmd</code> + <code>A</code> (Mark all) | ** <code>cmd</code> + <code>A</code> (Mark all) |
Version vom 24. März 2023, 10:00 Uhr
VPN (Virtual Private Network) is required if you want to use services from outside the University of Paderborn that are only accessible within the university network. VPN guarantees secure access to the University network through other networks (dial-in via other providers, external company or university networks).
What needs to be done? - Quick guide[Bearbeiten | Quelltext bearbeiten]
- Install Tunnelblick in the most recent version. https://tunnelblick.net/downloads.html Tunnelblick] (Version 3.8.0 is used in this manual).
- Create your personal network certificate in the service portal.
- Download the configuration file
- Click on Download in the drop-down menu above!
- Create a new folder on your desktop with the name you want your connection to have, e.g. "VPN Uni".
- Put your personal network certificate and the configuration file in the folder you just created.
- Delete the serial number in the filename from your network certificate, so that Network_Certificate_<username>_******.p12 becomes Network_Certificate.p12
- Add the file extension .tblk to this folder by selecting the folder, pressing cmd + I and change it to VPN Uni.tblk under "Name & Suffix".
- Double click the file just created to install the connection.
- You will be asked to enter your Mac password to allow the configuration.
- Now click on the Tunnelblick icon at the top of the menu bar and select your connection, which is now named the same as your folder. Enter the import password, which you can find in the service portal under Network Preferences. Select the option to save the password in your keychain.
- Wait until the font turns green. You are now connected.
Step-by-step instructions: Preparation[Bearbeiten | Quelltext bearbeiten]
Install Tunnelblick[Bearbeiten | Quelltext bearbeiten]
- Install Tunnelblick in the most recent version. (Version 3.8.0 is used in this manual).
- Click on the link provided and then on the version marked "Stable".
- Then open your downloads and double click on the Tunnelblick download. Tunnelblick will now install itself automatically.
Create network certificate[Bearbeiten | Quelltext bearbeiten]
- Create your personal network certificate in the service portal.
- You can also use existing certificates for the VPN connection, if they are still valid.
- Log in to the service portal to access the certificate. Open "User management" in the upper drop down menu, then click on Network settings.
- Create a new certificate!
- With a click on "Create new certificate" you create a new network certificate
- Click on Download network certificate and save the certificate on your computer!
- You will also find the associated password on the newly appearing window under Import Password. It can also be viewed any time by clicking "Edit > Certificate information".
- For network certificate see below
Set up Tunnelblick[Bearbeiten | Quelltext bearbeiten]
Download the configuration file, select the VPN you want to connect to and click on Download. Usually "Uni-VPN (standard)" should work, but if you have problems with the connection, try "Uni-VPN-TCP".
- Then create a new folder on your desktop with the name you want your connection to have, e.g. "VPN Uni".
- Now place the personal network certificate and the configuration file in the created folder.
- Rename your personal network certificate, for example Network_Certificate_<username>_******.p12 becomes Network_Certificate.p12
- Add the file extension .tblk to the folder by selecting the folder, pressing cmd + I, under "Name & Suffix" change "VPN Uni" to "VPN Uni.tblk". Then click on Enter/Return and confirm the entry with Add.
- Double-click the file just created from the folder to install the connection.
- You will be asked to enter your Mac password to allow configuration.
- Now click on the Tunnelblick icon at the top of the menu bar and select Your connection, which now has the same name as your folder, for example "VPN Uni".
- In the next step you will be asked to enter a password. Enter the Import password already mentioned above, which belongs to the certificate.
- In addition you should definitely select the option "Save in keychain" to save the password (otherwise you will have to enter the import password again and again).
- Wait until the font turns green and you are connected.
- You can quickly connect and disconnect using the tunnelblick icon.
Change Config[Bearbeiten | Quelltext bearbeiten]
If you have been using VPN access for some time, it may be necessary at some point to update the configuration file to the latest version. In the following we explain how this works.
Details
- Download the new config file.
- Select the new config file.
- Open the context menu via right click.
- Choose "Open with". (1)
- Click on "Other...". (2)
- Choose "TextEdit" from the app list. (1)
- Click on "Open". (2)
- Copy the contents of the file to the clipboard.
- You can use the following shortcuts:
cmd
+A
(Mark all)cmd
+C
(Copy)
- Click on the Tunnelblick-Icon in the menu bar at the top. (1)
- Click on "VPN-Details". (2)
- Choose "Configurations". (1)
- Select the configuration, that you want to update. (2)
- Click on the circle with the three dots at the bottom of the window.
- Scroll down in the upcomming window.
- Click on "Change OpenVPN-Config-File..." (3)
- The config file opens.
- You can recognize your config file by checking "date" and "version". (1)
- Delete the content from the file and insert the content from the clipboard.
- You can use the following shortcuts
cmd
+A
(Mark all)- Löschen
cmd
+V
(Insert)
- You can tell that the file has been modified by the "edited" indicator (2)
- Close the application by clicking on the red X. (3)
Congratulation. You changed your config file successfully.
Known issues[Bearbeiten | Quelltext bearbeiten]
It's possible that while downolading the .ovpn conifiguration file is changed to a .txt file. If this is the cas:
- Select the configuration file.
- Click cmd + i.
- Check the ending in the section Suffix.
- If necessary delete the .txt part.
- The name should end as .opvn