2025-06-29 03:46:34 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# scripts/manual/vpn-test.sh
|
2026-04-23 01:13:29 -03:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
2026-04-23 01:13:29 -03:00
|
|
|
IP="$(curl -fsS https://api.ipify.org)"
|
|
|
|
|
echo "IP: $IP"
|
|
|
|
|
curl -fsS "http://ip-api.com/json/${IP}?fields=country,city,lat,lon"
|