1. Linux

  • Enter the following commands at a Command Line.

    # Debian.
    sudo apt-get install iperf3
    
    # Server side.
    iperf3 -s
    
    # Client side.
    iperf3 -c <ip>
    iperf3 -c <ip> -P 20
    iperf3 -c <ip> -P 20 -R

2. Windows

  • Download the latest version from https://files.budman.pw.

  • Extract the iperf3.12_64 folder in the iperf3.12_64.zip archive to the C:\Tmp folder.

  • Enter the following commands at a Command Prompt with administrative privileges.

    cd C:\Tmp\iperf3.12_64
    
    # Server side.
    iperf3.exe -s
    
    # Client side.
    iperf3.exe -c <ip>
    iperf3.exe -c <ip> -P 20
    iperf3.exe -c <ip> -P 20 -R