Cisco router IP redirect back to inside subnet

May 30, 2006 5 Replies

I'm trying to configure the Cisco router to redirect the outside IP address back to inside IP address. For example: When package send from inside IP 192.168.1.111 to outside IP 1.2.3.4, package will redirect back to inside 192.168.1.11. I know the command in PIX but not Cisco router IOS.



ip nat inside source static a.b.c.d e.f.g.h where a.b.c.d is your inside "local" IP and e.f.g.h is your external "global" IP (or interface, look up the syntax and options). Don't forget that you'll have to make access-list changes if you have one applied to your outside interface (you should apply one to your outside interface unless you use PAT).

J

Errr -- how do you do that on the PIX? The PIX is designed to not allow that.

The combination between "alias" and "static" two commands should work for you.

*Tested* example, please.

static does not take effect unless traffic crosses between interfaces -- the packet would have to go out the outside interface and attempt to come back in. I've posted extended writeups on why that cannot work on the PIX; Unfortunately I don't happen to be able to find any of those postings at the moment.

try this and good luck! alias (inside) 1.2.3.4 192.168.1.11 255.255.255.255 static (inside,outside) 1.2.3.4 192.168.1.11 netmask 255.255.255.255 0

0

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required