06-27-2003 08:26 AM - edited 03-02-2019 08:28 AM
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.
06-27-2003 09:08 AM
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
06-30-2003 09:45 AM
Hi,
i thought the source-list (199) ought to be a standard access list?
This one is not a standard one!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide