We have an exchange server sitting on a different block of IPs behind our Pix. When this Exchange server sends emails to most domains they go out fine. However, a few of them like AOL and RR.com returns this error message:
joeblow@aol.com on 2/16/2007 9:20 PM
You do not have permission to send to this recipient. For assistance, contact your system administrator.
<mail.mydomain.com #5.7.1 smtp;550 5.7.1 <joeblow@aol.com>... Relaying denied. IP name lookup failed [xxx.xxx.245.78]>
All of my troubleshooting and trying to get this to work has led me to the problem above. In reading the forums my problem appears to be identical to this one:
http://www.experts-exchange.com/Security/Software_Firewalls/Q_21707944.htmlHowever, I am just not sure if the solution to create a separate global PAT command for the IP address is what I need or will work. I've been at this way too many hours to destroy what I've done. I am hesitant because this server needs inbound access for terminal server, OWA, POP3, and SMTP for Exchange, not to mention the VPN tunnel has to work.
Any help is greatly appreciated. Below is a copy of my Pix config.
PIx 506e config:
--------------------------
----------
----------
----------
----------
----------
----------
----------
-
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxx encrypted
passwd xxxx encrypted
hostname PIX506e
domain-name
fixup protocol dns maximum-length 512
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
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list acl_out permit icmp any any echo
access-list acl_out permit icmp any any echo-reply
access-list acl_out permit tcp any host xxx.xxx.245.77 eq www
access-list acl_out permit tcp any host xxx.xxx.245.77 eq https
access-list acl_out permit tcp any host xxx.xxx.245.77 eq 6060
access-list acl_out permit tcp any host xxx.xxx.245.77 eq 3389
access-list acl_out permit tcp any host xxx.xxx.245.77 eq 32004
access-list acl_out permit tcp any host xxx.xxx.244.186 eq www
access-list acl_out permit tcp any host xxx.xxx.244.186 eq 3389
access-list acl_out permit tcp any host xxx.xxx.244.186 eq smtp
access-list acl_out permit tcp any host xxx.xxx.244.186 eq pop3
access-list acl_out permit tcp any host xxx.xxx.244.186 eq 5900
access-list nonat permit ip 172.16.2.0 255.255.255.0 192.168.1.0 255.255.255.0
access-list nonat permit ip 172.16.2.0 255.255.255.0 172.16.124.0 255.255.255.0
access-list 101 permit ip 172.16.2.0 255.255.255.0 192.168.1.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside xxx.xxx.245.78 255.255.255.248
ip address inside 172.16.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool vpnpool 172.16.124.1-172.16.124.50
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp xxx.xxx.245.77 www 172.16.1.102 www netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.245.77 https 172.16.1.102 https netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.245.77 6060 172.16.1.102 6060 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.245.77 3389 172.16.1.102 3389 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.245.77 32004 172.16.1.102 32004 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.244.186 5900 172.16.2.100 5900 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.244.186 www 172.16.2.101 www netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.244.186 smtp 172.16.2.101 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.244.186 pop3 172.16.2.101 pop3 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.244.186 3389 172.16.2.101 3389 netmask 255.255.255.255 0 0
access-group acl_out in interface outside
route outside 0.0.0.0 0.0.0.0 xxx.xxx.245.73 1
route inside 172.16.2.0 255.255.255.0 172.16.1.2 1
timeout xlate 3:00: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 RADIUS protocol radius
aaa-server LOCAL protocol local
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 pixtowatchguard esp-des esp-md5-hmac
crypto ipsec transform-set vpnclient esp-des esp-md5-hmac
crypto dynamic-map dynmap 30 set transform-set vpnclient
crypto map vpnmap 1 ipsec-isakmp
crypto map vpnmap 1 match address 101
crypto map vpnmap 1 set peer xx.xxx.xxx.6
crypto map vpnmap 1 set transform-set pixtowatchguard
crypto map vpnmap 30 ipsec-isakmp dynamic dynmap
crypto map vpnmap interface outside
isakmp enable outside
isakmp key ******** address xx.xxx.xxx.6 netmask 255.255.255.255
isakmp identity address
isakmp nat-traversal 20
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 86400
isakmp policy 2 authentication pre-share
isakmp policy 2 encryption 3des
isakmp policy 2 hash sha
isakmp policy 2 group 2
isakmp policy 2 lifetime 86400
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption des
isakmp policy 20 hash sha
isakmp policy 20 group 1
isakmp policy 20 lifetime 86400
isakmp policy 30 authentication pre-share
isakmp policy 30 encryption des
isakmp policy 30 hash md5
isakmp policy 30 group 2
isakmp policy 30 lifetime 86400
vpngroup VPN address-pool vpnpool
vpngroup VPN dns-server 172.16.2.101 151.xxx.xx.20
vpngroup VPN wins-server 172.16.2.101
vpngroup VPN split-tunnel nonat
vpngroup VPN idle-time 86400
vpngroup VPN password ********
telnet 172.16.0.0 255.255.0.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:d879abafa3b
ff3f41ead0
c70122a67a
1
: end