09-23-2019 08:18 AM
Hi,
How to nat all ip's from lan to one public for access to internet?
Is command correct without "pat-pool" ? . i dont want to get exhausted message.
ASA version 9.10
object network obj-public
host 5.5.5.5
object network obj-lan
subnet 10.10.10.0 255.255.255.0
nat (inside,outside) dynamic obj-public
OR i need to add command "pat-pool"
object network obj-lan
subnet 10.10.10.0 255.255.255.0
nat (inside,outside) dynamic pat-pool obj-public
09-23-2019 08:31 AM
As per my understand you looking to NAT from inside LAN IP pool to go out using 1 Public IP ?
if yes then you need NAT.
or
If you looking from Internet access you local resource using 1 Public IP, then you need PAT here. (for many different ports to be mapped).
if this is not the case more clarify required here.
09-23-2019 08:34 AM
Loacl lan to access to internet using one public ip.
09-23-2019 08:54 AM - edited 09-23-2019 08:54 AM
you already object group :
nat (inside,outside) source dynamic obj-lan obj-public
09-23-2019 08:46 AM
Hi,
Use the syntax below to NAT LAN subnet "obj-lan" behind the "obj-public" IP address:-
nat (inside,outside) source dynamic obj-lan obj-public
HTH
09-23-2019 08:56 AM
but its same like nat under object, right?
object network obj-lan
subnet 10.10.10.0 255.255.255.0
nat (inside,outside) dynamic obj-public
09-23-2019 09:17 AM
09-23-2019 09:24 AM
agreed with @Rob Ingram
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