content:en_us:7_ug_openvpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
content:en_us:7_ug_openvpn [2020/07/20 08:43]
84.9.57.48
content:en_us:7_ug_openvpn [2021/01/25 09:18]
84.9.57.48
Line 325: Line 325:
 ==== Alternative Method ==== ==== Alternative Method ====
  
-There is an alternative way of importing the profile information in iOS which is also compatible with Android and Windows, but it means manipulating the .ovpn file. It has the advantage of putting the certificates in a single file with the profile information and is therefore suitable for importing from an e-mail or browser.+There is an alternative way of importing the profile information in iOS which is also compatible with Android and Windows, but it means manipulating the .ovpn file to embed the certificates in it. It has the advantage of putting the certificates in a single file with the profile information and is therefore suitable for importing from an e-mail or browser.
  
 <​note>​ <​note>​
Line 338: Line 338:
 </​code>​ </​code>​
  
-Your file should look something like this.+Your file should ​then look something like this
 +<​code>​ 
 +client 
 +remote [hostname] 1194 
 +dev tun 
 +proto udp 
 +resolv-retry infinite 
 +nobind 
 +user nobody 
 +group nobody 
 +persist-key 
 +persist-tun 
 +ns-cert-type server 
 +comp-lzo 
 +verb 3 
 +float 
 +auth-user-pass 
 +</​code>​
 Be sure that your '​hostname'​ is defined correctly. ​ It should match the hostname used to access ClearOS. Be sure that your '​hostname'​ is defined correctly. ​ It should match the hostname used to access ClearOS.
  
 +Then add your certificates to make the file look like:
 <​code>​ <​code>​
 client client
Line 376: Line 394:
  
 Now you no longer need the separate certificate and key files. This alternative profile can be imported directly from an e-mail in iOS or, if you can put it in a location where you can browse to it, you can download it with the Safari browser. Now you no longer need the separate certificate and key files. This alternative profile can be imported directly from an e-mail in iOS or, if you can put it in a location where you can browse to it, you can download it with the Safari browser.
 +
 +<note tip>This method should also work with Windows and Android and possibly most other operating systems. Just be sure that you modify the ovpn file relevant for your O/​S.</​note>​
  
 === Importing Configuration File into iOS === === Importing Configuration File into iOS ===
content/en_us/7_ug_openvpn.txt · Last modified: 2021/03/31 10:14 by 84.9.57.48