B
B
bashtanka942014-09-19 19:19:10
VPN
bashtanka94, 2014-09-19 19:19:10

How to find out the local IP address of a host after NAT address translation?

Actually how to find out the local address of the computer if the provider uses NAT?

PS I used to think that this was not possible, but the 2ip.ru service proved the opposite...

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
Cool Admin, 2014-09-20
@bashtanka94

Yes, they have JS built in and that's it.
Your browser itself told him your IP-shnik.
No magic. You disable JS in the developer console (or ban this script here 2ip.com.ua/service/libs/local-ip.js ) and that's it =)

P
Puma Thailand, 2014-09-19
@opium

This is not possible, your provider for htpp uses just a transparent non-anonymous proxy, if you use nat, 2IP would not tell you anything.

B
bashtanka94, 2014-09-19
@bashtanka94

My laptop is connected via a Wi-Fi router, isn't it using NAT?
I also received this response from the site admin:
"User 2ip.com.ua left an official response to the review "How do you determine the local IP if I am behind NAT?" of the project "Feedback for the site 2ip.com.ua".
Who will say what?

E
Evgeny Nikolaev, 2019-11-18
@nikolaevevge

And I can tell you, because I don’t consider some users who unsubscribed here as competitors (we found something to compete in).
The script for determining the local address is available at the link https://blog.ivru.net/?id=157
Powered by JavaScript + HTML5 + RTCPeerConnection is applicable for Firefox Chrome Opera browsers of versions that were relevant at the time of writing this answer (Firefox, for example, the 70th ).
Not defined in Edge. Safari did not try, but on the Internet they write that Safari is also not detected.
I can also add that the local connection address in the VPN is also determined.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question