How to ping a specific computer of LAN via WAN.

Data that travels over the air and how to protect (or decipher) it

How to ping a specific computer of LAN via WAN.

Post by pranav2794 on Tue May 31, 2011 9:50 am
([msg=57909]see How to ping a specific computer of LAN via WAN.[/msg])

I wanted to ping a specific computer in a remote LAN from my home through the Internet.
Let us suppose that the public IP address of that remote WAN is 'X'
and the IP address of the specific computer in the LAN is 192.168.1.13 .

How to do it ?
pranav2794
New User
New User
 
Posts: 28
Joined: Mon May 09, 2011 3:14 pm
Blog: View Blog (0)


Re: How to ping a specific computer of LAN via WAN.

Post by Goatboy on Tue May 31, 2011 5:15 pm
([msg=57937]see Re: How to ping a specific computer of LAN via WAN.[/msg])

You can't. The point of a NAT-enabled router is to hide the details of the computers behind it, and to allow them to share a single public IP. Unless one is being port-forwarded to, you're out of luck.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2799
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: How to ping a specific computer of LAN via WAN.

Post by pranav2794 on Wed Jun 01, 2011 10:51 am
([msg=57986]see Re: How to ping a specific computer of LAN via WAN.[/msg])

So you mean I have to set a inbound port forward and then from other computer I have to ping the specific computer in the LAN with that set specific port in my ICMP request for ping.

But I don't know how to do this. I can forward a port but how to tell my ping request to go to the certain port.
And even if I did this, then the port on the router will allow the ping request to go to through that port but it still don't know to which host the request is being sent.
pranav2794
New User
New User
 
Posts: 28
Joined: Mon May 09, 2011 3:14 pm
Blog: View Blog (0)


Re: How to ping a specific computer of LAN via WAN.

Post by Goatboy on Wed Jun 01, 2011 5:01 pm
([msg=58001]see Re: How to ping a specific computer of LAN via WAN.[/msg])

The owner of the network in question would need to set that up. And for determining live hosts, you would usually use something other than a ping if port-forwarding is involved. You can use telnet to check the ports for live services, or automate this with something like nmap. Still though, you won't know which computer is which behind the router.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2799
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: How to ping a specific computer of LAN via WAN.

Post by AlmightyFracta on Thu Jun 09, 2011 10:37 pm
([msg=58322]see Re: How to ping a specific computer of LAN via WAN.[/msg])

Very informative thread! Ok so I can connect via ssh to my pc. Am I able to use nmap back over ssh to scan the network of the client pc I'm using?
AlmightyFracta
New User
New User
 
Posts: 1
Joined: Thu Jun 09, 2011 10:31 pm
Blog: View Blog (0)


Re: How to ping a specific computer of LAN via WAN.

Post by Goatboy on Fri Jun 10, 2011 2:06 am
([msg=58329]see Re: How to ping a specific computer of LAN via WAN.[/msg])

SSH lets you control another PC as if you were sitting at it, so no.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2799
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)



Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests