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


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