Posted on 2010-11-25
I am having trouble understanding how NAT works when a client with public IP on the internet
wants to communicate with local private ip.
am i getting in any way close with example below ?
internet client 126.96.36.199 needs to talk to local server 188.8.131.52 on port 80
local router has public ip of 184.108.40.206
internet client targets ip 220.127.116.11 and requests service on port 80
static nat entry on router maps 18.104.22.168 port 80 request to 22.214.171.124 port 80
local server responds to 126.96.36.199:80 which is translated back by same nat entry to 188.8.131.52:80
I'm getting confused as someone told me that although PAT lets you map many private ip's
to one public ip, its not possible to map two public ip's on same port number to a single private ip
Is that right? Simple as possible explanation would be appreciated :)