- Grab all your wireguard configs from Mullvad and dump them in a folder. For this test, this folder is
~/wireguard/
. - Add the following function to generate a list of all servers you have configs for
lswg () {
ls ~/wireguard/ | cut -d '-' -f 2 | sed 's/\.conf//'
}
- Ping each server 10 times to determine latency.
lswg | xargs -I {} ping -c 10 {}-wireguard.mullvad.net | tee mullvadwgstats