Allow NETPERF over the WAN

I am trying to troubleshoot a low download speed problem on a remote site. Here at home, I have read up on how to use NETPERF and gotten it to run on two machines on the local network.

Haven’t had much luck getting it to work over the WAN - I believe that I need to open ports 12865 and 12866 for that to happen.

Have tried various settings in NAT to get this to work. When I NETPERF from the WAN, I can see the counter increase for port 12865, so the inbound part is (probably) working. What I am likely missing is the other part of the story which allows return traffic to flow back from the machine running NETSERVER back over the WAN to the machine running NETPERF.

I am assuming (perhaps incorrectly) that this can even be done. If it is, could one of you toss a bone my way and tell me what firewall rules I will need?

Thanks.

OK, learned some more on this.

To test my thinking that my 750 needs some firewall rules to let NETPERF work, I connected my Ubuntu box directly to my COX cable modem and started NETSERVER. WAN NETPERF tests now work. Also required me to temporarily turn off the UFW firewall, even though I have allow in/out rules for ports 12865 and 12866.

So, given the above, what is it I need to do to let NEFPERF/NETSERVER through my 750 and UFW? I suspect that whatever it is, it’ll likely be more or less the same for both.

I spent quite a bit of time researching this yesterday, and never really found an answer.