如何使用 SSH 在 Synology NAS 上运行 iperf3
我更喜欢这种方法而不是 GUI docker 方法,因为:
- 在实践中更具可重复性
- 涉及更少的步骤
- 它使用
--net=host,因此不涉及可能影响性能的额外路由、桥接或数据包转发
使用具有管理员权限的用户通过 SSH 登录到 Synology NAS,然后 sudo su。
要将 iperf3 用作服务器,使用
iperf3_server.sh
docker run -it --rm --name=iperf3-server --net=host networkstatic/iperf3 -s要将 iperf3 用作客户端,使用
iperf3_client.sh
docker run -it --rm --name=iperf3-client --net=host networkstatic/iperf3 -c 10.1.2.3Check out similar posts by category:
Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow