23 lines
491 B
Plaintext
23 lines
491 B
Plaintext
mode server
|
|
tls-server
|
|
proto {{proto}}
|
|
port {{port}}
|
|
dev tap
|
|
local {{local}}
|
|
key {{key_path}}
|
|
cert {{certificate_path}}
|
|
ca {{authority_path}}
|
|
crl-verify {{revocations_path}}
|
|
dh {{dhparam_path}}
|
|
comp-lzo
|
|
user nobody
|
|
group nogroup
|
|
persist-tun
|
|
persist-key
|
|
ifconfig-pool-persist /tmp/openvpn-leases.txt
|
|
ifconfig {{subnet_first}} {{subnet.netmask}}
|
|
server-bridge {{subnet_first}} {{subnet.netmask}} {{subnet_second}} {{subnet_last}}
|
|
{% for subnet in route %}
|
|
push "route {{subnet}}"
|
|
{% endfor %}
|