Compare cert salaries and plan your next career move
odysseyelite wrote: » You will never be able to ping his private IP address. You will only be able to hit his public IP address. That is one of the drawbacks of NAT. It does provide a layer of security but also makes it harder to troubleshoot network issues. Say you wanted to remote into his desktop using RDP, you would need to setup a forward rule with port numbers on his router.
capitanuionut wrote: » And now as a conclusion : i am confused on how I ..from my private network i'm able to communicate over the internet with other users behind routers with same private ip addresses... I cannot explain how this communications has place...
terryfera wrote: » The way NAT (PAT in your case) works is that your computer is blissfully unaware that the private addressing scheme exists on the other side. The router will take whatever comes in on the internet side and assign it a port on the inside to talk to the local address. According to your computer, you're talking to the router's public IP. When you send something to the other host, the router knows this and translates from the public IP to the private IP + port number that it assigned to that "conversation" allowing the privately addressed computer to see the traffic. When it responds the router will step in again and translate that Private IP + Port back to the Public IP and send it on it's way. Basically you're computer and the computer on the far end have no idea they have the same address, the router have no idea what the private IP address on the other side is and everyone is happy just knowing public IPs .
capitanuionut wrote: » I know how PAT works.... i mean...what i understand is that when I from my PC open a communication....the router translate my private ip address on a public ip address : and port..in case of PAT and this is now the source address where then reponses will return... on that ip address with that port ...wich will be again translated ... But how knows the router to forward the packet on the right network....cause the destination address remains unchanged...maybe there are 3 routers on the way that have that private network address space as a directly connected network...
capitanuionut wrote: » I researched a little...and what it seems...is that i need to know the public address....the packets with the destination address as a private one will not be forwarded on the internet.... and if i want that someone from the internet to initiate a conection to a host behind my router i need to make PAT+ port forwarding...
pham0329 wrote: » Ehh, isn't that what terryfera said?
Compare salaries for top cybersecurity certifications. Free download for TechExams community.