Problems with pix firewall and SMTP

Hi, am having problems with my pix firewall it is fully operational, emails can be sent out but no emails can be received.

Ive posted my config below

Outside ip address -a.a.a.a

PIX Version 6.3(5) interface ethernet0 auto interface ethernet1 auto nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password iXGnkrGXSVdmq6xI encrypted passwd 2KFQnbNIdI.2KYOU encrypted hostname crayford domain-name dh2 fixup protocol dns maximum-length 1024 fixup protocol ftp 21 fixup protocol h323 h225 1720 fixup protocol h323 ras 1718-1719 fixup protocol http 80 fixup protocol rsh 514 fixup protocol rtsp 554 fixup protocol sip 5060 fixup protocol sip udp 5060 fixup protocol skinny 2000 no fixup protocol smtp 25 fixup protocol sqlnet 1521 fixup protocol tftp 69 names access-list outside_access_in permit tcp any eq www any eq www access-list outside_access_in permit tcp any eq smtp any eq smtp access-list outside_access_in permit icmp any any access-list outside_access_in permit udp host x.x.x.x host a.a.a.a eq isakmp access-list outside_access_in permit tcp any eq domain any eq domain access-list inside_outbound_nat0_acl permit ip access-list outside_cryptomap_20 permit ip access-list outside_cryptomap_20 permit ip access-list outside_cryptomap_20 permit icmp 192.168.1 .0 pager lines 24 logging on logging timestamp logging trap debugging logging host inside mtu outside 1500 mtu inside 1500 ip address outside a.a.a.a ip address inside ip audit info action alarm ip audit attack action alarm pdm location outside pdm location inside pdm location outside pdm location outside pdm location inside pdm logging informational 100 pdm history enable arp timeout 14400 global (outside) 1 interface nat (inside) 0 access-list inside_outbound_nat0_acl nat (inside) 1 0 0 static (inside,outside) tcp interface smtp smtp netmask 255.255.25 5.255 0 0 static (inside,outside) tcp interface www www netmask 255.255.255. 255 0 0 access-group outside_access_in in interface outside route outside x.x.x.x 1 timeout xlate 0:05:00 timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00 timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00 timeout uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server TACACS+ max-failed-attempts 3 aaa-server TACACS+ deadtime 10 aaa-server RADIUS protocol radius aaa-server RADIUS max-failed-attempts 3 aaa-server RADIUS deadtime 10 aaa-server LOCAL protocol local http server enable http inside no snmp-server location no snmp-server contact snmp-server community public no snmp-server enable traps floodguard enable sysopt connection permit-ipsec crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac crypto map outside_map 20 ipsec-isakmp crypto map outside_map 20 match address outside_cryptomap_20 crypto map outside_map 20 set peer x.x.x.x crypto map outside_map 20 set transform-set ESP-3DES-MD5 crypto map outside_map interface outside isakmp enable outside isakmp key ******** address x.x.x.x netmask no-xauth no-config-mode isakmp identity address isakmp nat-traversal 3600 isakmp policy 20 authentication pre-share isakmp policy 20 encryption 3des isakmp policy 20 hash md5 isakmp policy 20 group 2 isakmp policy 20 lifetime 86400 telnet timeout 5 ssh timeout 5 console timeout 0 dhcpd address inside dhcpd dns dhcpd lease 3600 dhcpd ping_timeout 750 dhcpd auto_config outside dhcpd enable inside terminal width 80 Cryptochecksum:f8a8b3242713abergetyhu9fc194fca70 : end crayford#

ps am using exchange 2003 server



Reply to
Loading thread data ...

Your acl only permits traffic with a Source port and a Destination port equal 25 (smtp)

You only need to specify the Destination port , since the client may use other ports as the source. So try this instead;

access-list outside_access_in permit tcp any any eq smtp

same thing applies for your web server

access-list outside_access_in permit tcp any any eq www

Reply to

Hi, thanks that sorted the problem



Reply to

Might I suggest using this cisco article on configuring mail server access.

formatting link
this is always what i reference to when looking to do this same thing.

Reply to
MattG Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.