summaryrefslogtreecommitdiff
path: root/roles/network/openvpn/client/templates/conf.j2
blob: f9d8775b84d1e7618fc48c1b08097d55ef2289f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
client
proto udp
remote {{ openvpn_zone.server_addr }} {{ openvpn_zone.server_port }}
ping 60
ping-timer-rem

tls-client
ca /etc/ssl/openvpn/{{ openvpn_zone.name }}/ca-crt.pem
cert /etc/ssl/openvpn/{{ openvpn_zone.name }}/client/crt.pem
key /etc/ssl/openvpn/{{ openvpn_zone.name }}/client/key.pem
remote-cert-tls server
cipher AES-256-GCM
persist-key

dev tun
persist-tun

pull