summaryrefslogtreecommitdiffstats
path: root/roles/openvpn/templates/katrin/openvpn_client.j2
blob: a09322e88693587d448f0a87aba4bc0a020ddb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
client
remote {{openvpn_lb}} {{openvpn_port}}
proto tcp
dev tun

topology subnet

ca {{openvpn_keydir}}/ca.crt
cert {{openvpn_keydir}}/node.crt
key {{openvpn_keydir}}/node.key
dh {{openvpn_keydir}}/dh1024.pem

resolv-retry infinite
keepalive 5 15
comp-lzo
#user nobody
#group nobody
persist-key
persist-tun

log /var/log/openvpn_{{openvpn_config}}.log
status /var/log/openvpn_{{openvpn_config}}_status.log
verb 3