This commit is contained in:
graysky 2017-12-30 09:49:20 -05:00
parent cb19b7ffec
commit 53a738c728
1 changed files with 9 additions and 4 deletions

13
ovpngen
View File

@ -1,6 +1,6 @@
#!/bin/bash
## Tested and works with OpenVPN Connect 1.0.7 build 199 (iOS 64-bit) on iOS 10.2
## Tested and works with OpenVPN Connect 1.1.1 build 212 (iOS 64-bit) on iOS 11.2.1
##
## Majority of the credit goes to the script's original author, trovao
## Link to original script: https://gist.github.com/trovao/18e428b5a758df24455b
@ -63,11 +63,16 @@ nobind
persist-key
persist-tun
verb 3
# optionally uncomment and change to exactly match the values specified
# in /etc/openvpn/server/server.conf
###
### optionally uncomment and change both the cipher and auth lines to exactly
### match the values specified in /etc/openvpn/server/server.conf
#cipher AES-256-CBC
#auth SHA512
comp-lzo
###
### depending on how /etc/openvpn/server/server.conf is configured, uncomment
### the following line if you are not using the compression push option therein
#comp-lzo
###
remote-cert-tls server
key-direction 1
<ca>