How to test network performance with pfSense and Windows

How to test network performance with pfSense and Windows.


  1. Install iPerf package in pfSense.
  2. Disable windows firewall.  This is necessary if you want to test both send and recieve speeds using the -r switch.
  3. Launch shell in Command Prompt in pfSense.
  4. Determine the version of iPerf the is installed.  Type: iperf -v
  5. 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.
  6. Launch Windows command prompt as administrator and navigate to iPerf folder (c:\iperf).
  7. In pfSense, start iPerf server.
  8. On windows machine (iPerf client) in command prompt, navigate to iPerf folder type: iperf.exe -c pfSenseIP -P 10 -t 15 -r
  9. 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
  10. iPerf will run 10 simultaneous processes for 15 seconds and display results.
  11. When finished testing, on pfSense stop 
  12. iPerf switch settings:
     -c     Run iPerf in client mode, connecting to an iPerf server running on host.
     -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.

Popular Posts