Some useful ways to measure network performance for all kinds of reasons.
Connectivity
ping— does what it says on the tin.- Make sure the target responds to ICMP requests. If these are firewalled off, you may think you can’t reach a target but actually can.
traceroute— see where along the pipeline a connection to a target is dropped. Can be finnicky.
Performance
iperf— server/client speed test and bandwidth measurement- Server side:
sudo iperf3 -s -p <port>- Ensure port is open on the firewall
- Client side:
sudo iperf3 -c example.com -p <port>
- Server side:
- https://test.libreqos.com/ — free bufferbloat test & under-load performance info
- https://github.com/nitred/nr-wg-mtu-finder — Wireguard MTU optimizer (“brute-force tester”)
See also
- Wireguard performance tuning notes: https://www.procustodibus.com/blog/2022/12/wireguard-performance-tuning/