OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: Taomyn on July 04, 2018, 03:58:32 pm

Title: How is iperf3 meant to work?
Post by: Taomyn on July 04, 2018, 03:58:32 pm
I just installed iperf3 service on my firewall and got the Windows client downloaded to a few PCs. I can start the service and create an instance. I then run the client pointing at the firewall IP and port and get a successful test - great.


However, how am I supposed to perform the client test again? If I try the same test either on the same PC or on another it fails to connect - the firewall doesn't show any signs that anything is wrong. The only way I can start another test is to restart the iperf3 service, create a new instance which then starts but usually on a new port. There's no option from the iperf3 diagnostic page to restart it or do anything else.


Is is expected behaviour or am I missing something?
Title: Re: How is iperf3 meant to work?
Post by: fabian on July 04, 2018, 11:40:01 pm
that is expected behaviour - there is only one test started and after that the iperf tool exits and outputs its data. When you need another test, my script ensures that a port is used which is not in use and not forwarded. This and the firewall rule management is what the background service does except starting iperf3 instances.
Title: Re: How is iperf3 meant to work?
Post by: Taomyn on July 05, 2018, 11:55:21 am
Ok, then maybe the GUI should make that a bit clearer and also reset itself so you can submit a new instance more easily - having to change screen to restart the service isn't very friendly.


But at least it works, thanks.
Title: Re: How is iperf3 meant to work?
Post by: fabian on July 05, 2018, 05:32:10 pm
the service is API controlled - if you want to do mass tests, you can create a new instance in a single curl command.