paulgorman.org/technical

iperf

iperf performs network tests, generally with one instance if iperf acting as a server and another acting as the client.

For testing, we’re using Debian on one end, and OpenBSD on the other.

By default, iperf uses port 5001

deb$  sudo apt-get install iperf

bsd$  doas pkg_add iperf

/etc/pf.conf

ext_if = "vio0"
iperf_port = "5001"
table <friendly_ip_addrs> { 192.168.10.153, 10.100.9.170 }
pass in on $ext_if from <friendly_ip_addrs> to any port $iperf_port
pass out on $ext_if to any port $iperf_port