Advertisement

09.17.2007 at 01:06PM PDT, ID: 22834272
[x]
Attachment Details

ASA5505 blocking outbound SMTP from copier

Asked by citnetworks in Networking Hardware Firewalls, Cisco PIX Firewall

Tags: asa5505, asa, closed, smtp

I am having a problem with an ASA5505 preventing outbound SMTP from a copy machine. We have a copy machine that is able to scan in documents and send them to recipients based on their e-mail address. Here is the config I have in the router right now and following the config are the log messages I am getting.


: Saved
:
ASA Version 7.2(2)
!
hostname HomeOffice
domain-name hsinc.net
enable password oj2SP6VaNUvDyb0w encrypted
names
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.1.1 255.255.255.0
 ospf cost 10
!
interface Vlan2
 nameif outside
 security-level 0
 ip address x1.y1.z1.50 255.255.255.0
 ospf cost 10
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
passwd oj2SP6VaNUvDyb0w encrypted
ftp mode passive
clock timezone CST -6
clock summer-time CDT recurring
dns domain-lookup inside
dns server-group DefaultDNS
 domain-name hsinc.net
access-list outside_20_cryptomap extended permit ip 192.168.1.0 255.255.255.0 192.168.20.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.2.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.20.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.4.0 255.255.255.0
access-list inbound extended permit tcp any interface outside eq 3100
access-list inbound extended permit tcp any interface outside eq 3101
access-list inbound extended permit tcp any interface outside eq 3389
access-list inbound extended permit tcp any interface outside eq pptp
access-list inbound extended permit gre any any
access-list mss_acl extended permit tcp any 192.168.0.0 255.255.0.0
access-list outside_cryptomap_21 extended permit ip 192.168.1.0 255.255.255.0 192.168.2.0 255.255.255.0
access-list outside_cryptomap_11 extended permit ip 192.168.1.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list outside_cryptomap_13 extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0
access-list outside_cryptomap_14 extended permit ip 192.168.1.0 255.255.255.0 192.168.4.0 255.255.255.0
!
tcp-map mss-tcp-map
  exceed-mss allow
!
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
no failover
monitor-interface inside
monitor-interface outside
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface 3100 192.168.1.70 3100 netmask 255.255.255.255
static (inside,outside) tcp interface 3101 192.168.1.71 3101 netmask 255.255.255.255
static (inside,outside) tcp interface 3389 192.168.1.51 3389 netmask 255.255.255.255
static (inside,outside) tcp interface pptp 192.168.1.51 pptp netmask 255.255.255.255
access-group inbound in interface outside
route outside 0.0.0.0 0.0.0.0 209.168.145.49 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
group-policy DfltGrpPolicy attributes
 banner none
 wins-server none
 dns-server none
 dhcp-network-scope none
 vpn-access-hours none
 vpn-simultaneous-logins 3
 vpn-idle-timeout none
 vpn-session-timeout none
 vpn-filter none
 vpn-tunnel-protocol IPSec l2tp-ipsec
 password-storage disable
 ip-comp disable
 re-xauth disable
 group-lock none
 pfs enable
 ipsec-udp disable
 ipsec-udp-port 10000
 split-tunnel-policy tunnelall
 split-tunnel-network-list none
 default-domain none
 split-dns none
 intercept-dhcp 255.255.255.255 disable
 secure-unit-authentication disable
 user-authentication disable
 user-authentication-idle-timeout none
 ip-phone-bypass disable
 leap-bypass disable
 nem disable
 backup-servers keep-client-config
 msie-proxy server none
 msie-proxy method no-modify
 msie-proxy except-list none
 msie-proxy local-bypass disable
 nac disable
 nac-sq-period 300
 nac-reval-period 36000
 nac-default-acl none
 address-pools none
 client-firewall none
 client-access-rule none
 webvpn
  functions url-entry
  html-content-filter none
  homepage none
  keep-alive-ignore 4
  http-comp gzip
  filter none
  url-list none
  customization value DfltCustomization
  port-forward none
  port-forward-name value Application Access
  sso-server none
  deny-message value Login was successful, but because certain criteria have not been met or due to some specific group policy, you do not have permission to use any of the VPN features. Contact your IT

administrator for more information
  svc none
  svc keep-installer installed
  svc keepalive none
  svc rekey time none
  svc rekey method none
  svc dpd-interval client none
  svc dpd-interval gateway none
  svc compression deflate
