(Die Seite wurde neu angelegt: „{{translated page |origin=VPN unter macOS |lang=en |translated title=VPN on macOS }} VPN (Virtual Private Network) is required if you want to use services from…“) |
Jnk (Diskussion | Beiträge) |
||
(6 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
|translated title=VPN on macOS | |translated title=VPN on macOS | ||
}} | }} | ||
− | VPN (Virtual Private Network) is required if you want to use services from outside the University of Paderborn that are only accessible within the | + | 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). |
<br clear=all> | <br clear=all> | ||
== What needs to be done? - Quick guide == | == What needs to be done? - Quick guide == | ||
− | # Install Tunnelblick in the | + | # 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 [https://serviceportal.uni-paderborn.de/web/portal/willkommen service portal]. | # Create your '''personal network certificate''' in the [https://serviceportal.uni-paderborn.de/web/portal/willkommen service portal]. | ||
# '''Download the configuration file''' | # '''Download the configuration file''' | ||
Zeile 14: | Zeile 14: | ||
#: '''Click on Download in the drop-down menu above!''' | #: '''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". | # '''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 created | + | # 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 | + | # 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 | + | # 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. | # 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 | + | # 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. | # Wait until the font turns green. You are now connected. | ||
<br clear=all> | <br clear=all> | ||
Zeile 27: | Zeile 27: | ||
[[Datei:Tunnelblick Download.png|links|mini|531x531px]] | [[Datei:Tunnelblick Download.png|links|mini|531x531px]] | ||
<br> | <br> | ||
− | * Install [https://tunnelblick.net/downloads.html Tunnelblick] in the | + | * Install [https://tunnelblick.net/downloads.html 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"'''. | * 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. | * Then open your downloads and double click on the Tunnelblick download. Tunnelblick will now install itself automatically. | ||
Zeile 37: | Zeile 37: | ||
# Create your personal network certificate in the [https://serviceportal.uni-paderborn.de/web/portal/willkommen service portal]. | # Create your personal network certificate in the [https://serviceportal.uni-paderborn.de/web/portal/willkommen service portal]. | ||
#* You can also use existing certificates for the VPN connection, if they are still valid. | #* 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. | + | # 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! | # Create a new certificate! | ||
<br clear=all> | <br clear=all> | ||
Zeile 45: | Zeile 45: | ||
* With a click on '''"Create new certificate"''' you create a new network 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! | * Click on '''Download network certificate''' and save the certificate on your computer! | ||
− | * You will also find the | + | * 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 |
<br clear=all> | <br clear=all> | ||
Zeile 57: | Zeile 57: | ||
== Set up Tunnelblick == | == Set up Tunnelblick == | ||
− | Download the configuration file, select the VPN you want to connect to and ''' | + | 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". | |
<center><iframe key="infoboard" width="600" height="320" path="vpn-config/index.php?group=uni&os=mac" /></center> | <center><iframe key="infoboard" width="600" height="320" path="vpn-config/index.php?group=uni&os=mac" /></center> | ||
<br clear=all> | <br clear=all> | ||
Zeile 71: | Zeile 71: | ||
[[Datei:VPN Suffix.png|links|mini|603x603px]] | [[Datei:VPN Suffix.png|links|mini|603x603px]] | ||
<br> | <br> | ||
− | * Add the file extension '''.tblk''' to the folder by selecting the folder, pressing '''cmd + I''' | + | * 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'''. |
<br clear=all> | <br clear=all> | ||
[[Datei:VPN tblk.png|links|mini|127x127px]] | [[Datei:VPN tblk.png|links|mini|127x127px]] | ||
<br> | <br> | ||
− | * | + | * Double-click the file just created from the folder to install the connection. |
<br clear=all> | <br clear=all> | ||
[[Datei:VPN Konfiguration.png|links|mini|436x436px]] | [[Datei:VPN Konfiguration.png|links|mini|436x436px]] | ||
<br> | <br> | ||
− | * You will be | + | * You will be asked to enter your Mac password to allow configuration. |
<br clear=all> | <br clear=all> | ||
[[Datei:VPN verbinden.png|links|mini|ohne|300px]] | [[Datei:VPN verbinden.png|links|mini|ohne|300px]] | ||
<br> | <br> | ||
− | * 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 | + | * 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"'''. |
<br clear=all> | <br clear=all> | ||
Zeile 100: | Zeile 100: | ||
* You can quickly connect and disconnect using the tunnelblick icon. | * You can quickly connect and disconnect using the tunnelblick icon. | ||
<br clear=all> | <br clear=all> | ||
+ | |||
+ | ==Change Config== | ||
+ | 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. | ||
+ | |||
+ | <bootstrap_accordion> | ||
+ | <bootstrap_panel heading="Details" color="info"> | ||
+ | * Download the new config file. | ||
+ | <br> | ||
+ | |||
+ | [[Datei:Vpn-unter-macos-01.png|links|mini|ohne|450px|Config file]] | ||
+ | <br> | ||
+ | * Select the new config file. | ||
+ | * Open the context menu via right click. | ||
+ | <br clear=all> | ||
+ | |||
+ | |||
+ | [[Datei:Vpn-unter-macos-02.png|links|mini|ohne|450px|Open with...]] | ||
+ | <br> | ||
+ | * Choose '''"Open with"'''.<span style="color:green"> (1)</span> | ||
+ | * Click on '''"Other..."'''.<span style="color:green"> (2)</span> | ||
+ | <br clear=all> | ||
+ | |||
+ | |||
+ | [[Datei:Vpn-unter-macos-03.png|links|mini|ohne|450px|Choose program]] | ||
+ | <br> | ||
+ | * Choose '''"TextEdit"''' from the app list. <span style="color:green"> (1)</span> | ||
+ | * Click on '''"Open"'''. <span style="color:green"> (2)</span> | ||
+ | <br clear=all> | ||
+ | |||
+ | |||
+ | [[Datei:Vpn-unter-macos-04.png|links|mini|ohne|450px|Copy config file]] | ||
+ | <br> | ||
+ | * Copy the contents of the file to the clipboard. | ||
+ | * You can use the following shortcuts: | ||
+ | ** <code>cmd</code> + <code>A</code> (Mark all) | ||
+ | ** <code>cmd</code> + <code>C</code> (Copy) | ||
+ | <br clear=all> | ||
+ | |||
+ | |||
+ | [[Datei:Vpn-unter-macos-05.png|links|mini|ohne|450px|Menu]] | ||
+ | <br> | ||
+ | * Click on the '''Tunnelblick-Icon''' in the menu bar at the top. <span style="color:green"> (1)</span> | ||
+ | * Click on '''"VPN-Details"'''.<span style="color:green"> (2)</span> | ||
+ | <br clear=all> | ||
+ | |||
+ | |||
+ | [[Datei:Vpn-unter-macos-06.png|links|mini|ohne|450px|Configurations]] | ||
+ | <br> | ||
+ | * Choose '''"Configurations'''". <span style="color:green"> (1)</span> | ||
+ | * Select the configuration, that you want to update. <span style="color:green"> (2)</span> | ||
+ | * 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..."'''<span style="color:green"> (3)</span> | ||
+ | <br clear=all> | ||
+ | |||
+ | [[Datei:Vpn-unter-macos-07.png|links|mini|ohne|450px|Replace and save content]] | ||
+ | <br> | ||
+ | * The config file opens. | ||
+ | * You can recognize your config file by checking '''"date"''' and '''"version"'''.<span style="color:green"> (1)</span> | ||
+ | * Delete the content from the file and insert the content from the clipboard. | ||
+ | * You can use the following shortcuts | ||
+ | ** <code>cmd</code> + <code>A</code> (Mark all) | ||
+ | ** Delete | ||
+ | ** <code>cmd</code> + <code>V</code> (Insert) | ||
+ | * You can tell that the file has been modified by the '''"edited"''' indicator <span style="color:green"> (2)</span> | ||
+ | * Close the application by clicking on the red <span style="color:red"> X</span>. <span style="color:green"> (3)</span> | ||
+ | <br clear=all> | ||
+ | |||
+ | Congratulations. You changed your config file successfully. | ||
+ | |||
+ | </bootstrap_panel> | ||
+ | </bootstrap_accordion> | ||
== Known issues== | == Known issues== | ||
+ | It's possible that while downolading the .ovpn conifiguration file is changed to a .txt file. If this is the cas: <br> | ||
+ | * 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''' | ||
+ | |||
+ | <!-- | ||
=== Tunnelblick does not connect === | === Tunnelblick does not connect === | ||
[[Datei:VPN-unter-macOS-Mojave-Fehler-1.png|links|mini|250px]] | [[Datei:VPN-unter-macOS-Mojave-Fehler-1.png|links|mini|250px]] | ||
<br> | <br> | ||
* Click on the Tunnelblick icon in the top bar | * Click on the Tunnelblick icon in the top bar | ||
− | * Click on "VPN details" to | + | * Click on "VPN details" to open the settings menu |
<br clear=all> | <br clear=all> | ||
[[Datei:VPN-unter-macOS-Mojave-Fehler-3.png|links|mini|250px]] | [[Datei:VPN-unter-macOS-Mojave-Fehler-3.png|links|mini|250px]] | ||
Zeile 122: | Zeile 202: | ||
<br> | <br> | ||
* Click on the Tunnelblick icon in the top bar | * Click on the Tunnelblick icon in the top bar | ||
− | * Click on "VPN details" to | + | * Click on "VPN details" to open the settings menu |
<br clear=all> | <br clear=all> | ||
[[Datei:VPN-unter-macOS-Mojave-Fehler-2.png|links|mini|250px]] | [[Datei:VPN-unter-macOS-Mojave-Fehler-2.png|links|mini|250px]] | ||
Zeile 130: | Zeile 210: | ||
* Uncheck the box "Disable IPv6, except..." if it is set | * Uncheck the box "Disable IPv6, except..." if it is set | ||
<br clear=all> | <br clear=all> | ||
+ | --!> |
Aktuelle Version vom 24. März 2023, 10:01 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)- Delete
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)
Congratulations. 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