镜像自地址
https://github.com/angristan/openvpn-install.git
已同步 2025-09-17 17:50:46 +02:00
Add explicit-exit-notify for UDP (#579)
For faster reconnects with UDP is better to send the the explicit-exit-notify to server. With this the server can directly see, that the client will exit.
这个提交包含在:
父节点
14bcfbd531
当前提交
130659b003
@ -964,6 +964,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables-openvpn.service
|
||||
echo "client" > /etc/openvpn/client-template.txt
|
||||
if [[ "$PROTOCOL" = 'udp' ]]; then
|
||||
echo "proto udp" >> /etc/openvpn/client-template.txt
|
||||
echo "explicit-exit-notify" >> /etc/openvpn/client-template.txt
|
||||
elif [[ "$PROTOCOL" = 'tcp' ]]; then
|
||||
echo "proto tcp-client" >> /etc/openvpn/client-template.txt
|
||||
fi
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户