ansible-pilote/templates/openvpn/client.conf.j2

23 lines
437 B
Text
Raw Normal View History

{{ 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
data-ciphers AES-256-CBC
auth SHA256
verb 3
key-direction 1