Difference between revisions of "OpenVPN on iOS"

From Amahi Wiki
Jump to: navigation, search
Line 13: Line 13:
  
  
The above is no longer true.  There is now an OpenVPN app in the app store that is free.  To setup your connection to your HDA do the following:
+
The above is no longer true.  There is now an OpenVPN app in the app store that is free.  The iOS app can be downloaded from here:
  
First create your ovpn file using the following (the order that these items come in is VERY important):
+
[https://itunes.apple.com/us/app/openvpn-connect/id590379981?mt=8 iOS OpenVPN app]
 +
 
 +
To setup your connection to your HDA, perform the following steps:
 +
 
 +
First create your ovpn file using the following (the order that these items come in is VERY important) configuration:
  
 
  <pre><nowiki>
 
  <pre><nowiki>
Line 34: Line 38:
 
</nowiki></pre>
 
</nowiki></pre>
  
Save this file as whatever you want with the .ovpn file extension.  The next step is to download the certificates.  The certificates can be found below (to download, right click > save as):
+
Be sure to replace the XXXX to whatever your ddns name for your HDA is.  Save this file as whatever you want with the .ovpn file extension.  The next step is to download the certificates.  The certificates can be found below (to download, right click > save as):
  
 
* [http://dl.amahi.org/vpn/AmahiHDAClient.crt AmahiHDAClient.crt]
 
* [http://dl.amahi.org/vpn/AmahiHDAClient.crt AmahiHDAClient.crt]
Line 40: Line 44:
 
* [http://dl.amahi.org/vpn/ca-cert.crt ca-cert.crt]
 
* [http://dl.amahi.org/vpn/ca-cert.crt ca-cert.crt]
  
You are now ready to copy your files over to your iOS device.  The steps at the following page will point you in the right direction for importing the ovpn and cert files over to your iOS device.
+
If you rename these certificates you will need to modify the ovpn file with the names that you saved your certs as.  You are now ready to copy your files over to your iOS device.  The steps at the following page will point you in the right direction for importing the ovpn and cert files over to your iOS device.
  
 
[https://www.ivpn.net/knowledgebase/90/-iPhone---OpenVPN-Connect-Setup-Guide.html iOS OpenVPN]
 
[https://www.ivpn.net/knowledgebase/90/-iPhone---OpenVPN-Connect-Setup-Guide.html iOS OpenVPN]

Revision as of 05:12, 8 March 2014

From the original iPhone VPN thread in the forums:

For all of you out there that have an iPhone or any other mobile "idevice" And want VPN access I have found a way. The catch is, you have to have a jail broken device. If you do have a jail broken device and want the openvpn app on the phone you will want to check out www.guizmovpn.com it's about 4€. The evaluation period is a full week. But the price is worth it.

To configure the client you will need to follow the guide on www.guizmovpn.com The client info you will need to get from the wiki here http://wiki.amahi.org/index.php/VPNLinux

I have also created a full guide custom tailored to amahi vpn access. It might seem like a little to much or a hassle but its really simple. It just takes the time to read. http://home.mchsi.com/~irish-link/GuizmOVPN.pdf

If you go to set it up and have issues please head over to the forum (liked at the top) and let me know if you need help. If you do end up setting it up, let me know how it works for you.


The above is no longer true. There is now an OpenVPN app in the app store that is free. The iOS app can be downloaded from here:

iOS OpenVPN app

To setup your connection to your HDA, perform the following steps:

First create your ovpn file using the following (the order that these items come in is VERY important) configuration:

client
dev tun
proto udp
remote XXXX.yourhda.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
ca Ca-cert.crt
cert AmahiHDAClient.crt
key AmahiHDAClient.key
comp-lzo
verb 3

Be sure to replace the XXXX to whatever your ddns name for your HDA is. Save this file as whatever you want with the .ovpn file extension. The next step is to download the certificates. The certificates can be found below (to download, right click > save as):

If you rename these certificates you will need to modify the ovpn file with the names that you saved your certs as. You are now ready to copy your files over to your iOS device. The steps at the following page will point you in the right direction for importing the ovpn and cert files over to your iOS device.

iOS OpenVPN