On 20/12/18 08:32, Tamir Khason wrote:
ifconfig on server looks not bad
(UNSPEC)
RX packets 9224067 bytes 4137254364 (3.8 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8374522 bytes 5986028564 (5.5 GiB)
TX errors 0 dropped 287 overruns 0 carrier 0 collisions 0
test outside the tunnel shows following:
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-11.3 sec 10.85 MBytes 10.37 Mbits/sec
[ 4] 0.0-16.2 sec 20.79 MBytes 10.45 Mbits/sec
Ok, so the tunnel does not look too bad - but your outside tunnel
performance does. Initially you reported a throughput of 70-80 Mbps
from client to Server1.
I am suspecting that your VPS network performance is going up and down
quite drastically. It would be useful to mix the testing of the inside
and outside tunnel performance, e.g. one after another do
iperf -c <server-WAN-ip> -l 1M
iperc -c <server-TUN-ip> - l 1M
iperf -c <server-WAN-ip> -l 1M
Also, I am not familiar with the maximum throughput on BSD systems but I
would not suspect that that is the bottleneck here, as you are maxing
out well below 100 Mbps.
Finally, post your config files and openvpn version numbers, so we can
rule out any discrepancies there as well. To test this setup, I'd opt
for the most basic setup.
HTH,
JJK
On Wed, Dec 19, 2018 at 10:38 AM Jan Just Keijser <[email protected]
<mailto:[email protected]>> wrote:
On 18/12/18 08:40, Tamir Khason wrote:
> VPN server is server
>
> TCP window size: 85.3 KByte (default)
> ------------------------------------------------------------
> [ 4] local 10.8.0.1 port 5001 connected with 10.8.0.2 port 43132
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-11.0 sec 1.64 MBytes 1.25 Mbits/sec
> [ 4] local *.*.*.* port 5001 connected with *.*.*.* port 47572
> [ 4] 0.0-16.0 sec 2.61 MBytes 1.37 Mbits/sec
>
> VPN client is server
>
> TCP window size: 85.3 KByte (default)
> ------------------------------------------------------------
> [ 4] local 10.8.0.2 port 5001 connected with 10.8.0.1 port 54758
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-10.4 sec 6.00 MBytes 4.84 Mbits/sec
>
> As for the system performance
> real 0m10.569s
> user 0m7.482s
> sys 0m0.017s
>
>
So it does look like the VPN is the bottleneck - although you are
seeing
numbers here that are even less than your original report.
The tricky thing about iperf is that it measures a "push", and not a
"pull", i.e when the VPN client is the iperf *server* you measure the
download speed to the client. Still. 4.84 Mbps is far less than
the 8-10
Mbps you said earlier.
It would also be interesting to see if there is any packet loss
during/after the transfer - what does 'ifconfig tun0' show ?
Can you do the same measurement *outside* of the tunnel (i.e.
public IP
to public IP) ?
HTH,
JJK
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users