lesavka/scripts/manual/vpn-test.sh

11 lines
299 B
Bash
Raw Normal View History

2025-06-29 03:46:34 -05:00
#!/usr/bin/env bash
# scripts/manual/vpn-test.sh
#
# Manual: show current public IP/geolocation after VPN changes.
# Not part of CI; uses public HTTP APIs.
set -euo pipefail
2025-06-29 03:46:34 -05:00
IP="$(curl -fsS https://api.ipify.org)"
echo "IP: $IP"
curl -fsS "http://ip-api.com/json/${IP}?fields=country,city,lat,lon"