Real IP behind a VPN
A page cannot learn your real IP if a VPN works properly.
In one line
Can't see your real IP address when your VPN works properly
A page cannot learn your real IP if a VPN works properly.
Servers see the VPN exit IP. Leaks come from WebRTC (local IPs now hidden by mDNS), DNS leaks outside the browser, IPv6 bypass and timezone or language mismatch. Browsers expose no 'real IP' API.
What it can and can't do
What the user does: Nothing. It happens when your device connects to the site
It can
- See the VPN exit IP address
- Spot leaks from IPv6, DNS, or a broken VPN setup
- Notice if your time zone or language does not match the IP
- Learn the area of the VPN server
It cannot
- See your home IP while the VPN holds
- See your local network IP; WebRTC now hides it
- Ask the browser for your real IP; there is no way
- Be sure about your location from the VPN IP
Browser support
| Browser | Status | First version | Note |
|---|---|---|---|
| Chrome | Not supported | Not available | None |
| Edge | Not supported | Not available | None |
| Firefox | Not supported | Not available | None |
| Safari | Not supported | Not available | None |
| Safari on iPhone | Not supported | Not available | None |
| Chrome on Android | Not supported | Not available | None |
| Samsung Internet | Not supported | Not available | None |
How a site asks for it
| API | none |
| How access is granted | not-exposed |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | read fresh on every page load; nothing stored |
| How to take it back | not applicable |
| Inside an iframe | Readable from cross-origin iframes too (same values) |
Typical flow
- Page script reads the value
- No prompt is shown
Data you get
Shape: none
How often: static per session
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
proxy: WebRTC STUN reflexive candidate | string | None | can show a public IP different from HTTP when VPN is partial (split tunnel) | Not listed |
proxy: timezone vs IP geo | string | None | mismatch is a VPN tell | Not listed |
proxy: Accept-Language | string | None | reveals home language | Not listed |
Technical limits
- VPN user safety
The story
What it is
A page cannot learn your real internet address if your VPN works properly.
For you
Sites see the VPN's address instead of yours. If the VPN is set up well, nothing about your home connection leaks. Leaks happen outside the browser, such as DNS or IPv6.
For makers
The real address ties a visit to a place and a person. When a VPN hides it, sites fall back on language, clock time zone and fingerprints. Fraud teams use mismatches to guess a VPN is in use.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | A streaming site wanted your real country for rights and blocks known VPN addresses. | Netflix, BBC iPlayer |
| games | A game site wanted your region for matchmaking and uses server latency tests. | None named |
| banking | A bank wanted your home address for fraud checks and treats VPN use as extra risk. | None named |
| shopping | A shop wanted your real location for price tailoring and sees the VPN place. | None named |
| security | A fraud team spots a timezone that does not match the VPN's country. | None named |
| ads | An ad network wanted your true area for local ads and uses the exit region. | None named |
| news | A news paywall wanted to enforce regional rules and uses the VPN location. | None named |
Risks
- Leaks outside the browser can expose you
- Time zone mismatch can flag VPN use
What the platform says
- Apple: iCloud Private Relay. Apple describes a way to hide your IP address and browsing from sites and from network providers.
Good uses and abuse
Legitimate uses
- None: the browser deliberately withholds it
Known abuse
- Leak-based deanonymization
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 5 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | 0 | Rough identifying entropy, when known |
Related capabilities
Related
- Time zone and UTC offset. Can tell your time zone, roughly which region you are in
Sources
How well checked: Based on official documentation.