http server enable
http 192.168.1.0 255.255.255.0 inside
http 10.0.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 10 match address outside_cryptomap_21
crypto map outside_map 10 set pfs
crypto map outside_map 10 set peer x2.y2.z2.74
crypto map outside_map 10 set transform-set ESP-3DES-SHA
crypto map outside_map 11 match address outside_cryptomap_11
crypto map outside_map 11 set pfs
crypto map outside_map 11 set peer x5.y5.z5.219
crypto map outside_map 11 set transform-set ESP-3DES-SHA
crypto map outside_map 13 match address outside_cryptomap_13
crypto map outside_map 13 set pfs
crypto map outside_map 13 set peer x6.y6.z6.197
crypto map outside_map 13 set transform-set ESP-3DES-SHA
crypto map outside_map 14 match address outside_cryptomap_14
crypto map outside_map 14 set pfs
crypto map outside_map 14 set peer x7.y7.z7.189
crypto map outside_map 14 set transform-set ESP-3DES-SHA
crypto map outside_map 20 match address outside_20_cryptomap
crypto map outside_map 20 set pfs
crypto map outside_map 20 set peer x4.y4.z4.149
crypto map outside_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
tunnel-group x3.y3.z3.54 type ipsec-l2l
tunnel-group x3.y3.z3.54 ipsec-attributes
 pre-shared-key *
 isakmp keepalive threshold infinite
tunnel-group x4.y4.z4.149 type ipsec-l2l
tunnel-group x4.y4.z4.149 ipsec-attributes
 pre-shared-key *
 isakmp keepalive threshold infinite
tunnel-group x2.y2.z2.74 type ipsec-l2l
tunnel-group x2.y2.z2.74 ipsec-attributes
 pre-shared-key *
 isakmp keepalive threshold infinite
tunnel-group x5.y5.z5.219 type ipsec-l2l
tunnel-group x5.y5.z5.219 ipsec-attributes
 pre-shared-key *
tunnel-group x6.y6.z6.197 type ipsec-l2l
tunnel-group x6.y6.z6.197 ipsec-attributes
 pre-shared-key *
 isakmp keepalive threshold infinite
tunnel-group x7.y7.z7.189 type ipsec-l2l
tunnel-group x7.y7.z7.189 ipsec-attributes
 pre-shared-key *
 isakmp keepalive threshold infinite
telnet 192.168.1.50 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
!

!
class-map inspection_default
 match default-inspection-traffic
class-map pptp-port
 match port tcp eq pptp
class-map mss-class-map
 match access-list mss_acl
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny
  inspect sunrpc
  inspect xdmcp
  inspect sip
  inspect netbios
  inspect tftp
 class mss-class-map
  set connection advanced-options mss-tcp-map
policy-map pptp_policy
 class pptp-port
  inspect pptp
!
service-policy global_policy global
service-policy pptp_policy interface outside
prompt hostname context
Cryptochecksum:c1de7fd0ed93ed18bb6668cd4607e7be
: end
asdm image disk0:/asdm-522.bin
no asdm history enable


Log:

6      Sep 17 2007      14:46:15      305011      192.168.1.101      x.y.z.50       Built dynamic TCP translation from inside:192.168.1.101/1028 to outside:x.y.z.50/2459
6      Sep 17 2007      14:46:15      302013      x2.y2.z2.136      192.168.1.101       Built outbound TCP connection 260672 for outside:x2.y2.z2.136/25 (x2.y2.z2.136/25) to inside:192.168.1.101/1028 (x.y.z.50/2459)
6      Sep 17 2007      14:46:16      302014      x2.y2.z2.136      192.168.1.101       Teardown TCP connection 260672 for outside:x2.y2.z2.136/25 to inside:192.168.1.101/1028 duration 0:00:01 bytes 102 Flow closed by inspection
6      Sep 17 2007      14:46:16      106015      192.168.1.101      x2.y2.z2.136       Deny TCP (no connection) from 192.168.1.101/1028 to x2.y2.z2.136/25 flags PSH ACK  on interface inside
6      Sep 17 2007      14:46:46      305012      192.168.1.101      x.y.z.50       Teardown dynamic TCP translation from inside:192.168.1.101/1028 to outside:x.y.z.50/2459 duration 0:00:31Start Free Trial
[+][-]09.17.2007 at 01:42PM PDT, ID: 19908254

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Networking Hardware Firewalls, Cisco PIX Firewall
Tags: asa5505, asa, closed, smtp
Sign Up Now!
Solution Provided By: grblades
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.17.2007 at 01:56PM PDT, ID: 19908366

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628