Hello Experts!
I have a Smarthost\Email filter in a DMZ network.. but i don't seem to have the correct config on the Pix.
Here's the DMZ access-list
access-list DMZ_In permit tcp host SmartHost host emailsvr eq smtp <--so it can relay mail to the inside
<will eventually put statement here that denies internal subnets from DMZ, but need to get this working first>
access-list DMZ_In permit tcp host SmartHost any eq smtp <--so it can send mail to the outside world
access-list DMZ_In permit tcp host SmartHost any eq domain <---so it can query dns
Here are my routes..
sends mail into the filter/smarthost
static (DMZ,outside) tcp 1.2.3.4 smtp Smarthost smtp netmask 255.255.255.255 0 0
then i added these...not sure if i actually need the EmailServer one. but thought maybe i can leave it in case the filter dies and i need the exchange server to send email directly to the internet all i have to do is change settings on the email server..
static (inside,DMZ) emailSvr emailSvr netmask 255.255.255.255 0 0
static (DMZ,inside) SmartHost SmartHost netmask 255.255.255.255 0 0
Here's the thing... we are receiving emails.. but when we try to send emails.. they only make it out thru the Smarthost if i add this line to the ACL
permit ip any any
if i take it away, the emails start queuing up in the Smarthost. So, unfortunately i cannot start using the smarthost until this is fixed, as i do not want to permit ip any any into the network.
Do I need another route? maybe static (DMZ,outside) SmartHost SmartHost ??
also, what is the difference between doing a NoNat ACL for the DMZ and doing them staticly? is one safer?
also, i assume that doing this: static (DMZ,inside) SmartHost SmartHost netmask 255.255.255.255 0 0
will static nat the whole IP address, but im wondering if doing this:
static (DMZ,inside) tcp SmartHost smtp SmartHost smtp netmask 255.255.255.255 0 0 - will be safer cuz it seems like it just PATs the port number?
still kinda new to how the pix works so some clarification on this would be awesome.
Start Free Trial