Fixing Geolocation Behind a Proxy | Generated by AI

Home 2026.05

Here’s the full story:

Problem: ww weather used wttr.in which auto-detects location via IP. But your traffic routes through a hysteria2 proxy server in Los Angeles, so it showed LA weather instead of Guangzhou.

Attempt 1 — macOS CoreLocation (GPS):

Attempt 2 — WiFi BSSID geolocation:

Attempt 3 — Router admin page (192.168.1.1):

Attempt 4 — Bypass proxy for IP geolocation (the winner):

What --detail shows and where each piece comes from:

Why Zengcheng shows as “Guangzhou”: Zengcheng (增城) is a district of Guangzhou prefecture. IP geolocation resolves to the city level, not district. The coordinates from ip-api.com (23.12, 113.25) are actually very close to Zengcheng’s center. Weather-wise it’s the same — within 30km.


Back Donate