FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
lestopace
Staff
Staff
Article Id 223281
Description

This article describes how to setup iPerf server and client on both Windows and Linux machine.

Scope

FortiGate, Windows 10 and CentOS have been used.

Solution

Installing iPerf in a Windows machine.

 

Download and extract to a folder the iPerf3 installer from:

https://iperf.fr/iperf-download.php

 

lestopace_0-1662688493475.pnglestopace_1-1662688604651.png

 

 

Installing iPerf in a Linux Machine.

 

Execute yum install iperf3 command:

 

lestopace_3-1662688797224.png

 

Windows as an iPerf Server.

  1. Open a command prompt then navigate to the iperf folder location:

 

lestopace_4-1662688953298.png

 

  1. Run the command: iperf3.exe -s:

 

lestopace_5-1662689020361.pnglestopace_6-1662689089390.png

 

Note: Sometimes, the local Windows firewall blocks the connection to port 5201. In these cases, it is necessary to disable the local firewall or create a rule to allow the connection.

 

Windows as an iPerf client.

  1. Open a command prompt then navigate to the iperf folder location:

 

lestopace_7-1662689195506.png

 

  1. Run the command: iperf3.exe -c 161.142.100.30:

Where the IP address set is the iperf server's.

 

lestopace_8-1662689329430.png

 

Linux as an iPerf server.

Open a terminal and run the command: iperf3 -s:

 

lestopace_10-1662689571665.pnglestopace_11-1662690102754.png

 

Linux as an iPerf client.

Open a terminal and run the command: iperf3 -c 192.168.100.253:

 

lestopace_12-1662690343211.png

 

It is possible to change protocol, and ports among other settings of iPerf.

 

For more information and other functionalities of iPerf:

https://iperf.fr/iperf-doc.php

 

Note.

FortiGate can be both the iPerf server and the client. However, only FortiGate running FortiOS from 7.0.0 and above can be the iPerf server. You can refer to this article to setup the FortiGate as an iPerf server: https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Configure-FortiGate-as-speed-test-ip.... FortiGate running as an iPerf server only listens on TCP port 5201.

 

Related article:

Technical Tip: Use cases for the diagnose traffictest command

 

FortiGate as an iPerf client.

 

lestopace_13-1662690938257.png

 

External Resources:

 

Publicly Available iPerf3 Servers: IPERF3 Server List

 

Note:

The iPerf/iPerf3 servers are external services and are not operated or endorsed by Fortinet.