What's new

Running iperf on ac68u

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

banz

Regular Contributor
This is a dumb question. I'm doing some benchmarking on my ac68p with iperf installed.

On my router, I'm running it as a server
iperf -s

On a offsite client, I'm trying to connect to the router via
iperf -c <external ip of router>

By default iperf listen on tcp 5001. On port forwarding page. I setup port forward tcp 5001 to my router ip which is 192.168.1.1 and on internal 5001 port. My offsite client is not able to reach my router. I then temporary disable firewall completely. Now I'm able to get to it. So I think I'm somehow messing up the port forwarding?
 
It's not sufficient to just forward the port. In fact you shouldn't need to forward the port at all because iperf listens on the WAN interface.

You need to allow the incoming connection through the firewall of the device running the iperf server, which in your case is the router. So...

Code:
iptables -I INPUT -p tcp --dport 5001 -j ACCEPT
 
Yeah that worked. I just thought port forwarding will punch a hole through the firewall. Thanks
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top