update example
update readme update readme
This commit is contained in:
parent
c801f1c5b1
commit
17c5440205
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ 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 > myprofile.ovpn
|
sudo ./ovpngen titty.nipples.org /etc/openvpn/ca.crt /etc/easy-rsa/pki/signed/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > iphone.ovpn
|
||||||
```
|
```
|
||||||
|
|
||||||
The resulting myprofile.ovpn can be edited if desired.
|
The resulting myprofile.ovpn can be edited if desired.
|
||||||
|
|
2
ovpngen
2
ovpngen
|
@ -18,7 +18,7 @@ if [[ -z ${1} ]]; then
|
||||||
echo " PROTO = Protocol (defaults to udp if left blank)"
|
echo " PROTO = Protocol (defaults to udp if left blank)"
|
||||||
echo
|
echo
|
||||||
echo "For example:"
|
echo "For example:"
|
||||||
echo "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"
|
echo "ovpngen titty.nipples.org /etc/openvpn/ca.crt /etc/easy-rsa/pki/signed/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key > iphone.ovpn"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue