Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
d547c7f607
commit
096a3e0540
69 changed files with 1650 additions and 0 deletions
21
templates/openvpn/client.conf.j2
Normal file
21
templates/openvpn/client.conf.j2
Normal file
|
@ -0,0 +1,21 @@
|
|||
{{ 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
|
Loading…
Add table
Add a link
Reference in a new issue