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