cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
646
Views
0
Helpful
2
Replies

inside to inside NAT?

thomasdzubin
Level 1
Level 1

I have a pretty standard NAT setup for a company with a small Cisco 871 WAN router:

int E0, IP=xxx.xx.xx.xx, ip nat outside

int Vlan1, IP=192.168.1.1 ip nat inside

one port forwarding rule:

ip nat inside source static tcp 192.168.1.20 110 xxx.xx.xx.xx 110 extendable

People have laptops set up with an email application that has the xxx.xx.xx.xx public IP hard-coded in it. It works fine outside "on the Internet", but when they bring their laptops into work, it doesn't work. Now, obviously, one solution is to change the hard-coding of the app to go to the Vlan1 IP of 192.168.1.20 instead the outside public IP of xxx.xx.xx.xx

But is there a way to do this with "ip nat" statements?

I tried an "ip nat outside static 192.168.1.20 xxx.xx.xx.xx" but that didn't work.

2 Replies 2

Jason Fraioli
Level 3
Level 3

sounds like the more logical approach would be to use split DNS to control that. From the outside the address of host.xyz.com = E0 (outside IP), but inside, the host.xyz.com = your 192.168.1.20 IP address.

Obviously this would require inside and outside DNS setup to accomplish this.

Yes, using DNS was considered, but (since I'm the network guy) I don't control the DNS servers and I'd rather see if a simple NAT statement can fix what I need.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card