cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
385
Views
4
Helpful
2
Replies

to nat destination ip

prashantrecon
Level 1
Level 1

nat (inside) 2 0.0.0.0 0.0.0.0

global (outside) 2 202.1.1.2

access-list acl extended permit ip any host 202.1.1.2

access-list policy exetended permit ip 10.10.10.1 192.168.1.1

global (inside) 5 172.16.1.1 netmask 255.255.255.255

nat (outside) 5 access-list policy

requirement is whenever the lan ip goes out it should be natted to 202.1.1.2

and whenever the source 10.10.10.1 goes to 192.168.1.1 the destination ip should be changed to 172.16.1.1

does it work ?

2 Replies 2

prashantrecon
Level 1
Level 1

Hi all

Is this possible ?

Yes, you have the configuration correct. It should work. But you need to add the outside keyword in the nat statement.

access-list policy exetended permit ip host 10.10.10.1 host 192.168.1.1

global (inside) 5 172.16.1.1 netmask 255.255.255.255

nat (outside) 5 access-list policy outside

Thanks,

Varun

Thanks,
Varun Rao
Review Cisco Networking for a $25 gift card