cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
604
Views
0
Helpful
1
Replies

DNAT public IP to internal host private IP. Access same internal host internally via public IP

SuperDuperMan
Level 1
Level 1

I have an simple network:

 

192.168.0.0/24 ----  Inside - Router - Outside 1.2.3.4 

 

I have a web server inside at e.g. 192.168.0.10.

 

I port forward port 80 to my web server:

 

ip nat inside source static tcp 192.168.0.10 80 1.2.3.4 80

 

I wish to access my web server from another host on the same internal network, say 192.168.0.5, but do not wish to have split DNS so would like 1.2.3.4:80 to arrive at same web server whether connection is initiated from inside or outside the network.

 

I know my home commodity Linksys Smart WiFi router somehow manages to do this by default when enabling port forwarding.  How do I configure a Cisco router to do this?

 

1 Reply 1

Hello

Nat hairpining will do this 

https://supportforums.cisco.com/t5/wan-routing-and-switching/nat-reflection-nat-hairpin-on-a-cisco-router/td-p/3302833

 

 https://supportforums.cisco.com/t5/wan-routing-and-switching/nat-hairpinning/td-p/2475807

 

Res

Paul

Please don't forget to rate any posts that have been helpful. Thanks.

Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul