11-18-2010 12:00 AM - edited 03-11-2019 12:11 PM
Hello, in a situation like this:
Outside 10.1.1.1
Cisco ASA
Inside 192.168.1.1
|
LAN 192.168.1.0/24
I know how to do a PAT to forward incoming packets to an inside host:
static (inside,outside) 10.1.1.2 192.168.1.2 netmask 255.255.255.255
access-list OUTSIDE extended permit tcp any host 10.1.1.2 eq www
access.group OUTSIDE in interface outside
I need to do a source nat of the incoming packets so the inside host sees ip 192.168.1.1 as source ip (or another IP address 192.168.1.0/24) Is it possible? Best regards
Aondio Carlo
Solved! Go to Solution.
11-18-2010 12:10 AM
Sure can.
access-list nat-inside permit ip any host 10.1.1.2
nat (outside) 5 access-list nat-inside outside
global (inside) 5 interface
And "clear xlate" after the above config.
Hope that helps.
11-18-2010 12:10 AM
Sure can.
access-list nat-inside permit ip any host 10.1.1.2
nat (outside) 5 access-list nat-inside outside
global (inside) 5 interface
And "clear xlate" after the above config.
Hope that helps.
11-22-2010 06:08 AM
Hy, Jennifer
i have test your solution and all is ok
Many thanks
Best regards
Aondio Carlo
11-22-2010 03:41 PM
Thanks for the update and rating.
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