K
K
kisakis172018-05-25 15:46:23
Computer networks
kisakis17, 2018-05-25 15:46:23

How to ping your computer from other networks?

Hello.
There is a home PC with the Internet from one large provider, the computer itself is connected through a router (that is, the cable with the Internet is plugged into the router, and from the router already into the computer), and a couple more devices are connected to the router itself. I have a gray IP from the provider.
How can I make it possible to ping my computer from the Internet? Because the ping from me goes to the network, and if you try to do ping 5.18.
I assume that you need to take a white ip from the provider, but is it possible to do without it?
And where does the IP address that 2ip.ru shows me come from?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
P
Pavel Gruznykh, 2018-05-25
@pavelcarcass

Don't confuse gray IP with dynamic IP. You most likely have a dynamic one, and it does not ping from the outside for the simple reason that ICMP packets are blocked on your router. Go to the router's admin panel and enable the ICMP protocol in the firewall settings.
And one more important amendment is that it’s not your computer that starts pinging, but the router. And in order for your computer to start pinging from the outside, your computer must connect to the Internet directly, without a router.

I
iluwa, 2018-05-25
@iluwa

No way / ask the provider for a white IP (after which the router forwards the port to your PC) / ask the provider to forward the port to the router (which, of course, he will not do, this is not practiced)

A
alex_fedorov, 2018-05-25
@alex_fedorov

If your OS, router, and ISP support IPv6, you can try pinging the ipv6 address

V
Vadim Choporov, 2018-05-25
@tolstyiii

What 2ip.ru shows you is your white ip. You can request a static one from the provider - so that it does not change with you - this does not affect availability. And the answer to the ping - what raises the connection, the router, or is it set to bridge, and the computer picks up? It depends on who will be responsible - your computer or the router itself. If the router picks up - how are you trying to ping, from a computer behind the router or from an external source? In a classic situation, the router raises the connection, your computer behind it. Just on the router, in the firewall settings, configure the forwarding of the ICMP protocol to the internal address of your computer. Also on the computer, configure the firewall to accept icmp if the firewall is enabled, and that's it. If the firewall on the computer is turned off, then nothing additional needs to be configured on the computer itself.

R
Ruslan, 2020-05-04
@msHack

There are online services, ping them a lot

A
Antonyo, 2021-03-02
@Antonyo

I did not check it myself, but theoretically if the IP is dynamic, you can try to use some kind of DDNS service, which are free and thereby get a permanent address.
ps If of course the router supports the function.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question