From 5fa9fe5c027886e206739b34b00683ddecdd4d54 Mon Sep 17 00:00:00 2001 From: graysky Date: Sat, 1 Sep 2018 11:13:34 -0400 Subject: [PATCH] update readme --- README.md | 6 +++--- ovpngen | 18 +++++++----------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e76f9ea..02f4b7b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Overview A simple shell script that creates OpenVPN compatible tunnel profiles in the unified file format. Tested on: -* Linux OpenVPN version 2.4.4 -* iOS version 1.2.5 build 1 of OpenVPN Connect +* Linux OpenVPN version 2.4.6 +* iOS version 3.0.0.(712) of OpenVPN Connect * Android version 0.6.73 of OpenVPN for Android ## Usage @@ -14,7 +14,7 @@ Invoke the script with 5 tokens and the profile is outputted to stdout. 6. Optionally define a port number (defaults to 1194 if left blank). 7. Optionally define a protocol (defaults to udp if left blank). -### Example (run as root) using all 7 augments to setup a profile working port 443 using TCP +### Example (run as root) using all 7 arguments to setup a profile working port 443 using TCP ``` CLIENT=foo diff --git a/ovpngen b/ovpngen index b4e5d6c..ea7c67f 100644 --- a/ovpngen +++ b/ovpngen @@ -1,6 +1,6 @@ #!/bin/bash -## Tested and works with OpenVPN Connect 1.2.5 build 1 (iOS 64-bit) on iOS 11.2.2 +## Tested and works with OpenVPN Connect 1.2.9 build 0 (iOS 64-bit) on iOS 11.4.1 ## ## Majority of the credit goes to the script's original author, trovao ## Link to original script: https://gist.github.com/trovao/18e428b5a758df24455b @@ -22,7 +22,7 @@ EOF echo 'For example:' echo echo 'CLIENT=jason' - echo "$0 nipple.titty.org \\" + echo "$0 my.openvpn-server.com \\" echo ' /etc/openvpn/server/ca.crt \' echo ' /etc/easy-rsa/pki/signed/$CLIENT.crt \' echo ' /etc/easy-rsa/pki/private/$CLIENT.key \' @@ -64,19 +64,15 @@ persist-key persist-tun verb 3 ### -### optionally uncomment and change both the cipher and auth lines 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 ${server} #cipher AES-256-CBC #auth SHA512 ### -### 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 -### -### ### scroll down and optionally change the tag set to -### to match how your server is configured since these options are mutually -### exclusive +### to match how the server is configured since these options are mutually +### exclusive! +### remote-cert-tls server key-direction 1