update readme
This commit is contained in:
parent
5cbf1c8f3b
commit
5fa9fe5c02
2 changed files with 10 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
||||||
## Overview
|
## Overview
|
||||||
A simple shell script that creates OpenVPN compatible tunnel profiles in the unified file format. Tested on:
|
A simple shell script that creates OpenVPN compatible tunnel profiles in the unified file format. Tested on:
|
||||||
* Linux OpenVPN version 2.4.4
|
* Linux OpenVPN version 2.4.6
|
||||||
* iOS version 1.2.5 build 1 of OpenVPN Connect
|
* iOS version 3.0.0.(712) of OpenVPN Connect
|
||||||
* Android version 0.6.73 of OpenVPN for Android
|
* Android version 0.6.73 of OpenVPN for Android
|
||||||
|
|
||||||
## Usage
|
## 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).
|
6. Optionally define a port number (defaults to 1194 if left blank).
|
||||||
7. Optionally define a protocol (defaults to udp 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
|
CLIENT=foo
|
||||||
|
|
||||||
|
|
18
ovpngen
18
ovpngen
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/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
|
## Majority of the credit goes to the script's original author, trovao
|
||||||
## Link to original script: https://gist.github.com/trovao/18e428b5a758df24455b
|
## Link to original script: https://gist.github.com/trovao/18e428b5a758df24455b
|
||||||
|
@ -22,7 +22,7 @@ EOF
|
||||||
echo 'For example:'
|
echo 'For example:'
|
||||||
echo
|
echo
|
||||||
echo 'CLIENT=jason'
|
echo 'CLIENT=jason'
|
||||||
echo "$0 nipple.titty.org \\"
|
echo "$0 my.openvpn-server.com \\"
|
||||||
echo ' /etc/openvpn/server/ca.crt \'
|
echo ' /etc/openvpn/server/ca.crt \'
|
||||||
echo ' /etc/easy-rsa/pki/signed/$CLIENT.crt \'
|
echo ' /etc/easy-rsa/pki/signed/$CLIENT.crt \'
|
||||||
echo ' /etc/easy-rsa/pki/private/$CLIENT.key \'
|
echo ' /etc/easy-rsa/pki/private/$CLIENT.key \'
|
||||||
|
@ -64,19 +64,15 @@ persist-key
|
||||||
persist-tun
|
persist-tun
|
||||||
verb 3
|
verb 3
|
||||||
###
|
###
|
||||||
### optionally uncomment and change both the cipher and auth lines to exactly
|
### optionally uncomment and change both the cipher and auth lines to EXACTLY
|
||||||
### match the values specified in /etc/openvpn/server/server.conf
|
### match the values specified in ${server}
|
||||||
#cipher AES-256-CBC
|
#cipher AES-256-CBC
|
||||||
#auth SHA512
|
#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 <tls-auth> tag set to <tls-crypt>
|
### scroll down and optionally change the <tls-auth> tag set to <tls-crypt>
|
||||||
### to match how your server is configured since these options are mutually
|
### to match how the server is configured since these options are mutually
|
||||||
### exclusive
|
### exclusive!
|
||||||
|
###
|
||||||
remote-cert-tls server
|
remote-cert-tls server
|
||||||
key-direction 1
|
key-direction 1
|
||||||
<ca>
|
<ca>
|
||||||
|
|
Loading…
Reference in a new issue