Files
OpenVPN-Monitoring-Simple/APP_PROFILER/templates/client.ovpn.j2
T
ayurishchevandClaude Sonnet 5.5 d29c261347 OpenVPN templates: drop windows-driver, tls-client, client user/group
windows-driver was removed in OpenVPN 2.7 and broke clients; add
explicit-exit-notify for UDP clients, tidy the server template.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-07 09:38:09 +03:00

39 lines
533 B
Django/Jinja

client
dev tun
proto {{ protocol }}
remote {{ remote_ip }} {{ port }}
resolv-retry infinite
nobind
{% if protocol == 'udp' %}
explicit-exit-notify
{% endif %}
{% if tun_mtu %}
tun-mtu {{ tun_mtu }}
{% endif %}
persist-key
persist-tun
mute-replay-warnings
remote-cert-tls server
data-ciphers CHACHA20-POLY1305:AES-256-GCM:AES-256-CBC
data-ciphers-fallback AES-256-CBC
auth SHA256
verb 3
key-direction 1
<ca>
{{ ca_cert }}
</ca>
<cert>
{{ client_cert }}
</cert>
<key>
{{ client_key }}
</key>
<tls-auth>
{{ tls_auth }}
</tls-auth>