Install rust nightly, then run
cargo build --release
sudo cp target/release/nettest /usr/local/bin
First, run the server. The server needs to allow incoming connections on port 5001
nettest -s
Then connect to the server using
nettest -c <ip or hostname of server>
Once upon a time there was a poor student (me) in the library. Just for the fun of it he tried doing a speedtest, however the speedtest servers were not able to cope with the high speed. So he resorted to using iperf for upstream and hack consisiting of netcat, pv, dd and unix-shell-fu for downstream (iperf does not allow downstream testing behind a firewall that blocks incoming connections). This tool has been made to allow both downstream and upstream testing through a firewall