06-20-2013 08:46 AM - edited 03-11-2019 07:01 PM
I've gotten most of my NATs figured out but how do you convert this example into the new NAT format? CAn anyone assist?
static (INSIDE,OUTSIDE) tcp 10.10.10.1 www 20.20.20.1 www netmask 255.255.255.255
static (INSIDE,OUTSIDE) tcp 10.10.10.2 11080 20.20.20.2 9090 netmask 255.255.255.255
Solved! Go to Solution.
06-20-2013 09:04 AM
Hi,
You can use these configurations
object network STATIC-PAT-TCP80
host 20.20.20.1
nat (INSIDE,OUTSIDE) static 10.10.10.1 service tcp 80 80
object network STATIC-PAT-TCP9090
host 20.20.20.2
nat (INSIDE,OUTSIDE) static 10.10.10.2 service tcp 9090 11080
Then you can allow the traffic in your "OUTSIDE" interface ACL like this
access-list OUTSIDE-IN permit tcp any object STATIC-PAT-TCP80 eq 80
access-list OUTSIDE-IN permit tcp any object STATIC-PAT-TCP9090 eq 9090
Naturally you use the ACL name of the ACL currently attached to your "OUTSIDE" interface.
Hope this helps
Please do remember to mark the reply as the correct answer if it answered your question.
- Jouni
06-20-2013 09:04 AM
Hi,
You can use these configurations
object network STATIC-PAT-TCP80
host 20.20.20.1
nat (INSIDE,OUTSIDE) static 10.10.10.1 service tcp 80 80
object network STATIC-PAT-TCP9090
host 20.20.20.2
nat (INSIDE,OUTSIDE) static 10.10.10.2 service tcp 9090 11080
Then you can allow the traffic in your "OUTSIDE" interface ACL like this
access-list OUTSIDE-IN permit tcp any object STATIC-PAT-TCP80 eq 80
access-list OUTSIDE-IN permit tcp any object STATIC-PAT-TCP9090 eq 9090
Naturally you use the ACL name of the ACL currently attached to your "OUTSIDE" interface.
Hope this helps
Please do remember to mark the reply as the correct answer if it answered your question.
- Jouni
06-20-2013 09:12 AM
Thanks!
05-10-2018 02:48 AM
Hi Jouni Forss,
Please help me regarding this configuration to convert into 9.1. Appreciate the response.
global (outside) 2 150.x.x.x
nat (inside) 2 10.1.200.0 255.255.255.0 tcp 100 100
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