I need to clean up this config and get inbound SMTP working. I went in and origninally set this device up about a year ago. At some point they had some issues and called in a "friend" to take a look at it who apparently went crazy adding all kinds of VPN connections via the ASDM. Now they are calling me to setup Exchange for them. Normally I would just go there and wipe this clean and start fresh but I can't get onsite to do this anytime soon. I need someone to help me clean this up (keep in mind I am doing this remotly via SSH so I cannot lose connectivity to this device or I'm screwed). Honestly as long as I can get SMTP working for now I will be happy. I will just go out there any reconfigure it when I get the chance.
SAH-ASA-5505-01# show run
: Saved
:
ASA Version 8.0(3)
!
hostname SAH-ASA-5505-01
domain-name sahdomain.local
enable password rXGa0ozgl33zBKDX encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.16.240 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 75.XXX.XXX.XXX 255.255.255.248
!
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 rXGa0ozgl33zBKDX encrypted
boot system disk0:/asa803-k8.bin
ftp mode passive
dns server-group DefaultDNS
domain-name sahdomain.local
access-list outside_access_in extended permit tcp any interface outside eq 3389 log
access-list outside_access_in extended permit tcp any interface outside eq www log
access-list outside_access_in extended permit tcp any interface outside eq https log
access-list outside_access_in extended permit tcp any interface outside eq pptp log
access-list outside_access_in extended permit tcp any interface outside eq 4125 log
access-list outside_access_in extended permit tcp any interface outside eq smtp log
access-list SAHCVPN_splitTunnelAcl standard permit 192.168.16.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.16.0 255.255.255.0 192.168.200.0 255.255.255.224
pager lines 24
logging enable
logging timestamp
logging trap informational
logging asdm informational
logging host inside 192.168.16.240 format emblem
logging permit-hostdown
mtu inside 1500
mtu outside 1500
ip local pool SAHCVPN_POOL 192.168.200.1-192.168.200.
20 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 1 XXX.XXX.XXX.XXX
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface 3389 192.168.16.5 3389 netmask 255.255.255.255
static (inside,outside) tcp interface www 192.168.16.5 www netmask 255.255.255.255
static (inside,outside) tcp interface https 192.168.16.5 https netmask 255.255.255.255
static (inside,outside) tcp interface pptp 192.168.16.5 pptp netmask 255.255.255.255
static (inside,outside) tcp interface 4125 192.168.16.5 4125 netmask 255.255.255.255
static (inside,outside) tcp interface smtp 192.168.16.5 smtp netmask 255.255.255.255
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 75.XXX.XXX.1 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
dynamic-access-policy-reco
rd DfltAccessPolicy
http server enable
http 192.168.16.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 ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
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
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
ssh version 2
console timeout 5
threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
webvpn
enable outside
group-policy SSLVPN internal
group-policy SSLVPN attributes
vpn-tunnel-protocol webvpn
webvpn
url-list value RemoteWebWorkplace
group-policy SAHCVPN internal
group-policy SAHCVPN attributes
wins-server value 192.168.16.5 192.168.16.5
dns-server value 192.168.16.5 167.206.112.138
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SAHCVPN_splitTunnelAcl
default-domain value sahdomain.local
username gsims password 1wQiL4ft/DFTrCpq encrypted privilege 15
username syosset password pwthCnW9zhh7OvJW encrypted
username hgothelf password FIshG06d6xz0DWle encrypted
tunnel-group SSLVPN type remote-access
tunnel-group SSLVPN general-attributes
default-group-policy SSLVPN
tunnel-group SAHCVPN type remote-access
tunnel-group SAHCVPN general-attributes
address-pool SAHCVPN_POOL
default-group-policy SAHCVPN
tunnel-group SAHCVPN ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
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 sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:7cf1ed8af1a
2f21da9ea2
f3afe0cb30
7
: end
Thanks in advance.
Start Free Trial