cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
648
Views
0
Helpful
3
Replies

NAT outbound SMTP

zulu-5-2010
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

bhisham84
Level 1
Level 1

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

View solution in original post

3 Replies 3

bhisham84
Level 1
Level 1

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

Bhisham, thank you for your help. Greatly appriciated.

I'll change the line tomorrow, see what happens

It worked.

thank you Bhisham

Review Cisco Networking products for a $25 gift card