02-09-2019 06:17 PM - edited 02-21-2020 08:47 AM
Hi All!
So I have avoided the new form of NAT config for as long as I can. I downgraded my ASA 5585-X to 8.2 to avoid it. But now I must get it up to the latest code. I have been searching, but to no avail, how to handle the PAT in this new form.
My current config of course has
global (outside) 1 interface global (outside) 2 x.x.x.x
The new base config after loading ASA 9.10 has this
object network obj_any nat (any,outside) dynamic interface
Is this the new PAT config? How would I handle multiple PATs? I would assume creating object-groups with the networks I want to use in each pat?
object network obj_pub_2 1.1.1.1 object network ten subnet 10.0.0.0 255.255.255.0 object network one subnet 10.1.0.0 255.255.255.0 object network two subnet 10.2.0.0 255.255.255.0 object network three subnet 10.3.0.0 255.255.255.0 object-group network PAT_ONE network-object object ten network-object object one object-group PAT_TWO network-object object two network-object object three object-group PUB_TWO network-object object obj_pub_2 ! nat (inside,outside) after-auto source static PAT_ONE interface nat (inside,outside) after-auto source static PAT_TWO PUB_TWO
Am I on the right track here?
Solved! Go to Solution.
02-09-2019 06:45 PM - edited 02-09-2019 06:47 PM
Hi
You used nat command with source static which is wrong because you want to do PAT.
The config should be:
nat (inside,outside) after-auto source dynamic PAT_ONE interface
nat (inside,outside) after-auto source dynamic PAT_TWO PUB_TWO
If you want to validate the config you converted, you can use these tools:
- Cisco tool: https://fwm.cisco.com/auth.do
- Tunnelsup tool: https://www.tunnelsup.com/nat-converter/
02-09-2019 06:45 PM - edited 02-09-2019 06:47 PM
Hi
You used nat command with source static which is wrong because you want to do PAT.
The config should be:
nat (inside,outside) after-auto source dynamic PAT_ONE interface
nat (inside,outside) after-auto source dynamic PAT_TWO PUB_TWO
If you want to validate the config you converted, you can use these tools:
- Cisco tool: https://fwm.cisco.com/auth.do
- Tunnelsup tool: https://www.tunnelsup.com/nat-converter/
02-09-2019 06:50 PM
Thanks so much! Everything else looks correct?
02-09-2019 06:52 PM
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