NAT outbound SMTP

Answered Question
May 3rd, 2010
User Badges:

Ladies and Gents,


I have 3 interfaces in my PIX, Inside, Public and DMZ. I have a host (192.168.1.111) in the DMZ that needs to relay mail to a smart host on the internet. However, the smart host only accepts connections from certain addresses. Public interface's address is one of them. So I've set up an ACL, applied it to the interface.


access-list DMZ_access_in extended permit tcp host 192.168.1.111 eq smtp object-group smarthostcluster eq smtp

access-group DMZ_access_in in interface DMZ


Now I have to NAT/PAT the traffic, since the smart host only accepts connections from the Public interface.


global (Public) 1 interface

nat (DMZ) 1 192.168.1.111 255.255.255.255


However, it still doesn't work. It says connection is refused. So, I wonder if I have missed something. Our main server sends out fine, but the Inside ACL is a lot less restrictive so I really don't know who's at fault, me or the smart host.


Regards

Igs

Correct Answer by bhisham84 about 7 years 3 weeks ago

access-list DMZ_access_in extended permit tcp host 192.168.1.111 object-group smarthostcluster eq smtp

access-group DMZ_access_in in interface DMZ


Now I have to NAT/PAT the traffic, since the smart host only accepts connections from the Public interface.


global (Public) 1 interface

nat (DMZ) 1 192.168.1.111 255.255.255.255



Try this hope this will work...!

Thanks/Bhisham

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
bhisham84 Mon, 05/03/2010 - 23:50
User Badges:

access-list DMZ_access_in extended permit tcp host 192.168.1.111 object-group smarthostcluster eq smtp

access-group DMZ_access_in in interface DMZ


Now I have to NAT/PAT the traffic, since the smart host only accepts connections from the Public interface.


global (Public) 1 interface

nat (DMZ) 1 192.168.1.111 255.255.255.255



Try this hope this will work...!

Thanks/Bhisham

zulu-5-2010 Mon, 05/03/2010 - 23:55
User Badges:

Bhisham, thank you for your help. Greatly appriciated.

I'll change the line tomorrow, see what happens

Actions

This Discussion