02-11-2013 10:11 AM - edited 03-11-2019 05:59 PM
Hello,
My NAT below is at #135, I'd like to move it up to #100 or which command would you move it up?
myasa# sh nat | inc 192.168.1.15
135 (inside) to (outside) source static obj-192.168.1.15 obj-78.123.123.15
myasa#
Thanks.
Solved! Go to Solution.
02-11-2013 10:15 AM
Hi,
In softwares 8.3 and forward you can configure a "line number" for the NAT Manual/Twice NAT in the CLI command
Use:
nat (inside,outside)
This will add the NAT rule just like an ACL rule. It will move the current rule on that line number and any after it, one number down.
EDIT: I guess in this case you first have to remove the NAT configuration and then insert it to the spot you want.
- Jouni
02-11-2013 10:15 AM
Hi,
In softwares 8.3 and forward you can configure a "line number" for the NAT Manual/Twice NAT in the CLI command
Use:
nat (inside,outside)
This will add the NAT rule just like an ACL rule. It will move the current rule on that line number and any after it, one number down.
EDIT: I guess in this case you first have to remove the NAT configuration and then insert it to the spot you want.
- Jouni
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