1
0
Fork 0
mirror of synced 2024-12-22 06:51:07 -05:00

add commented options for cipher and auth

This commit is contained in:
graysky 2016-08-02 03:31:46 -04:00
parent 6cb5098296
commit c801f1c5b1
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
## Overview
A simple shell script that creates OpenVPN compatible tunnel profiles in the unified file format. Tested on iOS version 1.0.7 build 199 of OpenVPN Connect and likely works with the Android app as well.
A simple shell script that creates OpenVPN compatible tunnel profiles in the unified file format. Tested on iOS version 1.0.7 build 199 of OpenVPN Connect and likely works with the Android app as well as the official Linux client.
## Usage
Invoke the script with 5 tokens and the profile is outputted to stdout.
@ -13,10 +13,10 @@ Invoke the script with 5 tokens and the profile is outputted to stdout.
### Example
```
sudo ./ovpngen titty.nipples.org /etc/easy-rsa/pki/ca.crt /etc/easy-rsa/pki/issued/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > iphone.ovpn
sudo ./ovpngen titty.nipples.org /etc/easy-rsa/pki/ca.crt /etc/easy-rsa/pki/issued/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > myprofile.ovpn
```
The resulting iphone.ovpn can be edited if desired.
The resulting myprofile.ovpn can be edited if desired.
### Credit
Majority of the credit goes to the script's original author, [trovao](https://github.com/trovao). His version can be found [here](https://gist.github.com/trovao/18e428b5a758df24455b).

View file

@ -39,6 +39,10 @@ nobind
persist-key
persist-tun
verb 3
# optionally uncomment and change to exactly match the values specified
# in /etc/openvpn/server.conf
#cipher AES-256-CBC
#auth SHA512
comp-lzo
remote-cert-tls server
key-direction 1