iperf3 is a tool for performing network throughput measurements. It
can test TCP, UDP, or SCTP throughput. To perform an iperf3 test the
user must establish both a server and a client.
By default iperf3 sends data from client to server. You can use -R switch to send data from server to client.
opkg update
opkg install iperf3
sudo xbps-install -S iperf3
Run server on one of the devices you want to test throughput to or from:
iperf3 -s
On client device you can test throughput in both direction with server.
iperf3 -c <server IP>
iperf3 -c <server IP> -R