add commented options for cipher and auth
This commit is contained in:
parent
6cb5098296
commit
c801f1c5b1
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
## Overview
|
## 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
|
## Usage
|
||||||
Invoke the script with 5 tokens and the profile is outputted to stdout.
|
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
|
### 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
|
### 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).
|
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).
|
||||||
|
|
4
ovpngen
4
ovpngen
|
@ -39,6 +39,10 @@ nobind
|
||||||
persist-key
|
persist-key
|
||||||
persist-tun
|
persist-tun
|
||||||
verb 3
|
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
|
comp-lzo
|
||||||
remote-cert-tls server
|
remote-cert-tls server
|
||||||
key-direction 1
|
key-direction 1
|
||||||
|
|
Loading…
Reference in a new issue