OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Speed test plugin
« previous next »
  • Print
Pages: [1]

Author Topic: Speed test plugin  (Read 13250 times)

trottoluccia

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Speed test plugin
« on: December 03, 2017, 09:08:38 am »
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
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Speed test plugin
« Reply #1 on: December 03, 2017, 11:00:20 am »
There is currently only a preview of an iperf3 plugin by me. In the next release a preview can be installed via the shell.

Code: [Select]
pkg install os-iperf-devel
It will create a server instance and you can connect via iperf in client mode using
Code: [Select]
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.
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Speed test plugin
« Reply #2 on: January 11, 2018, 12:51:18 am »
Works great, i just needed to create the fw rule.

Thank you!
Logged
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

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Speed test plugin
« Reply #3 on: October 16, 2019, 06:02:18 pm »
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...

Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: Speed test plugin
« Reply #4 on: October 16, 2019, 06:07:18 pm »
... 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
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Speed test plugin
« Reply #5 on: October 16, 2019, 06:45:48 pm »
This are all running instances - you create them when you click on the create button. I guess you never connected them.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Speed test plugin
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2