22 lines
412 B
Text
22 lines
412 B
Text
|
{{ ansible_managed | comment }}
|
||
|
|
||
|
client
|
||
|
dev {{ openvpn_dev | default('tun') }}
|
||
|
proto {{ openvpn_proto | default('udp') }}
|
||
|
remote {{ openvpn_remote_host }} {{ openvpn_remote_port | default(1194) }}
|
||
|
resolv-retry infinite
|
||
|
nobind
|
||
|
user nobody
|
||
|
group nogroup
|
||
|
persist-key
|
||
|
persist-tun
|
||
|
ca ca.crt
|
||
|
cert client.crt
|
||
|
key client.key
|
||
|
remote-cert-tls server
|
||
|
tls-auth ta.key 1
|
||
|
cipher AES-256-CBC
|
||
|
auth SHA256
|
||
|
verb 3
|
||
|
key-direction 1
|