1
0
mirror of https://github.com/Luzifer/vault-openvpn.git synced 2024-09-19 17:42:56 +00:00
vault-openvpn/example/living-example/server.conf
2016-07-25 00:51:25 +02:00

35 lines
455 B
Plaintext

server 10.231.0.0 255.255.255.0
route 10.231.0.0 255.255.255.0
keepalive 5 30
persist-key
persist-tun
proto udp
port 1194
dev tap
status /var/log/openvpn-status.log
client-to-client
ifconfig-pool-persist /etc/openvpn/ipp.txt
verb 3
push dhcp-option DNS 8.8.8.8
push dhcp-option DNS 8.8.4.4
dh /etc/openvpn/dh2048.pem
crl-verify /etc/openvpn/crl.pem
<ca>
{{ .CertAuthority }}
</ca>
<cert>
{{ .Certificate }}
</cert>
<key>
{{ .PrivateKey }}
</key>