Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am using iperf to measure my uplink speed between my home PC behind NAT and a fully accessible root server. It does so using a TCP connection. For whatever reason it seems that iperf can only measure client to server speed, where client is the one starting the TCP connection and server is the listening part.

Unfortunately my PC is behind NAT and the TCP connection can only be initiated in this direction.

Is there another tool that does this but uses the TCP connection in both directions?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I just had the same question and found a patch that seemed to work (after some extra futzing). You can checkout the patched iperf code here:

https://github.com/tierney/iperf

If you're using Linux, building should be as easy as ./configure && make; the executable will be at src/iperf. Just add the --reverse flag to both the client and server instantiations, per the README.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.