12-30-2011 06:22 PM - edited 03-11-2019 03:08 PM
All,
First thanks for any help given.
I am trying to configure my ASA5505 to allow SMTP relay and the ACL\Static I created is not working.
Here is the config:
ASA Version 8.2(2)
!
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.2 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 12.12.12.1 255.255.255.248 --> Suppressed
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
speed 100
duplex full
!
interface Ethernet0/4
!
interface Ethernet0/5
switchport access vlan 3
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list 101 extended permit tcp any host 12.12.12.1 eq smtp
access-list inside_access_in extended permit ip any any
access-list nonat extended permit ip any 10.10.10.0 255.255.255.0
pager lines 24
logging enable
logging buffered debugging
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm 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
static (inside,outside) tcp interface smtp 192.168.1.5 smtp netmask 255.255.255.255
access-group inside_access_in in interface inside
access-group outside_in in interface outside
route outside 0.0.0.0 0.0.0.0 12.12.12.2 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 sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
management-access inside
dhcpd auto_config outside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global-policy
class inspection_default
inspect icmp
class class-default
!
prompt hostname context
Please help me :-(
Many thanks!
Solved! Go to Solution.
12-30-2011 10:54 PM
Jim,
I do see acl applied -
access-group outside_in in interface outside
but same time i do not see any statement matching this access-group.
access-list 101 extended permit tcp any host 12.12.12.1 eq smtp
access-list inside_access_in extended permit ip any any
access-list nonat extended permit ip any 10.10.10.0 255.255.255.0
So either create this statement -
access-list outside_in extended permit tcp any host 12.12.12.1 eq smtp
or change the access group-
access-group 101 in interface outside
Thanks
Ajay
12-30-2011 10:54 PM
Jim,
I do see acl applied -
access-group outside_in in interface outside
but same time i do not see any statement matching this access-group.
access-list 101 extended permit tcp any host 12.12.12.1 eq smtp
access-list inside_access_in extended permit ip any any
access-list nonat extended permit ip any 10.10.10.0 255.255.255.0
So either create this statement -
access-list outside_in extended permit tcp any host 12.12.12.1 eq smtp
or change the access group-
access-group 101 in interface outside
Thanks
Ajay
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide