You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
507 B
Twig
34 lines
507 B
Twig
port {{ server.getPort() }}
|
|
proto {{ server.getProtocol() }}
|
|
|
|
dev ovpn0
|
|
dev-type tun
|
|
|
|
ca ca.crt
|
|
cert server.crt
|
|
key server.key
|
|
|
|
dh dh2048.pem
|
|
|
|
server {{ server.getInternalIp() }} {{ server.getNetmaskIp() }}
|
|
|
|
ifconfig-pool-persist ipp.txt
|
|
|
|
push "redirect-gateway def1 bypass-dhcp"
|
|
|
|
push "dhcp-option DNS {{ server.getFirstDns() }}"
|
|
push "dhcp-option DNS {{ server.getSecondDns() }}"
|
|
keepalive 10 120
|
|
cipher AES-256-CBC
|
|
|
|
crl-verify crl.pem
|
|
|
|
comp-lzo
|
|
|
|
user nobody
|
|
group nogroup
|
|
|
|
persist-key
|
|
persist-tun
|
|
|
|
verb 0 |