How to rewrite an OpenVPN file
From wiki.IPBRICK.COM
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.
- 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.