Description | This article describes why regular iPerf clients cannot connect to the FortiGate when using a version above v7.4.2. |
Scope | FortiGate v7.4.2+. |
Solution |
In v7.4.2, there was a change made that requires authorization for each iPerf client when a test is attempted. This authorization check is proprietary and not currently supported by any iPerf client. More details on the authorization check can be seen here: SD-WAN hub and spoke speed test improvements 7.4.2
The FortiGate below is on a version above 7.4.2. When taking a 'speedtestd' debug, the error 'test failed: unauthorized test(142)' is visible.
Mz_FortiGate-60F # diagnose debug application speedtestd -1 Mz_FortiGate-60F # diagnose debug enable Mz_FortiGate-60F # [speedtest(315)::serv(0054)] auth result: 3, uuid=74693337-3277-6877-7872-6e376761666a, peerv4=0.0.0.0
The test on the client side fails with 'error - control socket has closed unexpectedly':
.\iperf3.exe -c 100.64.0.1 --debug
Related article: Troubleshooting Tip: Configure FortiGate as speed test (iperf) server |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.