mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 08:49:03 +01:00
Do not allow OpenVPN to set (low) buffer sizes
This commit is contained in:
parent
d32416561b
commit
15a39afd11
@ -222,6 +222,8 @@ else
|
||||
echo "port $PORT
|
||||
proto udp
|
||||
dev tun
|
||||
sndbuf 0
|
||||
rcvbuf 0
|
||||
ca ca.crt
|
||||
cert server.crt
|
||||
key server.key
|
||||
@ -335,6 +337,8 @@ crl-verify /etc/openvpn/easy-rsa/pki/crl.pem" >> /etc/openvpn/server.conf
|
||||
echo "client
|
||||
dev tun
|
||||
proto udp
|
||||
sndbuf 0
|
||||
rcvbuf 0
|
||||
remote $IP $PORT
|
||||
resolv-retry infinite
|
||||
nobind
|
||||
|
Loading…
Reference in New Issue
Block a user