Can`t brake 200Mbs limit (Linux/Windows).
Posted: Sun Dec 18, 2016 3:08 pm
Good day!
Last week I spent many hours to breake OpenVPN bandwidth limit 200Mbs.
I use two different network topology and OS, but result same - 200Mbs.
First topology:
Ubuntu16(client X5645)<------>ISP(500Mbs)<----->FW<----->Ubuntu16(server X5670)
OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6]
OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08

Server:
Client:
And second topology:
Laptop(corei5_Win7)<------------------>Laptop(corei5_Win10)
OpenVPN 2.3.8 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 4 2015
OpenSSL 1.0.1p 9 Jul 2015, LZO 2.08

Server:
Client:
Even between to laptops I can`t reach more than 230Mbs (average 200mbs). Many tests with different values such as tun-mtu, mssfix, fragment etc. does not any effect. Only sndbuf/rcvbuf 3MB values help`s reach 200Mbs.
Help, pls!
Last week I spent many hours to breake OpenVPN bandwidth limit 200Mbs.
I use two different network topology and OS, but result same - 200Mbs.
First topology:
Ubuntu16(client X5645)<------>ISP(500Mbs)<----->FW<----->Ubuntu16(server X5670)
OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6]
OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08

Server:
Code: Select all
port 1195
proto udp
dev tap0
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
sndbuf 1572864
rcvbuf 1572864
push "sndbuf 1572864"
push "rcvbuf 1572864"
server 172.16.8.0 255.255.255.128
client-config-dir ccd
client-to-client
keepalive 10 120
tcp-nodelay
fast-io
cipher AES-128-CBC
auth none
comp-lzo
push "comp-lzo yes"
Code: Select all
client
dev tap0
proto udp
remote x.x.x.x 1195
resolv-retry infinite
nobind
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
cipher AES-128-CBC
auth none
pull
Laptop(corei5_Win7)<------------------>Laptop(corei5_Win10)
OpenVPN 2.3.8 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 4 2015
OpenSSL 1.0.1p 9 Jul 2015, LZO 2.08

Server:
Code: Select all
port 1195
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 172.16.8.0 255.255.255.128
client-config-dir ccd
sndbuf 3145728
rcvbuf 3145728
push "sndbuf 3145728"
push "rcvbuf 3145728"
cipher AES-128-CBC
auth none
comp-lzo yes
push "comp-lzo yes"
Code: Select all
client
dev tap
proto udp
remote 10.10.10.1 1195
resolv-retry infinite
nobind
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
cipher AES-128-CBC
auth none
pull
Even between to laptops I can`t reach more than 230Mbs (average 200mbs). Many tests with different values such as tun-mtu, mssfix, fragment etc. does not any effect. Only sndbuf/rcvbuf 3MB values help`s reach 200Mbs.
Help, pls!
