Files
ansible-collection/roles/openvpn/templates/liqueur/absinthe.conf.j2
T

30 lines
681 B
Django/Jinja
Raw Normal View History

2026-10-02 21:34:01 +04:00
port 1195
proto tcp
dev tap0
dev-type tap
server-bridge nogw
client-to-client
keepalive 10 60
cipher AES-256-GCM
auth SHA256
persist-key
persist-tun
status openvpn-tap0-status.log
verb 6
tun-mtu 1500
mssfix 1300
script-security 2
up /etc/openvpn/tap0-up.sh
down /etc/openvpn/tap0-down.sh
<ca>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tap0/ca.crt') }}
</ca>
<cert>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tap0/issued/server.crt') }}
</cert>
<key>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tap0/private/server.key') }}
</key>
<dh>
{{ lookup('file', hostvars["localhost"]["easyrsa_dir"] + '/pki/tap0/dh.pem') }}
</dh>