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>
This commit is contained in:
1 parent
7d6f44c965
commit
d29c261347
5 files changed
+81
-14
No files matched your search
@@ -1,25 +1,19 @@
|
||||
client
|
||||
dev tun
|
||||
windows-driver wintun
|
||||
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 %}
|
||||
user nobody
|
||||
group nobody
|
||||
persist-key
|
||||
persist-tun
|
||||
|
||||
{% if protocol == 'tcp' %}
|
||||
tls-client
|
||||
{% else %}
|
||||
#tls-client
|
||||
{% endif %}
|
||||
|
||||
mute-replay-warnings
|
||||
|
||||
remote-cert-tls server
|
||||
|
||||
Reference in new issue
Block a user