iperf3サーバを立ち上げる
iperf3
をインストールする
shsudo apt install iperf3
Debian12の場合
以下の質問がきたら、YESを選択する
これでセットアップ完了
Debian 11以前の場合はもうひと手間必要
/etc/systemd/system/iperf3.service
に以下の内容でファイルを作成する
/etc/systemd/system/iperf3.service [Unit]
Description=iperf3 server
After=network.target auditd.service
[Service]
ExecStart=/usr/bin/iperf3 -s
Restart=always
RestartSec=1
StartLimitBurst=0
[Install]
WantedBy=multi-user.target
以下のようにして作成してもOK
shcurl -L https://bit.ly/3D1lIeC | sudo tee /etc/systemd/system/iperf3.service
以下のコマンドを実行してサービスを起動する
shsudo systemctl enable iperf3
sudo systemctl start iperf3
See Also: