Remove old fix

This fix was intended to overcome hardcoded buffers values in old OpenVPN revisions (see https://www.lowendtalk.com/discussion/40099/why-openvpn-is-so-slow-cool-story). This is not needed anymore, as OpenVPN now use OS buffers (see https://community.openvpn.net/openvpn/ticket/461 and https://community.openvpn.net/openvpn/changeset/c72dbb8b470ab7b25fc74e41aed4212db48a9d2f/). It should lead to better performances over fast networks.

Signed-off-by: Florian STOSSE <contact@harvester.fr>
This commit is contained in:
Florian STOSSE 2016-03-22 11:47:24 +01:00
parent 6b4c00c394
commit 9aeb5b7c47

View File

@ -279,8 +279,6 @@ set_var EASYRSA_DIGEST "sha384"" > vars
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
@ -415,8 +413,6 @@ crl-verify 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