VPN unter iOS/en: Unterschied zwischen den Versionen

ZIM HilfeWiki - das Wiki
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
 
|translated title=VPN on iOS
 
|translated title=VPN on iOS
 
}}
 
}}
This guide shows you how to set up a VPN connection to the university network on the iPhone and iPad.<br>
+
 
An '''V'''irtual '''P'''rivate '''N'''etwork ensures secure access to the university network from foreign networks.<br>
+
<bootstrap_alert color=warning>
Certain services are only available from the university network. These include, for example, access to network drives and the download of online resources from the University Library's homepage. <br>
+
If you cannot connect to OpenVPN and receive the error message ''"UNKNOWN/UNSUPPORTED OPTIONS"'': You can only use the OpenVPN app from version 3.4 if you have installed the current configuration file. You can find instructions on how to do this in the '''Import configuration file''' section. You do not need to install a new user certificate.
You want to access these services and are not at the university? Then you need a VPN connection. <br>
+
</bootstrap_alert>
<br clear=all>
+
 
 +
These instructions show you how to set up a VPN connection to the university network on the iPhone and iPad.<br>
 +
A '''V'''irtual '''P'''rivate '''N'''etwork ensures secure access to the university network from external networks.<br>
 +
Certain services are only available from the university network. This includes, for example, accessing network drives and downloading online resources from the university library homepage. <br>
 +
Do you want to access these services and are not at university? Then you need a VPN connection. <br>
  
 
== What needs to be done? ==
 
== What needs to be done? ==
 
