Thursday, December 14, 2017

Cat6k DNAT - Filter on source?

Hi Everyone,

I'm not incredibly familiar with NAT on Cisco IOS, but I have a config I'm struggling with.

Currently, the config is:

ip nat inside source static tcp 4.4.2.3 4466 5.1.8.9 4466 extendable 

Which work great DNATing 5.1.8.9:4466 to 4.4.2.3:4466. What I need to do, however, is NAT different based on source.

If coming from 4.1.1.6, DNAT 5.1.8.9:4466 -> 192.168.6.6:4466

If coming from anywhere else, DNAT 5.1.8.9:4466 -> 4.4.2.3:4466

I think this is possible with an ACL, but when I tried to configure it, it wanted a NAT pool as well and that's where I got lost. I have done many NATs on firewalls, but not on IOS. Is anyone able to lend a hand?

Thanks,

Gary



No comments:

Post a Comment