Files
ansible-collection/roles/openvpn/templates/router/mur89.conf.j2
T

24 lines
538 B
Django/Jinja
Raw Normal View History

2026-10-02 21:34:01 +04:00
client
dev tun0
proto tcp
remote 127.0.0.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA256
cipher AES-256-GCM
verb 3
script-security 2
up /etc/openvpn/tun0-up.sh
down /etc/openvpn/tun0-down.sh
<ca>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tun0/ca.crt') }}
</ca>
<cert>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tun0/issued/mur89.crt') }}
</cert>
<key>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tun0/private/mur89.key') }}
</key>