pfsense – Speedtest-cli

Quick and dirty speedtest using speedtest.net’s service right on pfSense OS. This wont be most accurate especially on low end devices as the speedtest takes CPU cycles away from NIC interrupts. Best to do this test on client behind the pfsense router.

Install the speedtest-cli package from Diagnostics -> Command Prompt

pfsense Before 2.4.5
pkg install -y py27-speedtest-cli
pfsense 2.4.5
pkg install -y py37-speedtest-cli-2.1.1 
On pfsense 2.5.x
pkg install -y py37-speedtest-cli-2.1.2   
On pfsense 2.6.x
pkg install -y py38-speedtest-cli-2.1.3

Then run speedtest at Diagnostics -> Command Prompt

/usr/local/bin/speedtest-cli

One Comment

  1. Hi, the package is a limited non official implementation of this speedtest. Limited in that it chooses from a limited list of 10 servers which might not be the best servers for your location resulting in poor test results (had this for my own location and could not force it to use the server i wanted as it was not in the recognised list of 10). So i made a widget for the pfSense dashboard and install/unistall instruction for using widget with the original speedtest cli version from speedtest.net.

    https://github.com/LeonStraathof/pfsense-speedtest-widget

Leave a Reply