- Create file at
/etc/systemd/system/iperf3.service
with contents fromiperf3.service
- To start a service at boot, use the enable command:
sudo systemctl enable iperf3.service
- To view the service status, use the status command:
sudo systemctl status iperf3.service
- To start the service, use the start command:
sudo systemctl start iperf3.service
- To stop the service, use the stop command:
sudo systemctl stop iperf3.service
View iptables rules:
sudo iptables -S
sudo iptables -nvL
Allow udp/tcp on 5201:
sudo iptables -A INPUT -p tcp --dport 5201 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 5201 -j ACCEPT
Links:
Maintainers site: https://software.es.net/iperf/#
Source: https://github.com/esnet/iperf
Binaries:
Binaries built by Makotom: https://github.com/makotom/iperf3-binaries/releases
Windows Binaries built by Budman: https://files.budman.pw/
macOS binaries via brew: https://formulae.brew.sh/formula/iperf3