Add doc for OpenVPN config file auto-generation
This commit is contained in:
parent
091b32ee73
commit
326664676b
18
README.md
18
README.md
|
@ -34,6 +34,24 @@ chown -R _shellpki:_shellpki /etc/shellpki
|
||||||
%_shellpki ALL = (root) /usr/local/sbin/shellpki
|
%_shellpki ALL = (root) /usr/local/sbin/shellpki
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
## OpenVPN
|
||||||
|
|
||||||
|
If you want auto-generation of OpenVPN config file in /etc/shellpki/openvpn, you need to create a template file in /etc/shellpki/ovpn.conf, eg. :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
client
|
||||||
|
dev tun
|
||||||
|
tls-client
|
||||||
|
proto udp
|
||||||
|
|
||||||
|
remote ovpn.example.com 1194
|
||||||
|
|
||||||
|
persist-key
|
||||||
|
persist-tun
|
||||||
|
|
||||||
|
cipher AES-256-CBC
|
||||||
|
~~~
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue