ASA NAT with multiple inside subnets

NAT can be configured on an ASA such that multiple internal subnets can be translated to a single outside IP address. Imagine the following scenario:

An ASA has two inside interfaces and a single outside interface. There are different subnets hanging off of each of those inside interfaces, and a single IP address on the outside interface. Using the following object NAT configuration, it is possible to translate both of those subnets to the single outside address like so, assuming an outside IP address of 50.50.50.10:

object-group network ALL_SUBNETS network-object 192.168.0.0 255.255.255.0 network-object 10.10.10.32 255.255.255.224 object network PAT_IP host 50.50.50.10 nat (inside,outside) source dynamic ALL_SUBNETS PAT_IP

This can be further scaled up by simply adding more network objects within the ALL_SUBNETS object group, one for each internal subnet.

In the event that the outside address of the ASA is assigned using DHCP, take a look at this note ASA NAT with DHCP assigned IP address on outside interface.