IT/Software/Command Line Applications/iperf3

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.

General

Install

sudo apt install iperf3

Usage

Server

This is the computer that will listen for requests for speed checks.

On the server you need to start listening.

Don't forget that if UFW is up and only allowing 80, 443, and 22 it won't work.

You will need to:

sudo ufw allow 5201 && iperf3 -s -1 && sudo ufw deny 5201 && sudo ufw reload

iperf3 -s

Server Options

-1 is great as it allows for one check from a remote client and then exits the program

Client

This is the computer that will try to dial into the server to test their communication speed

On the client you need to send the request

iperf3 -c ipAddressOfServer

NOTE: If the server is on a dynamic ip and or behind a router that does not have the port forwarded then you will need zerotier setup to get to the listening computer.

Client Options

-V tell you more

-t 5 will only check five times. Usually enough

-f M will report in Megabytes. For me still a bit more readable.

For example: iperf3 -c 10.243.204.189 -V -t 5 -f M