iperf3/usr-bin-iperfd

9 lines
474 B
Bash

#!/bin/sh
# (C) 2019 - 2023 Fernao Vellozo
# This is free software under the terms of GPLv3
# the command below will start iperf3 in server mode, running in background as a daemon and listening on ipv4 port 5005/tcp
# log file is optional, and other parameters may be added, such as -V for verbose and -d for debug
# firewall must be adjusted accordingly, otherwise no client will reach it here
/usr/bin/iperf3 -s -D -B 0.0.0.0 -p 5005 --logfile /var/log/iperf3-server.log