I completly redid the tests.
udp test, no ipsec, using jperf
bin/iperf.exe -c 10.0.0.10 -u -P 1 -i 1 -p 5001 -l 32K -f k -b 200M -t 10 -T 1
------------------------------------------------------------
Client connecting to 10.0.0.10, UDP port 5001
Sending 32768 byte datagrams
UDP buffer size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 10.0.0.1 port 2059 connected with 10.0.0.10 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0- 1.0 sec 24448 KBytes 200278 Kbits/sec
[1912] 1.0- 2.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 2.0- 3.0 sec 24448 KBytes 200278 Kbits/sec
[1912] 3.0- 4.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 4.0- 5.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 5.0- 6.0 sec 24448 KBytes 200278 Kbits/sec
[1912] 6.0- 7.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 7.0- 8.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 8.0- 9.0 sec 24448 KBytes 200278 Kbits/sec
[1912] 9.0-10.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 0.0-10.0 sec 244320 KBytes 199835 Kbits/sec
[1912] Server Report:
[1912] 0.0-10.0 sec 207872 KBytes 170555 Kbits/sec 3.319 ms 1139/ 7635 (15%)
[1912] Sent 7635 datagrams
Done.
Same test, with IPSEC on.
bin/iperf.exe -c 10.0.0.10 -u -P 1 -i 1 -p 5001 -l 32K -f k -b 200M -t 10 -T 1
------------------------------------------------------------
Client connecting to 10.0.0.10, UDP port 5001
Sending 32768 byte datagrams
UDP buffer size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 10.0.0.1 port 2099 connected with 10.0.0.10 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0- 1.0 sec 24448 KBytes 200278 Kbits/sec
[1912] 1.0- 2.0 sec 23712 KBytes 194249 Kbits/sec
[1912] 2.0- 3.0 sec 24096 KBytes 197394 Kbits/sec
[1912] 3.0- 4.0 sec 24416 KBytes 200016 Kbits/sec
[1912] 4.0- 5.0 sec 24096 KBytes 197394 Kbits/sec
[1912] 5.0- 6.0 sec 24064 KBytes 197132 Kbits/sec
[1912] 6.0- 7.0 sec 24064 KBytes 197132 Kbits/sec
[1912] 7.0- 8.0 sec 23744 KBytes 194511 Kbits/sec
[1912] 8.0- 9.0 sec 24064 KBytes 197132 Kbits/sec
[1912] 9.0-10.0 sec 23744 KBytes 194511 Kbits/sec
[1912] 0.0-10.0 sec 240480 KBytes 196694 Kbits/sec
[1912] Server Report:
[1912] 0.0-10.0 sec 239808 KBytes 196451 Kbits/sec 0.000 ms 21/ 7515 (0.28%)
[1912] 0.0-10.0 sec 1028 datagrams received out-of-order
[1912] Sent 7515 datagrams
Done.
Note the amount of "out-of-order" udp datagrams, this amount of out-of-order datagrams is bad... no matter how you slice it.
Here are the same tests with TCP....
Single TCP Stream for 10 seconds.
One TCP Stream, 10 Seconds
bin/iperf.exe -c 10.0.0.10 -P 1 -i 1 -p 5001 -f k -t 10
------------------------------------------------------------
Client connecting to 10.0.0.10, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 10.0.0.1 port 2047 connected with 10.0.0.10 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0- 1.0 sec 22128 KBytes 181273 Kbits/sec
[1912] 1.0- 2.0 sec 21736 KBytes 178061 Kbits/sec
[1912] 2.0- 3.0 sec 15808 KBytes 129499 Kbits/sec
[1912] 3.0- 4.0 sec 25688 KBytes 210436 Kbits/sec
[1912] 4.0- 5.0 sec 27792 KBytes 227672 Kbits/sec
[1912] 5.0- 6.0 sec 30928 KBytes 253362 Kbits/sec
[1912] 6.0- 7.0 sec 31248 KBytes 255984 Kbits/sec
[1912] 7.0- 8.0 sec 22336 KBytes 182977 Kbits/sec
[1912] 8.0- 9.0 sec 30704 KBytes 251527 Kbits/sec
[1912] 9.0-10.0 sec 29528 KBytes 241893 Kbits/sec
[1912] 0.0-10.0 sec 257904 KBytes 210945 Kbits/sec
Done.
as you can see, about 200mbit, I also was able to get 400mbit reliably full duplex with 5 tcp treams.
Same TCP Test with IPSEC enabled.
bin/iperf.exe -c 10.0.0.10 -P 1 -i 1 -p 5001 -f k -t 10
------------------------------------------------------------
Client connecting to 10.0.0.10, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 10.0.0.1 port 2084 connected with 10.0.0.10 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0- 1.0 sec 8944 KBytes 73269 Kbits/sec
[1912] 1.0- 2.0 sec 6400 KBytes 52429 Kbits/sec
[1912] 2.0- 3.0 sec 7128 KBytes 58393 Kbits/sec
[1912] 3.0- 4.0 sec 6920 KBytes 56689 Kbits/sec
[1912] 4.0- 5.0 sec 6664 KBytes 54591 Kbits/sec
[1912] 5.0- 6.0 sec 7504 KBytes 61473 Kbits/sec
[1912] 6.0- 7.0 sec 6392 KBytes 52363 Kbits/sec
[1912] 7.0- 8.0 sec 6632 KBytes 54329 Kbits/sec
[1912] 8.0- 9.0 sec 6768 KBytes 55443 Kbits/sec
[1912] 9.0-10.0 sec 7312 KBytes 59900 Kbits/sec
[1912] 0.0-10.0 sec 70672 KBytes 57804 Kbits/sec
Done.
config stuff..
/ip address
add address=10.0.0.2/30 broadcast=10.0.0.3 comment="" disabled=no interface=\
ether1 network=10.0.0.0
add address=10.0.0.5/30 broadcast=10.0.0.7 comment="" disabled=no interface=\
ether2 network=10.0.0.4
/ip ipsec proposal
set default auth-algorithms=md5 disabled=no enc-algorithms=3des lifetime=30m \
name=default pfs-group=modp1024
/ip ipsec peer
add address=10.0.0.6/32:500 auth-method=pre-shared-key dh-group=modp1024 \
disabled=no dpd-interval=disable-dpd dpd-maximum-failures=1 \
enc-algorithm=3des exchange-mode=main generate-policy=no hash-algorithm=\
md5 lifebytes=0 lifetime=1d nat-traversal=no proposal-check=obey secret=\
"pre-shared key" send-initial-contact=yes
/ip ipsec policy
add action=encrypt disabled=no dst-address=10.0.0.8/30:any ipsec-protocols=\
ah,esp level=require priority=0 proposal=default protocol=all \
sa-dst-address=10.0.0.6 sa-src-address=10.0.0.5 src-address=\
10.0.0.0/30:any tunnel=yes
/ip address
add address=10.0.0.6/30 broadcast=10.0.0.7 comment="" disabled=no interface=\
ether2 network=10.0.0.4
add address=10.0.0.9/30 broadcast=10.0.0.11 comment="" disabled=no interface=\
ether1 network=10.0.0.8
/ip ipsec proposal
set default auth-algorithms=md5 disabled=no enc-algorithms=3des lifetime=30m \
name=default pfs-group=modp1024
/ip ipsec peer
add address=10.0.0.5/32:500 auth-method=pre-shared-key dh-group=modp1024 \
disabled=no dpd-interval=disable-dpd dpd-maximum-failures=1 \
enc-algorithm=3des exchange-mode=main generate-policy=no hash-algorithm=\
md5 lifebytes=0 lifetime=1d nat-traversal=no proposal-check=obey secret=\
"pre-shared key" send-initial-contact=no
/ip ipsec policy
add action=encrypt disabled=no dst-address=10.0.0.0/30:any ipsec-protocols=\
ah,esp level=require priority=0 proposal=default protocol=all \
sa-dst-address=10.0.0.5 sa-src-address=10.0.0.6 src-address=\
10.0.0.8/30:any tunnel=yes
all this + more has been sent to support.