Difference between revisions of "Configurations for OpenVPN client"
From wiki.IPBRICK.COM
(→Example on how to rewrite the certificate) |
(→Example on how to rewrite the certificate) |
||
Line 28: | Line 28: | ||
Then, open your .ovpn file and edit. | Then, open your .ovpn file and edit. | ||
− | # Find "ca ca-server-ipbrick.crt" | + | # Find "ca ca-server-ipbrick.crt": |
− | #:* Place | + | #:* Place ";" before "ca ca-server-ipbrick.crt"; |
#:* Enter a new line below; | #:* Enter a new line below; | ||
#:* Type "<ca>"; | #:* Type "<ca>"; | ||
#:* Enter another line; | #:* Enter another line; | ||
− | #:* | + | #:* Copy all of the content from the file "ca-server-ipbrick.crt"; |
#:* Enter another line; | #:* Enter another line; | ||
#:* Type </ca>. | #:* Type </ca>. | ||
− | # Immediately below, find "cert user.crt" | + | # Immediately below, find "cert user.crt": |
− | #:* Place | + | #:* Place ";" before "cert user.crt"; |
#:* Enter a new line below; | #:* Enter a new line below; | ||
#:* Type "<cert>"; | #:* Type "<cert>"; | ||
#:* Enter another line; | #:* Enter another line; | ||
− | #:* | + | #:* Copy all of the content from the file "cert user.crt"; |
#:* Enter another line; | #:* Enter another line; | ||
#:* Type </cert>. | #:* Type </cert>. | ||
− | # Once more, immediately below find "key user.key" | + | # Once more, immediately below find "key user.key": |
− | #:* Place | + | #:* Place ";" before "key user.key"; |
#:* Enter a new line below; | #:* Enter a new line below; | ||
#:* Type "<key>"; | #:* Type "<key>"; | ||
#:* Enter another line; | #:* Enter another line; | ||
− | #:* | + | #:* Copy all of the content from the file "key user.key"; |
#:* Enter another line; | #:* Enter another line; | ||
#:* Type </key>. | #:* Type </key>. | ||
− | Your .ovpn file is now ready. You can see | + | ''Note'': Use a text editor to open the files and copy its content. |
+ | |||
+ | Your .ovpn file is now ready. You can see here the example created from the files presented: user.ovpn - http://downloads3.ipbrick.com/wiki/user.ovpn. |
Revision as of 14:02, 25 January 2016
***PAGE ON CONSTRUCTION***
How to configure an OpenVPN cliente for iOS IPhone/IPad
- Download and install the application OpenVPN Connect from the Apple Store (iTunes):
- Install the certificate: the certificate.zip needs to be handled and rewritten so it fits all together in a single .ovpn file (the chapter below explains how to rewrite it);
- Send the .ovpn file to the device, click to open and it will be automatically associated to the openVPN APP.
Example on how to rewrite the certificate
Once you have the zip file, decompress it.
ZIP file: user.zip - http://downloads3.ipbrick.com/wiki/user.zip
Inside you'll find four files:
- ca-server-ipbrick.crt
md5sum: ca8153af46bf8cddab95a064e54c1474 ca-server-ipbrick.crt
- user.crt
md5sum: c7a060b8e842415586c25319188eac8b user.crt
- user.key
md5sum: c0898f304cef0dd56e38243937226883 user.key
- user.ovpn
md5sum: f03249bce06c8107c4d109faa34a75c8 user.ovpn
Then, open your .ovpn file and edit.
- Find "ca ca-server-ipbrick.crt":
- Place ";" before "ca ca-server-ipbrick.crt";
- Enter a new line below;
- Type "<ca>";
- Enter another line;
- Copy all of the content from the file "ca-server-ipbrick.crt";
- Enter another line;
- Type </ca>.
- Immediately below, find "cert user.crt":
- Place ";" before "cert user.crt";
- Enter a new line below;
- Type "<cert>";
- Enter another line;
- Copy all of the content from the file "cert user.crt";
- Enter another line;
- Type </cert>.
- Once more, immediately below find "key user.key":
- Place ";" before "key user.key";
- Enter a new line below;
- Type "<key>";
- Enter another line;
- Copy all of the content from the file "key user.key";
- Enter another line;
- Type </key>.
Note: Use a text editor to open the files and copy its content.
Your .ovpn file is now ready. You can see here the example created from the files presented: user.ovpn - http://downloads3.ipbrick.com/wiki/user.ovpn.