Hello All,
I have a 871 router with two TCP ports allowed inbound to 22 and 80. I have setup what I will call a traditional NAT environment using "ip nat inside/outside" and static NAT entries for the inbound translation to the private address.
---WAN----1.1.1.1 --F4 |ROUTER|VLAN1-----LAN---192.168.1.0/24
I have DDNS name for the WAN interface to access ports 22/80. All works fine. The proble arises when I attempt to access the DDNS name from within the LAN. I've read the Cisco site and it claims this is NAT Loopback or hairpinning. I want to use the WAN DDNS name so I only have to point devices to one name whether they are internal or external. I tried the following, but didn't have any success and lost internet connectivity as well:
config)#interface fastEthernet 4
(config-if)#no ip nat outside
(config-if)#ip address 1.1.1.0 255.255.255.0
(config-if)#ip nat enable
(config-if)#no ip redirects
(config-if)#no ip unreachables
(config-if)#no ip proxy-arp
(config-if)#interface vlan 1
(config-if)#ip address 192.168.1.0 255.255.255.0
(config-if)#no shutdown
(config-if)#no ip nat inside
(config-if)#ip nat enable
(config-if)#no ip redirects
(config-if)#no ip unreachables
(config-if)#no ip proxy-arp
(config-if)#exit
(config)#access-list 1 permit 192.168.1.0 0.0.0.255
(config)#ip nat source list 1 interface FastEthernet4 overload
(config)#ip nat source static tcp 192.168.1.202 22 interface FastEthernet4 22
(config)#ip nat source static tcp 192.168.1.204 80 interface FastEthernet4 80
Any ideas??