Uncovering How My LAN IP Was Revealed

  • Thread starter Thread starter RedX
  • Start date Start date
AI Thread Summary
Websites that display your WAN IP address can also show your LAN IP address under certain conditions, typically when a user interacts with the site, such as clicking a button. This interaction may trigger the browser to send additional information, including the LAN IP, through Java applets or other scripts, though these often require specific permissions that may not be granted by default. The browser inherently transmits details about the operating system and version, which can be used by servers for various purposes. Despite the common belief that only the public IP is visible outside the local network due to NAT (Network Address Translation), certain configurations or permissions can allow websites to access and display the LAN IP address. Users concerned about privacy should consider adjusting their browser's security settings to limit the information shared with websites.
RedX
Messages
963
Reaction score
3
I went to one of those websites that look up your WAN IP address, and they gave it correctly, but they also gave me my LAN IP address (192.168.xxx.xxx).

How do they know my LAN IP address? I thought that those outside your LAN only see the public IP address of your router, and only your router knows your LAN IP?

Did the router give that information up?
 
Computer science news on Phys.org
Your browser sent the address, and many other parameters like you OS, etc
 
Rogerio said:
Your browser sent the address, and many other parameters like you OS, etc

I thought the only purpose of my browser is to render and request HTML. I thought internet exchanges were at the application level, and not the operating system level, so why do servers need to know my OS?
 
That's strange. IP packet has only one field for sender's address which carries global IP address after passing your router(after NAT). There shouldn't be any way for outsiders to know your private IP address.
 
Last edited:
lostinxlation said:
That's strange. IP packet has only one field for sender's address which carries global IP address after passing your router(after NAT). There shouldn't be any way for outsiders to know your private IP address.

Well, the website is here:

http://ip-lookup.net/

That's what I thought to, that there is no way, since they only see my global IP address. But maybe it's because you have to click on something for it to tell you your LAN, and by clicking on something, you are sending that information. That's probably it.
 
I clicked on the "LAN IP address", and it kept trying, but has never returned my private IP address. I highly doubt there is any standard way to obtain the private address, but might be possible depending on the setup ?
 
lostinxlation said:
I clicked on the "LAN IP address", and it kept trying, but has never returned my private IP address. I highly doubt there is any standard way to obtain the private address, but might be possible depending on the setup ?

Yeah, it shows my private address correctly when I click on "LAN IP Address". But maybe your router is different. Whenever you click on something, anything goes, your computer can be instructed to send whatever information, so maybe that's how it got my LAN IP address.
 
I'm under the impression the setup of my browser blocked some program to execute to obtain private address. Maybe you can change the security level or disable some functions of your browser to see what will happen.
 
Last edited:
RedX said:
I thought the only purpose of my browser is to render and request HTML. I thought internet exchanges were at the application level, and not the operating system level, so why do servers need to know my OS?

The browser sends information about itself and the host (version, OS, release, user, etc...)

lostinxlation said:
That's strange. IP packet has only one field for sender's address which carries global IP address after passing your router(after NAT). There shouldn't be any way for outsiders to know your private IP address.

The info goes inside the payload (data field)
 
  • #10
The website LAN feature attempts to run a java app to retrieve your LAN. But it didn't have enough privileges to access that information.

If anyone is still seeing your LAN, try stepping up the security bar in your browser couple of notches higher.
 
Back
Top