02-03-2015 06:06 AM - edited 03-11-2019 10:26 PM
Greetings,
I am looking for an easy way to NAT a public /24 to a private /24. Instead of me having to make NAT statements for each IP address it would be great if it was possible to do in one statement.
Is has to be one-to-one x.x.x.1 mapped to y.y.y.1, x.x.x.2 to y.y.y.2 etc.
Is this possible with ASA 5545 running 9.22, and how?
Regards
Kenneth
Solved! Go to Solution.
02-03-2015 06:42 AM
Hi Kenneth,
In ASA version 8.3+ you can use Auto NAT to achieve the desired results.
Create one object network for private subnet and one for public subnet. See example:
object network INSIDE
subnet 10.1.1.0 255.255.255.0
object network OUTSIDE
subnet 30.1.1.0 255.255.255.0
Then under the private subnet, define the nat statement.
object network INSIDE
subnet 10.1.1.0 255.255.255.0
nat (inside,outside) source static INSIDE OUTSIDE
HTH
"Please rate useful posts and mark the answer as correct if it solves your issue"
02-03-2015 06:46 AM
This can be easily done:
object network PUBLIC subnet 198.51.100.0 255.255.255.0 object network PRIVATE subnet 10.0.1.0 255.255.255.0 nat (inside,outside) static PUBLIC
You find more info on NAT in the Config-Guide.
02-03-2015 06:42 AM
Hi Kenneth,
In ASA version 8.3+ you can use Auto NAT to achieve the desired results.
Create one object network for private subnet and one for public subnet. See example:
object network INSIDE
subnet 10.1.1.0 255.255.255.0
object network OUTSIDE
subnet 30.1.1.0 255.255.255.0
Then under the private subnet, define the nat statement.
object network INSIDE
subnet 10.1.1.0 255.255.255.0
nat (inside,outside) source static INSIDE OUTSIDE
HTH
"Please rate useful posts and mark the answer as correct if it solves your issue"
02-03-2015 06:46 AM
This can be easily done:
object network PUBLIC subnet 198.51.100.0 255.255.255.0 object network PRIVATE subnet 10.0.1.0 255.255.255.0 nat (inside,outside) static PUBLIC
You find more info on NAT in the Config-Guide.
02-03-2015 11:42 PM
Thank you very much both of you.
/Kenneth
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