Files
OpenVPN-Monitoring-Simple/APP_PROFILER/templates/client.ovpn.j2
T

38 lines
533 B
Django/Jinja
Raw Normal View History

2026-01-28 22:37:47 +03:00
client
dev tun
proto {{ protocol }}
remote {{ remote_ip }} {{ port }}
resolv-retry infinite
nobind
{% if protocol == 'udp' %}
explicit-exit-notify
{% endif %}
2026-01-28 22:37:47 +03:00
{% 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>