Advertisement
Guest User

Untitled

a guest
Oct 6th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. nftables + masquerade
  2.  
  3. jow@j460 $ iperf -s
  4. ------------------------------------------------------------
  5. Server listening on TCP port 5001
  6. TCP window size: 128 KByte (default)
  7. ------------------------------------------------------------
  8. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58632
  9. [ ID] Interval Transfer Bandwidth
  10. [ 4] 0.0-10.0 sec 1.06 GBytes 910 Mbits/sec
  11. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58674
  12. [ 4] 0.0-10.0 sec 1.05 GBytes 904 Mbits/sec
  13. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58678
  14. [ 4] 0.0-10.0 sec 1.06 GBytes 912 Mbits/sec
  15. ^C
  16.  
  17. jow@j7:~$ iperf -c 192.168.46.1
  18. ------------------------------------------------------------
  19. Client connecting to 192.168.46.1, TCP port 5001
  20. TCP window size: 85.0 KByte (default)
  21. ------------------------------------------------------------
  22. [ 3] local 192.168.1.210 port 58632 connected with 192.168.46.1 port 5001
  23. [ ID] Interval Transfer Bandwidth
  24. [ 3] 0.0000-10.0007 sec 1.06 GBytes 912 Mbits/sec
  25. jow@j7:~$ iperf -c 192.168.46.1
  26. ------------------------------------------------------------
  27. Client connecting to 192.168.46.1, TCP port 5001
  28. TCP window size: 85.0 KByte (default)
  29. ------------------------------------------------------------
  30. [ 3] local 192.168.1.210 port 58674 connected with 192.168.46.1 port 5001
  31. [ ID] Interval Transfer Bandwidth
  32. [ 3] 0.0000-10.0122 sec 1.05 GBytes 904 Mbits/sec
  33. jow@j7:~$ iperf -c 192.168.46.1
  34. ------------------------------------------------------------
  35. Client connecting to 192.168.46.1, TCP port 5001
  36. TCP window size: 85.0 KByte (default)
  37. ------------------------------------------------------------
  38. [ 3] local 192.168.1.210 port 58678 connected with 192.168.46.1 port 5001
  39. [ ID] Interval Transfer Bandwidth
  40. [ 3] 0.0000-10.0107 sec 1.06 GBytes 912 Mbits/sec
  41.  
  42. nftables, no masquerade
  43.  
  44. jow@j460 $ iperf -s
  45. ------------------------------------------------------------
  46. Server listening on TCP port 5001
  47. TCP window size: 128 KByte (default)
  48. ------------------------------------------------------------
  49. [ 4] local 192.168.46.1 port 5001 connected with 192.168.1.210 port 58726
  50. [ ID] Interval Transfer Bandwidth
  51. [ 4] 0.0-10.0 sec 978 MBytes 818 Mbits/sec
  52. [ 4] local 192.168.46.1 port 5001 connected with 192.168.1.210 port 58732
  53. [ 4] 0.0-10.0 sec 1.08 GBytes 925 Mbits/sec
  54. [ 4] local 192.168.46.1 port 5001 connected with 192.168.1.210 port 58736
  55. [ 4] 0.0-10.0 sec 1.08 GBytes 925 Mbits/sec
  56. ^C
  57.  
  58. jow@j7:~$ iperf -c 192.168.46.1
  59. ------------------------------------------------------------
  60. Client connecting to 192.168.46.1, TCP port 5001
  61. TCP window size: 85.0 KByte (default)
  62. ------------------------------------------------------------
  63. [ 3] local 192.168.1.210 port 58726 connected with 192.168.46.1 port 5001
  64. [ ID] Interval Transfer Bandwidth
  65. [ 3] 0.0000-10.0096 sec 978 MBytes 819 Mbits/sec
  66. jow@j7:~$ iperf -c 192.168.46.1
  67. ------------------------------------------------------------
  68. Client connecting to 192.168.46.1, TCP port 5001
  69. TCP window size: 85.0 KByte (default)
  70. ------------------------------------------------------------
  71. [ 3] local 192.168.1.210 port 58732 connected with 192.168.46.1 port 5001
  72. [ ID] Interval Transfer Bandwidth
  73. [ 3] 0.0000-10.0060 sec 1.08 GBytes 927 Mbits/sec
  74. jow@j7:~$ iperf -c 192.168.46.1
  75. ------------------------------------------------------------
  76. Client connecting to 192.168.46.1, TCP port 5001
  77. TCP window size: 85.0 KByte (default)
  78. ------------------------------------------------------------
  79. [ 3] local 192.168.1.210 port 58736 connected with 192.168.46.1 port 5001
  80. [ ID] Interval Transfer Bandwidth
  81. [ 3] 0.0000-10.0011 sec 1.08 GBytes 926 Mbits/sec
  82.  
  83. iptables + masquerade
  84.  
  85. jow@j460 $ iperf -s
  86. ------------------------------------------------------------
  87. Server listening on TCP port 5001
  88. TCP window size: 128 KByte (default)
  89. ------------------------------------------------------------
  90. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58130
  91. [ ID] Interval Transfer Bandwidth
  92. [ 4] 0.0-10.0 sec 1.05 GBytes 899 Mbits/sec
  93. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58150
  94. [ 4] 0.0-10.0 sec 1.09 GBytes 930 Mbits/sec
  95. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58162
  96. [ 4] 0.0-10.0 sec 926 MBytes 775 Mbits/sec
  97. [ 4] local 192.168.46.1 port 5001 connected with 192.168.46.2 port 58170
  98. [ 4] 0.0-10.0 sec 1.03 GBytes 880 Mbits/sec
  99. ^C
  100.  
  101. jow@j7:~$ iperf -c 192.168.46.1
  102. ------------------------------------------------------------
  103. Client connecting to 192.168.46.1, TCP port 5001
  104. TCP window size: 85.0 KByte (default)
  105. ------------------------------------------------------------
  106. [ 3] local 192.168.1.211 port 58130 connected with 192.168.46.1 port 5001
  107. [ ID] Interval Transfer Bandwidth
  108. [ 3] 0.0000-10.0001 sec 1.05 GBytes 901 Mbits/sec
  109. jow@j7:~$ iperf -c 192.168.46.1
  110. ------------------------------------------------------------
  111. Client connecting to 192.168.46.1, TCP port 5001
  112. TCP window size: 85.0 KByte (default)
  113. ------------------------------------------------------------
  114. [ 3] local 192.168.1.211 port 58150 connected with 192.168.46.1 port 5001
  115. [ ID] Interval Transfer Bandwidth
  116. [ 3] 0.0000-10.0023 sec 1.09 GBytes 932 Mbits/sec
  117. jow@j7:~$ iperf -c 192.168.46.1
  118. ------------------------------------------------------------
  119. Client connecting to 192.168.46.1, TCP port 5001
  120. TCP window size: 85.0 KByte (default)
  121. ------------------------------------------------------------
  122. [ 3] local 192.168.1.211 port 58162 connected with 192.168.46.1 port 5001
  123. [ ID] Interval Transfer Bandwidth
  124. [ 3] 0.0000-10.0055 sec 926 MBytes 776 Mbits/sec
  125. jow@j7:~$ iperf -c 192.168.46.1
  126. ------------------------------------------------------------
  127. Client connecting to 192.168.46.1, TCP port 5001
  128. TCP window size: 85.0 KByte (default)
  129. ------------------------------------------------------------
  130. [ 3] local 192.168.1.211 port 58170 connected with 192.168.46.1 port 5001
  131. [ ID] Interval Transfer Bandwidth
  132. [ 3] 0.0000-10.0013 sec 1.03 GBytes 882 Mbits/sec
  133.  
  134. iptables, no masquerade
  135.  
  136. jow@j460 $ iperf -s
  137. ------------------------------------------------------------
  138. Server listening on TCP port 5001
  139. TCP window size: 128 KByte (default)
  140. ------------------------------------------------------------
  141. [ 4] local 192.168.46.1 port 5001 connected with 192.168.1.211 port 58008
  142. [ ID] Interval Transfer Bandwidth
  143. [ 4] 0.0-10.0 sec 1.09 GBytes 935 Mbits/sec
  144. [ 4] local 192.168.46.1 port 5001 connected with 192.168.1.211 port 58020
  145. [ 4] 0.0-10.0 sec 1.09 GBytes 933 Mbits/sec
  146. [ 4] local 192.168.46.1 port 5001 connected with 192.168.1.211 port 58036
  147. [ 4] 0.0-10.0 sec 1.09 GBytes 931 Mbits/sec
  148. ^C
  149.  
  150. jow@j7:~$ iperf -c 192.168.46.1
  151. ------------------------------------------------------------
  152. Client connecting to 192.168.46.1, TCP port 5001
  153. TCP window size: 85.0 KByte (default)
  154. ------------------------------------------------------------
  155. [ 3] local 192.168.1.211 port 58008 connected with 192.168.46.1 port 5001
  156. [ ID] Interval Transfer Bandwidth
  157. [ 3] 0.0000-10.0032 sec 1.09 GBytes 937 Mbits/sec
  158. jow@j7:~$ iperf -c 192.168.46.1
  159. ------------------------------------------------------------
  160. Client connecting to 192.168.46.1, TCP port 5001
  161. TCP window size: 85.0 KByte (default)
  162. ------------------------------------------------------------
  163. [ 3] local 192.168.1.211 port 58020 connected with 192.168.46.1 port 5001
  164. [ ID] Interval Transfer Bandwidth
  165. [ 3] 0.0000-10.0045 sec 1.09 GBytes 935 Mbits/sec
  166. jow@j7:~$ iperf -c 192.168.46.1
  167. ------------------------------------------------------------
  168. Client connecting to 192.168.46.1, TCP port 5001
  169. TCP window size: 85.0 KByte (default)
  170. ------------------------------------------------------------
  171. [ 3] local 192.168.1.211 port 58036 connected with 192.168.46.1 port 5001
  172. [ ID] Interval Transfer Bandwidth
  173. [ 3] 0.0000-10.0109 sec 1.09 GBytes 933 Mbits/sec
  174.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement