How to test network performance with pfSense and Windows
How to test network performance with pfSense and Windows.
- Install iPerf package in pfSense.
- Disable windows firewall. This is necessary if you want to test both send and recieve speeds using the -r switch.
- Launch shell in Command Prompt in pfSense.
- Determine the version of iPerf the is installed. Type: iperf -v
- Download and extract respective iPerf version in root folder (c:\iperf) of Windows machine you will be testing with pfSense. Download link: https://iperf.fr/iperf-download.php Most likely this will be iPerf 2.0.9 version.
- Launch Windows command prompt as administrator and navigate to iPerf folder (c:\iperf).
- In pfSense, start iPerf server.
- On windows machine (iPerf client) in command prompt, navigate to iPerf folder type: iperf.exe -c pfSenseIP -P 10 -t 15 -r
- If the IP address of pfSense is 192.168.0.1 then enter: iperf.exe -c 192.168.0.1 -P 10 -t 15 -r
- iPerf will run 10 simultaneous processes for 15 seconds and display results.
- When finished testing, on pfSense stop
- iPerf switch settings:
-P The number of simultaneous connections to make to the server. Default is 1.
-t The time in seconds to transmit for. iPerf normally works by repeatedly sending an array of len bytes for time seconds. Default is 10 seconds. See also the -l, -k and -n options.
-r Run iPerf in tradeoff testing mode. This will cause the server to connect back to the client on the port specified in the -L option (or defaults to the port the client connected to the server on). This is done following the client connection termination, therefore running the tests alternating. If you want an simultaneous test try -d.