web/views/etc/openvpn-server.conf.twig

34 lines
507 B
Twig
Raw Normal View History

2016-06-12 17:48:33 +00:00
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
2016-09-02 20:49:47 +00:00
cipher AES-256-CBC
2016-06-12 17:48:33 +00:00
crl-verify crl.pem
comp-lzo
user nobody
group nogroup
persist-key
2016-09-02 20:49:47 +00:00
persist-tun
verb 0