* Install OpenVPN Connect from the [https://itunes.apple.com/de/app/openvpn-connect/id590379981 AppStore].
 
* Install OpenVPN Connect from the [https://itunes.apple.com/de/app/openvpn-connect/id590379981 AppStore].
* Download a [[Netzwerkzertifikate|personal certificate file]] with the file extension <b>.OVPN12</b>.
+
* Download a [[Network Certificates|Personal Certificate File]] whose file extension is <b>.OVPN12</b>.
* On the iOS device, open this <b>.OVPN12</b> file, select "Open with OpenVPN-Connect" and import the certificate there.
+
* Open this <b>.OVPN12</b> file on the iOS device, select "Open with OpenVPN-Connect" and import the certificate there.
 
* Download the configuration file:
 
* Download the configuration file:
<iframe key="infoboard" width="600" height="320" path="vpn-config/index.php?group=uni&os=ios" />
+
<iframe key="infoboard" width="600" height="330" path="vpn-config/index.php?group=uni&os=ios&redirect_gateway=1" />
* Set up the VPN connection in OpenVPN with this
+
* Use this to set up the VPN connection in OpenVPN.
  
 
== Step-by-step instructions ==
 
== Step-by-step instructions ==
 
=== Install OpenVPN Connect ===
 
=== Install OpenVPN Connect ===
Install the app '''OpenVPN Connect'''. You can find it like other apps in the [https://itunes.apple.com/de/app/openvpn-connect/id590379981 AppStore].
+
[[Datei:Vpn-ios-1.png|100px]]
[[Datei:Vpn-ios-1.png|links|mini|ohne|200px]]
+
Install the ''OpenVPN Connect'' app. You can find these like other apps in the [https://itunes.apple.com/de/app/openvpn-connect/id590379981 AppStore].
 
<br clear=all>
 
<br clear=all>
  
Then open the OpenVPN Connect App and agree to the terms of use with '''"Accept"'''.
+
Then open the OpenVPN Connect app and agree to the terms of use with '''"Accept"'''.
 
 
=== Import network certificate===
 
For the VPN connection we need a network certificate. You cannot use the already installed certificate for Eduroam.
 
Be sure to use Apple's Safari browser for the following steps. <br>
 
Call up the [https://serviceportal.uni-paderborn.de/ Serviceportal] and log in with your university account.
 
  
 +
===Import network certificate===
 +
For the VPN connection we need a network certificate. You cannot use the Eduroam certificate that may already be installed.<br>
 +
[[Datei:Eduroam-ios-9.png|links|mini|ohne|80px]]
 +
<br>
 +
* Open the [http://sp.upb.de service portal] using Safari.
 +
* Log in with your university account.
 +
<br clear=all>
 +
<span style="color:green">Note: </span> Do not use an alternative browser such as Google Chrome or Firefox for this. Downloading files in other browsers is not permitted on iOS.
 
[[Datei:Eduroam-unter-android-3.png|links|mini|ohne|350px]]
 
[[Datei:Eduroam-unter-android-3.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Click on the 3 vertical bars on the upper right edge
+
* Click on the 3 vertical bars at the top right.
* Click on User Management and then on Network Settings
+
* Click on Benutzerverwaltung and then Netzwerkeinstellungen.
 
<br clear=all>
 
<br clear=all>
 
  
 
[[Datei:Eduroam-unter-android-4.png|links|mini|ohne|350px]]
 
[[Datei:Eduroam-unter-android-4.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Click on '''Create new certificate'''
+
* Click '''Neues Zertifikat erstellen'''.
 
<br clear=all>
 
<br clear=all>
  
[[Datei:Vpn-ios-12.png|links|mini|ohne|350px]]
+
[[Datei:Netzwerkzertifikat-container-v1.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* You should create a separate certificate for each device you use. Therefore, assign a unique identifier here so that you know later on which certificate belongs to which device
+
* Give the certificate a unique name (Example: iPhone VPN)
* Then click on '''"Send new certificate"'''
+
* Select '''Version 1''' as the file format.
 +
* Then click on '''Neues Zertifikat zusenden'''.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:OpenVPNConnect.png|links|mini|ohne|350px]]
 
[[Datei:OpenVPNConnect.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Now a new network certificate has been created for you
+
* A new network certificate has now been created for you.
* First copy the '''Import password''' to the clipboard
+
* First copy the '''Import Password''' to the clipboard.
* Now click on '''"Network certificate for OpenVPN Connect App (only for iOS)"'''
+
* Now click on '''"Netzwerkzertifikat für OpenVPN Connect App (nur für iOS)"'''.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-2.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-2.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Click on '''"Load"'''
+
* Click '''Load'''.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-3.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-3.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Your network certificate has been downloaded
+
* Your network certificate has been downloaded.
* Click on the '''"Download Button"'''
+
* Click on the '''Download Button'''.
* Open the '''"Network_Certificate file"''' with a click on it
+
* Open the '''"Network_Certificate file"''' by clicking on it.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-4.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-4.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Open the certificate file with OpenVPN
+
* Open the certificate file with OpenVPN.
* You may have to click on '''"More"''' and wipe some elements to the side
+
* You may need to click '''More''' and swipe some items to the side.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-5.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-5.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Now the OpenVPN App opens
+
* Now the OpenVPN app opens.
* Click on '''"ADD"''' to import the certificate into OpenVPN
+
* Click '''"ADD"''' to import the certificate into OpenVPN.
 +
* Enter the password for the certificate. We have just copied this to the clipboard.
 
<br clear=all>
 
<br clear=all>
  
=== Import configuration file ===
+
===Import configuration file===
Now we still need a configuration file. Therefore we switch back to the Safari browser. <br>
+
Now we need a configuration file. To do this, we switch back to the Safari browser. <br>
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 Download.
Normally "Uni-VPN (Standard)" should be the right choice, but if you have problems with the connection, try "Uni-VPN-TCP" again.
+
Normally "Uni-VPN (Standard)" should be the right choice, but if you have problems with the connection, try "Uni-VPN-TCP" instead.
<center><iframe key="infoboard" width="600" height="320" path="vpn-config/index.php?group=uni&os=ios" /></center>
+
<center><iframe key="infoboard" width="600" height="330" path="vpn-config/index.php?group=uni&os=ios&redirect_gateway=1" /></center>
 
<br clear=all>
 
<br clear=all>
 
<span style="color:green"> Note:</span> You can click on '''"Download"''' here and download your configuration file. This is not a screenshot ;-)
 
<span style="color:green"> Note:</span> You can click on '''"Download"''' here and download your configuration file. This is not a screenshot ;-)
 
<br clear=all>
 
<br clear=all>
 +
 +
<bootstrap_accordion>
 +
<bootstrap_panel heading="Direct all internet traffic through the tunnel?">
 +
*Accessing online resources may require that you route all network traffic through the tunnel.
 +
* You do not need this option to simply access the network drives.
 +
</bootstrap_panel>
 +
</bootstrap_accordion>
  
 
[[Datei:Vpn-ios-6.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-6.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Click on '''"Load"'''
+
* Click '''Load'''.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-7.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-7.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Open the OpenVPN configuration file
+
* Open the OpenVPN configuration file.
 
<br clear=all>
 
<br clear=all>
  
 
We also open this file with OpenVPN.
 
We also open this file with OpenVPN.
 +
[[Datei:Vpn-ios-13.png|links|mini|ohne|350px|Open configuration file in OpenVPN app]]
 +
<br>
 +
* Click on the ''Share'' icon.
 +
* Select OpenVPN in the suggested apps.
 +
<br clear=all>
  
 
[[Datei:Vpn-ios-8.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-8.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* The OpenVPN app opens
+
* The OpenVPN app opens.
* Click on '''"ADD"''' to add the configuration file
+
* Click '''"ADD"''' to add the configuration file.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-9.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-9.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Now we only have to select the already imported certificate
+
* Now we just have to select the already imported certificate.
* Open the menu under '''"Certificates"'''
+
* Expand the menu under '''"Certificates"'''.
* Select '''"Network_Certificates..."'''
+
* Select '''"Network_Certificates..."'''.
* Finally, click on '''"ADD"''' at the top right
+
* Finally, click '''"ADD"''' at the top right.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:Vpn-ios-10.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-10.png|links|mini|ohne|350px]]
 
<br>
 
<br>
* Click on '''"Allow"'''
+
* Click '''Allow'''.
* You may need to confirm this with your '''PIN''' or '''Fingerprint'''.
+
* You may need to confirm this with your '''PIN''' or '''fingerprint'''.
 
<br clear=all>
 
<br clear=all>
  
=== Activate VPN ===
+
===Enable VPN===
 
[[Datei:Vpn-ios-11.png|links|mini|ohne|350px]]
 
[[Datei:Vpn-ios-11.png|links|mini|ohne|350px]]
<br>
+
<br clear=all>
* We have now successfully established the VPN connection
+
* We have now successfully set up the VPN connection.
* With a click on the grey button we can switch on the VPN connection
+
* By clicking on the gray switch we can switch on the VPN connection.
 
<br clear=all>
 
<br clear=all>
  
 
[[Datei:VPN_Android-11.png|links|mini|ohne|350px]]
 
[[Datei:VPN_Android-11.png|links|mini|ohne|350px]]
<br>
 
* The VPN connection is now active
 
* With a click on the green button, you can switch off the VPN connection if necessary
 
 
<br clear=all>
 
<br clear=all>
 +
* The VPN connection is now active.
 +
* By clicking on the green switch, you can switch off the VPN connection again if necessary.
 +
<br clear=all>
 +
 +
<span style="color:green"> Note:</span> When the VPN is active, all of your internet traffic is redirected via the University of Paderborn servers. So only activate the VPN connection if you actually need it.
  
<span style="color:green"> Note:</span> If VPN is active, all your internet traffic will be redirected via the servers of the University of Paderborn. So only activate the VPN connection if you need it.
+
==Check VPN==
 +
You can check the functionality of the VPN by calling:
 +
: [https://go.upb.de/ip https://go.upb.de/ip]
 +
Your IP will be displayed there and it will show whether you are on the university network.
 +
 
 +
[[Datei:OpenVPN verbunden - go_ip.png|mitte|400px|mini|ohne|Example: Existing connection to the university network.]]
 
<br clear=all>
 
<br clear=all>
 +
 +
==Known Issues==
 +
===No import===
 +
* Problem: Configuration file and certificate cannot be imported into the OpenVPN app. Download size 0 kB.
 +
* Cause: iCloud is specified as the download folder.
 +
* Solution: Select the local download folder.
 +
<pre> Settings -> Safari -> Downloads -> Local Downloads Folder </pre>
 +
 +
 +
<br><br>
 +
===Unknown/Unsupported Options===
 +
Problem: VPN cannot be activated.
 +
<br>
 +
Error message:
 +
<pre> EVENT: CORE_THREAD_ERROR option_error: sorry, unsupported options present in configuration: UNKNOWN/UNSUPPORTED OPTIONS [ERR]</pre>
 +
<br>
 +
Solution: Update your configuration file. Details under ''''Import configuration file''' above.
 +
 +
==See also==
 +
* [[Netzwerk]]

Aktuelle Version vom 6. Juli 2024, 23:54 Uhr

Die deutsche Version finden Sie auf der Seite VPN unter iOS

These instructions show you how to set up a VPN connection to the university network on the iPhone and iPad.
A Virtual Private Network ensures secure access to the university network from external networks.
Certain services are only available from the university network. This includes, for example, accessing network drives and downloading online resources from the university library homepage.
Do you want to access these services and are not at university? Then you need a VPN connection.

What needs to be done?[Bearbeiten | Quelltext bearbeiten]

  • Install OpenVPN Connect from the AppStore.
  • Download a Personal Certificate File whose file extension is .OVPN12.
  • Open this .OVPN12 file on the iOS device, select "Open with OpenVPN-Connect" and import the certificate there.
  • Download the configuration file:

  • Use this to set up the VPN connection in OpenVPN.

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

Install OpenVPN Connect[Bearbeiten | Quelltext bearbeiten]

Vpn-ios-1.png Install the OpenVPN Connect app. You can find these like other apps in the AppStore.

Then open the OpenVPN Connect app and agree to the terms of use with "Accept".

Import network certificate[Bearbeiten | Quelltext bearbeiten]

For the VPN connection we need a network certificate. You cannot use the Eduroam certificate that may already be installed.

Eduroam-ios-9.png


  • Open the service portal using Safari.
  • Log in with your university account.


Note: Do not use an alternative browser such as Google Chrome or Firefox for this. Downloading files in other browsers is not permitted on iOS.

Eduroam-unter-android-3.png


  • Click on the 3 vertical bars at the top right.
  • Click on Benutzerverwaltung and then Netzwerkeinstellungen.


Eduroam-unter-android-4.png


  • Click Neues Zertifikat erstellen.


Netzwerkzertifikat-container-v1.png


  • Give the certificate a unique name (Example: iPhone VPN)
  • Select Version 1 as the file format.
  • Then click on Neues Zertifikat zusenden.


OpenVPNConnect.png


  • A new network certificate has now been created for you.
  • First copy the Import Password to the clipboard.
  • Now click on "Netzwerkzertifikat für OpenVPN Connect App (nur für iOS)".


Vpn-ios-2.png


  • Click Load.


Vpn-ios-3.png


  • Your network certificate has been downloaded.
  • Click on the Download Button.
  • Open the "Network_Certificate file" by clicking on it.


Vpn-ios-4.png


  • Open the certificate file with OpenVPN.
  • You may need to click More and swipe some items to the side.


Vpn-ios-5.png


  • Now the OpenVPN app opens.
  • Click "ADD" to import the certificate into OpenVPN.
  • Enter the password for the certificate. We have just copied this to the clipboard.


Import configuration file[Bearbeiten | Quelltext bearbeiten]

Now we need a configuration file. To do this, we switch back to the Safari browser.
Download the configuration file, select the VPN you want to connect to and click Download. Normally "Uni-VPN (Standard)" should be the right choice, but if you have problems with the connection, try "Uni-VPN-TCP" instead.


Note: You can click on "Download" here and download your configuration file. This is not a screenshot ;-)

  • Accessing online resources may require that you route all network traffic through the tunnel.
  • You do not need this option to simply access the network drives.
Vpn-ios-6.png


  • Click Load.


Vpn-ios-7.png


  • Open the OpenVPN configuration file.


We also open this file with OpenVPN.

Open configuration file in OpenVPN app


  • Click on the Share icon.
  • Select OpenVPN in the suggested apps.


Vpn-ios-8.png


  • The OpenVPN app opens.
  • Click "ADD" to add the configuration file.


Vpn-ios-9.png


  • Now we just have to select the already imported certificate.
  • Expand the menu under "Certificates".
  • Select "Network_Certificates...".
  • Finally, click "ADD" at the top right.


Vpn-ios-10.png


  • Click Allow.
  • You may need to confirm this with your PIN or fingerprint.


Enable VPN[Bearbeiten | Quelltext bearbeiten]

Vpn-ios-11.png


  • We have now successfully set up the VPN connection.
  • By clicking on the gray switch we can switch on the VPN connection.


VPN Android-11.png


  • The VPN connection is now active.
  • By clicking on the green switch, you can switch off the VPN connection again if necessary.


Note: When the VPN is active, all of your internet traffic is redirected via the University of Paderborn servers. So only activate the VPN connection if you actually need it.

Check VPN[Bearbeiten | Quelltext bearbeiten]

You can check the functionality of the VPN by calling:

https://go.upb.de/ip

Your IP will be displayed there and it will show whether you are on the university network.

Example: Existing connection to the university network.


Known Issues[Bearbeiten | Quelltext bearbeiten]

No import[Bearbeiten | Quelltext bearbeiten]

  • Problem: Configuration file and certificate cannot be imported into the OpenVPN app. Download size 0 kB.
  • Cause: iCloud is specified as the download folder.
  • Solution: Select the local download folder.
 Settings -> Safari -> Downloads -> Local Downloads Folder 




Unknown/Unsupported Options[Bearbeiten | Quelltext bearbeiten]

Problem: VPN cannot be activated.
Error message:

 EVENT: CORE_THREAD_ERROR option_error: sorry, unsupported options present in configuration: UNKNOWN/UNSUPPORTED OPTIONS [ERR]


Solution: Update your configuration file. Details under 'Import configuration file above.

See also[Bearbeiten | Quelltext bearbeiten]


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: zim@uni-paderborn.de

Das Notebook-Café ist die Benutzerberatung des ZIM - Sie finden uns in Raum I0.401

Wir sind zu folgenden Zeiten erreichbar:


Mo-Do Fr
Vor-Ort-Support 08:30 - 16:00 08:30 - 14:00
Telefonsupport 08:30 - 16:00 08:30 - 14:00


Das ZIM:Servicecenter Medien auf H1 hat aktuell zu folgenden Zeiten geöffnet:

Mo-Do Fr
08:00 - 16:00 08:00 - 14:30
Cookies helfen uns bei der Bereitstellung des ZIM HilfeWikis. Bei der Nutzung vom ZIM HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.