VPN unter macOS/en: Unterschied zwischen den Versionen

IMT HilfeWiki - das Wiki
(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…“)
 
 
(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 University network. VPN guarantees secure access to the University network from other networks (dial-in via other providers, external company or university networks).
+
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 latest version. https://tunnelblick.net/downloads.html Tunnelblick] (Version 3.8.0 is used in this manual).
+
# 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 earlier.
+
# 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 for example Network_Certificate_<username>_******.p12 -> Network_Certificate.p12 becomes Network_Certificate.p12
+
# 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 making '''VPN Uni.tblk''' under "Name & Suffix".
+
# 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".
# Now you can double click the file created from the folder and thus install the connection.
+
# 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 before. 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.
+
# 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 current version. (Version 3.8.0 is used in this manual).   
+
* 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. Then click on '''Network settings''' in the upper menu under "User management".
+
# 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 corresponding password on the newly appearing window under '''Import Password'''. However, it can also be viewed at any time later under '''"Edit > Certificate information"'''.
+
* 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"'''.
* With the network certificate it goes below
+
* 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 '''click on Download'''.
+
Download the configuration file, select the VPN you want to connect to and click '''on Download'''.
Normally '''"Uni-VPN (standard)"''' should be the right choice, but if you have problems with the connection, try "Uni-VPN-TCP" again.
+
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''' and under "Name & Suffix" make "VPN Uni" '''"VPN Uni.tblk"'''. Then click on Enter/Return and confirm the entry with '''Add'''.
+
* 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>
* Now you can double-click the file created from the folder to install the connection.
+
* 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 prompted to enter your Mac password to allow configuration.
+
* 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 before, for example '''"VPN Uni"'''.
+
* 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 call up the settings
+
* 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 call up the settings
+
* 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

Die deutsche Version finden Sie auf der Seite VPN unter 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 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]

  1. Install Tunnelblick in the most recent version. https://tunnelblick.net/downloads.html Tunnelblick] (Version 3.8.0 is used in this manual).
  2. Create your personal network certificate in the service portal.
  3. Download the configuration file
    Click on Download in the drop-down menu above!
  4. Create a new folder on your desktop with the name you want your connection to have, e.g. "VPN Uni".
  5. Put your personal network certificate and the configuration file in the folder you just created.
  6. Delete the serial number in the filename from your network certificate, so that Network_Certificate_<username>_******.p12 becomes Network_Certificate.p12
  7. 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".
  8. Double click the file just created to install the connection.
  9. You will be asked to enter your Mac password to allow the configuration.
  10. 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.
  11. Wait until the font turns green. You are now connected.


Step-by-step instructions: Preparation[Bearbeiten | Quelltext bearbeiten]

Install Tunnelblick[Bearbeiten | Quelltext bearbeiten]

Tunnelblick Download.png


  • 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]

VPN Serviceportal.png


  1. Create your personal network certificate in the service portal.
    • You can also use existing certificates for the VPN connection, if they are still valid.
  2. Log in to the service portal to access the certificate. Open "User management" in the upper drop down menu, then click on Network settings.
  3. Create a new certificate!


VPN unter macOS - 02.png


  • 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


VPN unter macOS - 03.png
VPN unter macOS - 04.png



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".


VPN Ordner.png


  • 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


VPN Suffix.png


  • 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.


VPN tblk.png


  • Double-click the file just created from the folder to install the connection.


VPN Konfiguration.png


  • You will be asked to enter your Mac password to allow configuration.


VPN verbinden.png


  • 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".


VPN Passwort.png


  • 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).


VPN verbunden.png


  • 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.

  • Download the new config file.


Config file


  • Select the new config file.
  • Open the context menu via right click.



Open with...


  • Choose "Open with". (1)
  • Click on "Other...". (2)



Choose program


  • Choose "TextEdit" from the app list. (1)
  • Click on "Open". (2)



Copy config file


  • Copy the contents of the file to the clipboard.
  • You can use the following shortcuts:
    • cmd + A (Mark all)
    • cmd + C (Copy)



Menu


  • Click on the Tunnelblick-Icon in the menu bar at the top. (1)
  • Click on "VPN-Details". (2)



Configurations


  • 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)


Replace and save content


  • 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



Bei Fragen oder Problemen wenden Sie sich bitte telefonisch oder per E-Mail an uns:

Tel. IT: +49 (5251) 60-5544 Tel. Medien: +49 (5251) 60-2821 E-Mail: imt@uni-paderborn.de

Das Notebook-Café ist die Benutzerberatung des IMT

Das IMT:Notebook-Café (Raum I0.401) bietet in der vorlesungsfreien Zeit nur eingeschränkten Support

Mo Di-Do Fr
Vor-Ort-Support - 09-13 Uhr -
Telefonsupport 08:30-13 Uhr & 13:30-15 Uhr 08:30-13 Uhr

Das IMT:Servicecenter Medien auf H1 hat aktuell von Montag bis Freitag von 08:00-13:00 Uhr geöffnet.


Cookies helfen uns bei der Bereitstellung des IMT HilfeWikis. Bei der Nutzung vom IMT HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.