02-08-2014 04:31 PM - edited 03-11-2019 08:43 PM
Hi,
Is it possible to configure a inbound static nat from multible public subnets to 1 internal mail server on an ASA 5510 with
Software Version 8.3(2)34.
Need to allow access from the public subnets listed below to the internal mail server on port 25.
207.211.31.0/24
207.211.30.0/24
205.139.110.0/24
205.139.111.0/24
Thank You
02-08-2014 11:12 PM
Hello, Mani.
I would configure static network object NAT (unless you need to limit translation to the external servers only):
object-group network EXTERNAL_MAIL_SERVERS
network-object 207.211.30.0 255.255.254.0
network-object 205.139.110.0 255.255.254.0
object network INTERNAL_MAIL_SERVER
host 10.0.0.100
nat (inside, outside) static interface service tcp 25 25
access-list OUTSIDE_IN extended permit tcp object-group EXTERNAL_MAIL_SERVERS object INTERNAL_MAIL_SERVER eq 25
02-09-2014 10:17 AM
Thank you for the reply.
The external mail servers will need to forward to 154.11.11.30 a IP address in the firewall subnet range and then forwarded to 10.0.0.100. I will need to translate out bound mail to 154.11.11.30 and then out to the internet.
OutSide Firewall Mailserver inside
207.211.30.0 255.255.254.0 > 154.11.11.30 > 10.0.0.100
205.139.110.0 255.255.254.0
Thank You
02-09-2014 10:22 PM
Hello.
If the IP-address (154.11.11.30) is the one that provider assigned you, then:
object network INTERNAL_MAIL_SERVER
host 10.0.0.100
nat (inside, outside) static 154.11.11.30 service tcp 25 25
02-10-2014 11:57 AM
Once Again Thank You. I will be trying the config below provided by you. One question, is it possible to do this config in a manual nat?
object-group network EXTERNAL_MAIL_SERVERS
network-object 207.211.30.0 255.255.254.0
network-object 205.139.110.0 255.255.254.0
object network INTERNAL_MAIL_SERVER
host 10.0.0.100
nat (inside, outside) static 154.11.11.30 service tcp 25 25
access-list OUTSIDE_IN extended permit tcp object-group EXTERNAL_MAIL_SERVERS object INTERNAL_MAIL_SERVER eq 25
02-11-2014 12:32 AM
Hello.
One question, is it possible to do this config in a manual nat?
Not sure what did you mean as "manual nat".
If you are talking about ASDM, then, sorry, I've never used it to configure ASA (only to monitor).
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