01-28-2019 09:34 PM - edited 03-05-2019 11:13 AM
Hi All,
I would need a help with nat. We have a load balancer in the dmz zone and back end server in the inside zone. We have a dmz VIP of 192.x.x.x and should be nated to a public IP of 125.x.x.x, so I can create a one to one static nat with dmz as source and outside as the destination.
However, the mail server also need to communicate outside and it has an IP of 10.x.x.x., so while going out it should also be nated to the same public IP of 125.x.x.x. In this scenario, I don't think the 2 static nats would work right ? could someone help me with this situation ?
01-28-2019 11:54 PM
As long as you have routing setup corretly, this is possible. but we would like to know the what ports you are using here.
01-29-2019 02:12 AM
01-29-2019 02:38 AM
Hello,
I don't think it is possible with only one public IP address to map two private addresses to the same port. Can you use another port on any of the two servers ?
01-29-2019 02:46 AM
01-29-2019 02:57 AM
Hello,
just create two static NAT entries, with each one mapped to a different port:
object network obj_192.x.x.x
host 192.x.x.x
nat (inside,outside) static <-External IP Address-> service tcp 25 25
!
object network obj_10.x.x.x
host 10.x.x.x
nat (inside,outside) static <-External IP Address-> service tcp 101 101
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