mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-11-16 01:07:10 +00:00
Merge pull request #88 from ValdikSS/buf
Do not allow OpenVPN to set (low) buffer sizes
This commit is contained in:
commit
73da43b872
@ -222,6 +222,8 @@ else
|
|||||||
echo "port $PORT
|
echo "port $PORT
|
||||||
proto udp
|
proto udp
|
||||||
dev tun
|
dev tun
|
||||||
|
sndbuf 0
|
||||||
|
rcvbuf 0
|
||||||
ca ca.crt
|
ca ca.crt
|
||||||
cert server.crt
|
cert server.crt
|
||||||
key server.key
|
key server.key
|
||||||
@ -335,6 +337,8 @@ crl-verify /etc/openvpn/easy-rsa/pki/crl.pem" >> /etc/openvpn/server.conf
|
|||||||
echo "client
|
echo "client
|
||||||
dev tun
|
dev tun
|
||||||
proto udp
|
proto udp
|
||||||
|
sndbuf 0
|
||||||
|
rcvbuf 0
|
||||||
remote $IP $PORT
|
remote $IP $PORT
|
||||||
resolv-retry infinite
|
resolv-retry infinite
|
||||||
nobind
|
nobind
|
||||||
|
Loading…
Reference in New Issue
Block a user