10-17-2010 05:11 AM - edited 03-11-2019 11:55 AM
Hi,
Just curious, what exactly would happen if i apply a static nat using the outside interface IP pointing to a device behind my inside interface? I am thinking if the global nat IP is using a different IP than the outside interface then it's ok. I am accustomed to seeing a global nat IP A and static nat B and an outside interface IP C. It never crossed my mind to mix it up where my global nat IP is still A but my static nat and outside interface IP is both C.
Thanks in advance.
Solved! Go to Solution.
10-17-2010 06:08 AM
Marcus,
So long as this outside interface is used for STATIC PAT and not 1-1 NAT you are good. Otherwise all traffic received by the outside interface will be sent to the inside host - meaning you cannot even manage the outside interface using ssh or asdm.
Here is a sample.
Let us say your outside interface IP address is 1.1.1.1
you also have 1.1.1.2 available.
Your static lines can be like this:
static (inside,outside) tcp interface 80 10.10.10.1 80 net 255.255.255.255 -----> static pat for inside webserver 10.10.10.1
static (inside,outside) 1.1.1.2 10.10.10.2 net 255.255.255.255 --------------> 1-1 static nat for inside server 10.10.10.2
Pls. make sure to rate the answers and mark them solved if it solves the issue.
-KS
10-17-2010 06:08 AM
Marcus,
So long as this outside interface is used for STATIC PAT and not 1-1 NAT you are good. Otherwise all traffic received by the outside interface will be sent to the inside host - meaning you cannot even manage the outside interface using ssh or asdm.
Here is a sample.
Let us say your outside interface IP address is 1.1.1.1
you also have 1.1.1.2 available.
Your static lines can be like this:
static (inside,outside) tcp interface 80 10.10.10.1 80 net 255.255.255.255 -----> static pat for inside webserver 10.10.10.1
static (inside,outside) 1.1.1.2 10.10.10.2 net 255.255.255.255 --------------> 1-1 static nat for inside server 10.10.10.2
Pls. make sure to rate the answers and mark them solved if it solves the issue.
-KS
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