/ listwireguardp2p.sh
listwireguardp2p.sh
1 #!/bin/bash 2 3 # Full path to your servers.json file 4 FILE="/arrs/docker/gluetun/servers.json" 5 6 7 jq -r '.protonvpn.servers[] 8 | select(.vpn == "wireguard" and (.port_forward == true) and (.country == "Netherlands")) 9 | "\(.server_name) | \(.hostname) | \(.country) | \(.city) | \(.wgpubkey)"' "$FILE"