I have the following configuration:

computer1 - iperf client
computer2 - iperf server
computer3 - ssh intermediary computer

I am able to use "iperf -c computer2 -u -b 5M" from computer1 just fine.

But, if I use ssh to locally port forward port 5001 from computer1 to computer3, and remotely port forward port 5001 from computer3 to computer2, and then try:

"iperf -c localhost -u -b 5M" on computer1, I get the following:

write2 failed: Connection refused
read failed: Connection refused
[  3] WARNING: did not receive ack of last datagram after 1 tries.
------------------------------------------------------------
Client connecting to localhost, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:   105 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 2048 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 0.0 sec  1.44 KBytes  2.66 Mbits/sec
[  3] Sent 1 datagrams

If I use TCP, everything works fine, but for some reason UDP doesn't work via the port forwarding. Any ideas on why TCP would work but not UDP over port 5001?

Don

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Iperf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to