certidude/certidude/templates/openvpn-site-to-client.ovpn

23 lines
491 B
Plaintext
Raw Normal View History

2015-07-26 20:34:46 +00:00
mode server
tls-server
proto {{proto}}
port {{port}}
dev tap
2015-07-26 20:34:46 +00:00
local {{local}}
key {{key_path}}
cert {{certificate_path}}
ca {{authority_path}}
crl-verify {{revocations_path}}
2015-07-27 15:49:50 +00:00
dh {{dhparam_path}}
2015-07-26 20:34:46 +00:00
comp-lzo
user nobody
group nogroup
persist-tun
persist-key
2015-07-26 20:34:46 +00:00
ifconfig-pool-persist /tmp/openvpn-leases.txt
ifconfig {{subnet_first}} {{subnet.netmask}}
server-bridge {{subnet_first}} {{subnet.netmask}} {{subnet_second}} {{subnet_last}}
2015-08-13 08:11:08 +00:00
{% for subnet in route %}
push "route {{subnet}}"
{% endfor %}