Connection to iPerf3 Server on Ubuntu 20.04
After purchasing and starting the VM, you should know its IP address. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”).
You should allow access by ports 5200-5202 (TCP) and 5200-5202 (UDP), which you can do in the properties of the Azure firewall network.
You can download the iPerf3 client for the speed check for your operating system.
To start the app, you need to run PowerShell or console (right-click in the Start menu)
In the console, go to the iperf3 client installation directory (in our case this is > cd C:\Temp\iperf-3)
To get help in usage, enter the > .\iperf3 -h command
Enter the command for the connection speed check (for example, for 10 seconds test command is: “.\iperf3 -c xx.xx.xxx.xx -p 5201 -t 10” where instead of xx enter the IP address of your VM)
When the VM is started, the server is turned on automatically. If this does not happen, you should connect to a VM.
1. With OpenSSH
In the Windows 10 operating system (starting with version 1809), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command “ssh “. In response, you should receive information about working with this command.
In general, the syntax of the “ssh ” command is as follows:
Where “user” is the username that was specified while creating the virtual machine and “server” is the VM IP address.
In the opened console, it is necessary to enter a specified password while creating the virtual machine.
2. With the PuTTY application
To do this, you need the PuTTY application to connect via ssh. You can download it at the following link – Download
Run PuTTY, enter the VM address in the “Host” field and click “Open” to connect.
In the opened console, you will need to enter a username and password specified while the VM was being created (you’ll not see the password in the console while entering it).
Type the command “iperf3 -s” in order to run the server.
By default, the server is listening on port 5201. To change the port, enter the command “iperf3 -s -p xxxx”, where instead of xxxx is the number of the required port.
Now you can use the iPerf3 Server on Linux Ubuntu 20.04
If you have any questions, please refer to the