How to enable OpenVPN in iOS

Asked By 0 points N/A Posted on -
qa-featured

Is it possible to have OpenVPN enabled in iOS using the default profiles from PIA? If this can be done, what should I do to make it work? Is it going to need a certificate and key files? Where can I get it? Does it come bundled with configuration files from the PIA?

SHARE
Answered By 5 points N/A #199884

How to enable OpenVPN in iOS

qa-featured

To download OpenVPN onto iOS for your iPad,iPhone or iTouch follow the instructions below:

  1. From the Appstore, download and install OpenVPN Connect
  1. Open the browser on your device and go to piavpn.com/ios 
  2. Choose and click on a region
  3. In the prompt that appears on Safari, choose “Open in OpenVPN”
  4. On the OpenVPN app, click on the green (+) button
  5. Enter your username and password and tap the “Save” button
  6. Slide the “Disconnected” toggle to “Connected”

To download OpenVPN onto your computer and use iTunes to transfer it to your phone, follow the instructions below:

  1. Download OpenVPN configuration files here
  2. Extract the .zip files within the folder onto your desktop
  3. Select the relevant server that you want to use.  A list of all available servers can be found here
  4. Open the .ovpn server that you have selected from the list in Notepad
  5. Delete the text that is currently there of the .ovpn file, and paste the following text in it’s place:

client

dev tun

proto udp

remote nl.privateinternetaccess.com* 1194

resolv-retry infinite

nobind

persist-key

persist-tun

tls-client

remote-cert-tls server

auth-user-pass

comp-lzo

verb 1

ca ca.crt setenv CLIENT_CERT 0

*Please change the name of the server (in the e.g. above, the server is nl.privateinternetaccess.com* to the server of your choice) in the config file. 

  1. Save the file, and make sure the extension of the file name is back to .ovpm
  2. Download OpenVPN to your mobile device from here
  3. Open iTunes, on your mobile device go to Apps.  Scroll down to file sharing and select the OpenVPN app.  Paste the .ovpn file (that you edited and saved earlier) and the downloaded ca.crt file (this is included with the downloaded .ovpn .zip file)
  4. Open OpenVPN app on your mobile device and the server should be there now.
  5. Click the green plus (+) sign and enter the username and password that was sent when you signed up for the service

Related Questions