On 08/06/18 09:05, Gena Makhomed wrote: [...snip....] > First test, between two servers without OpenVPN: > > # iperf3 -c 137.74.xxx.xxx > Connecting to host 137.74.xxx.xxx, port 5201 > [ 4] local 138.201.xxx.xxx port 51934 connected to 137.74.xxx.xxx port 5201 [...snip...] > [ 4] 0.00-10.00 sec 120 MBytes 101 Mbits/sec 33 sender > [ 4] 0.00-10.00 sec 117 MBytes 98.1 Mbits/sec receiver > > iperf Done. > > Second test, between OpenVPN interfaces: > > # iperf3 -c 172.31.254.1 > Connecting to host 172.31.254.1, port 5201 [...snip....] > [ 4] 0.00-10.00 sec 33.3 MBytes 27.9 Mbits/sec 246 sender > [ 4] 0.00-10.00 sec 33.0 MBytes 27.7 Mbits/sec receiver > > iperf Done. > > As you can see, OpenVPN has very bad network throughput values, > compared to raw network values. First of all, IIRC, the default iperf3 runs uses TCP. Your VPN tunnel runs over UDP (which normally is good). So you're comparing a little bit apples and oranges here.
Try running the same iperf3 test outside the VPN tunnel with --udp. Does that give different results? -- kind regards, David Sommerseth ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users