openspeedtest as docker container
The idea is to be able to run perf test between any LAN client and the firewalla.
I set this up with:
docker run --restart=unless-stopped --name openspeedtest -d -p 192.168.1.1:3000:3000 -p 192.168.1.1:3001:3001 openspeedtest/latest
Now the container is up and running but I still can not access the server, what am I missing?
pi@Firewalla:~ (Firewalla) $ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a653bffc8517 mlabbe/iperf3 "iperf3 -s" 12 seconds ago Up 12 seconds (health: starting) 192.168.1.1:999->999/tcp, 5201/tcp, 5201/udp iperf3
33ae28f039e0 openspeedtest/latest "/docker-entrypoint.…" About a minute ago Up About a minute 192.168.1.1:3000-3001->3000-3001/tcp, 8080/tcp openspeedtest2
-
Here is the working configuration:
sudo docker run -d \
--name openspeedtest\
--restart unless-stopped \
--net host \
-e MANAGE_HTTP_PORT=3000 \
-e MANAGE_HTTPS_PORT=3001 \
-e PORTAL_HTTP_PORT=3000\
-e PORTAL_HTTPS_PORT=3001 \
openspeedtest/latest
Nothing more to do as this is persistent after reboot and now you have a great speed test server. Just put Firewalla-IP@:3000 in any browser and here you go.
NOTICE this is much more accurate than the default one currently implemented.
Please sign in to leave a comment.
Comments
3 comments