Speed test plugin

Started by trottoluccia, December 03, 2017, 09:08:38 AM

Previous topic - Next topic
Hi guys,
I'm noob of OPNsense...just installed...coming from Ubiquiti USG gateway and I'm trying to find a way to have a speed test in the OPNsense interface. Is it possible? I understand there are plugins but I don't understand ho to install them:-(
Thanks, M

There is currently only a preview of an iperf3 plugin by me. In the next release a preview can be installed via the shell.

pkg install os-iperf-devel

It will create a server instance and you can connect via iperf in client mode using iperf3 -c opnsense_ip -p port_given_in_gui

Please note that the firewall port will be only opened if an anchor is present in pf (reload pf rules once) and you are connecting from the right interface.

Works great, i just needed to create the fw rule.

Thank you!
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

I'm not sure to understand how it works.

"Create instance" did work once, I ran one single test from a remote client.
Since then, "Create instance" does nothing, and no error is reported, not even in the logs...


... seeems to be a serious glitch with the web interface, as once logged w/ ssh on the firewall:


$ sudo ps ax | grep iperf
5166  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 47228
6810  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 21620
10044  -  Is        0:00.01 daemon: /usr/local/opnsense/scripts/iperf/ruby_iperf.rb[31907] (daemon)
13766  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 49993
18040  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 56380
24861  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 18637
29671  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 46277
31907  -  I         0:16.21 /usr/local/bin/ruby /usr/local/opnsense/scripts/iperf/ruby_iperf.rb (ruby25)
34005  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 45323
41878  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 21219
42206  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 60840
49153  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 50122
55355  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 8534
56201  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 50059
57661  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 13506
67526  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 60716
70999  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 18412
73970  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 7686
74117  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 17445
79278  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 19337
85331  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 57130
89359  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 50095
91130  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 29445
91260  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 22068
93542  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 17365
96449  -  I         0:00.01 iperf3 -J -f M -V -s -1 -p 57864

This are all running instances - you create them when you click on the create button. I guess you never connected them.