How can https://www.whatismyip.com/ see my LAN IP

2019-09-21 07:21发布

问题:

The website is showing my correct internal LAN IP address.

https://www.whatismyip.com/

It does not work in Safari.

I do not suspect this is an XKCD #628 attack. How is this website implementing this?

回答1:

This is because of WebRTC feature.WebRTC feature will leak your IP address even if you are behind a proxy server or using a VPN service.