Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

NAT - Decision to NAT Based on Destination Address

I would like to configure NAT such that when packets are received on the inside interface the decision to pass those packets through the NAT process is based on the destination address, rather than on the source address?

Is this possible?

Will the following config achieve this?

ip nat inside source list 199 interface loopback 0 overload

access-list 199 permit ip 172.16.14.0 0.0.0.255 10.0.0.0 0.255.255.255

i.e. any packets that are destined for 10.x.x.x from 172.16.14.x will have there source address translated to the address assigned to the Loopback0 interface.

The objective is to translate the source address ONLY when the destination address is a public address.

Thanks in advance for your help.

  • Other Network Infrastructure Subjects
2 REPLIES
New Member

Re: NAT - Decision to NAT Based on Destination Address

the config you want to make will work , just make sure the lopback interface is

a routed address, ussually the overload is done on the address of the interface that is connecting to the internet , but this should work too.

good luck

guy

New Member

Re: NAT - Decision to NAT Based on Destination Address

Hi,

i thought the source-list (199) ought to be a standard access list?

This one is not a standard one!

113
Views
0
Helpful
2
Replies
This widget could not be displayed.