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,9 +1,6 @@
|
||||
dev tun
|
||||
proto {{ protocol }}
|
||||
{% if protocol == 'tcp' %}
|
||||
tls-server
|
||||
{% else %}
|
||||
# explicit-exit-notify 1
|
||||
{% if protocol != 'tcp' %}
|
||||
explicit-exit-notify 1
|
||||
{% endif %}
|
||||
port {{ port }}
|
||||
@@ -28,7 +25,6 @@ server {{ vpn_network }} {{ vpn_netmask }}
|
||||
|
||||
ifconfig-pool-persist /etc/openvpn/ipp.txt
|
||||
|
||||
log /var/log/openvpn/openvpn.log
|
||||
log-append /var/log/openvpn/openvpn.log
|
||||
|
||||
verb 3
|
||||
|
||||
Reference in new issue
Block a user