OpenVPN, тоннель по tcp.
$ iperf -c 10.11.12.2 -r -m
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.11.12.2, TCP port 5001
TCP window size: 22.6 KByte (default)
------------------------------------------------------------
[ 5] local 10.8.12.6 port 55646 connected with 10.11.12.2 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 74.1 MBytes 62.0 Mbits/sec
[ 5] MSS size 1354 bytes (MTU 1394 bytes, unknown interface)
[ 4] local 10.8.12.6 port 5001 connected with 10.11.12.2 port 40690
[ 4] 0.0-10.1 sec 122 MBytes 102 Mbits/sec
[ 4] MSS size 1354 bytes (MTU 1394 bytes, unknown interface)
OpenVPN, тоннель по udp.
$ iperf -c 10.11.12.2 -r -m
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.11.12.2, TCP port 5001
TCP window size: 22.6 KByte (default)
------------------------------------------------------------
[ 5] local 10.8.8.14 port 37677 connected with 10.11.12.2 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 60.2 MBytes 50.4 Mbits/sec
[ 5] MSS size 1356 bytes (MTU 1396 bytes, unknown interface)
[ 4] local 10.8.8.14 port 5001 connected with 10.11.12.2 port 58590
[ 4] 0.0-10.1 sec 60.8 MBytes 50.3 Mbits/sec
[ 4] MSS size 1356 bytes (MTU 1396 bytes, unknown interface)
Внезапно по tcp обратное соединение в два раза быстрее. Почему?