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 188.8.131.52 needs to talk to local server 184.108.40.206 on port 80
local router has public ip of 220.127.116.11
internet client targets ip 18.104.22.168 and requests service on port 80
static nat entry on router maps 22.214.171.124 port 80 request to 126.96.36.199 port 80
local server responds to 188.8.131.52:80 which is translated back by same nat entry to 184.108.40.206: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 :)