The *dch-openvpn-server* role installs and configures OpenVPN and stunnel to provide both native OpenVPN service as well as OpenVPN-over-TLS. The latter uses stunnel, listening on TCP port 9876, to allow better firewall traversal and TCP port sharing via reverse proxy.
6 lines
134 B
Django/Jinja
6 lines
134 B
Django/Jinja
[openvpn]
|
|
accept = 0.0.0.0:9876
|
|
connect = localhost:1194
|
|
cert = /etc/pki/tls/certs/openvpn.cer
|
|
key = /etc/pki/tls/private/openvpn.key
|