原创文档,转载请注明出处:http://www.tllswa.com/?p=1442
ASA5505# show run
: Saved
:
ASA Version 8.4(7)
!
hostname ASA5505
enable password 2KFQnbNIdI.2KYOU encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
switchport access vlan 5
!
interface Ethernet0/2
switchport access vlan 5
!
interface Ethernet0/3
switchport access vlan 5
!
interface Ethernet0/4
switchport access vlan 5
!
interface Ethernet0/5
switchport access vlan 5
!
interface Ethernet0/6
switchport access vlan 5
!
interface Ethernet0/7
switchport access vlan 5
!
interface Vlan1
no nameif
no security-level
no ip address
!
interface Vlan2
nameif outside
security-level 0
ip address 2.2.2.2 255.255.255.252
!
interface Vlan5
nameif inside
security-level 100
ip address 192.168.5.1 255.255.255.0
!
boot system disk0:/asa847-k8.bin
ftp mode passive
clock timezone CST 8
object network allow-nat
subnet 0.0.0.0 0.0.0.0
object network Office_5.0
subnet 192.168.5.0 255.255.255.0
object network VPN_Network
subnet 172.31.10.0 255.255.255.248
object-group network VPN_Access_Network
network-object object Office_5.0
access-list outside_access_in extended permit ip any any
access-list outside_access_in extended permit icmp any any
access-list inside_access_in extended permit ip object Office_5.0 any
access-list inside_access_in extended permit icmp object Office_5.0 any
access-list 10 standard permit 192.168.5.0 255.255.255.0
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
ip local pool VPN-POOL 172.31.10.1-172.31.10.6 mask 255.255.255.248
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
asdm image disk0:/asdm-645.bin
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (inside,outside) source static VPN_Access_Network VPN_Access_Network destination static VPN_Network VPN_Network
!
object network allow-nat
nat (any,outside) dynamic interface
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 192.168.10.1 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
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
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec ikev1 transform-set ESP-DES-HMAC esp-des esp-md5-hmac
crypto dynamic-map CRYPTO-MAP 65535 set ikev1 transform-set ESP-DES-HMAC
crypto map OUTSIDE-MAP 65535 ipsec-isakmp dynamic CRYPTO-MAP
crypto map OUTSIDE-MAP interface outside
crypto ikev1 enable outside
crypto ikev1 policy 10
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy VPN-POLICY internal
group-policy VPN-POLICY attributes
vpn-tunnel-protocol ikev1
split-tunnel-policy tunnelspecified
split-tunnel-network-list value 10
address-pools value VPN-POOL
username admin password 0mhF2rIuManxjwai encrypted privilege 15
tunnel-group tllswa.com type remote-access
tunnel-group tllswa.com general-attributes
default-group-policy VPN-POLICY
tunnel-group tllswa.com ipsec-attributes
ikev1 pre-shared-key *****
!
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 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
inspect ip-options
inspect pptp
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:50dea98ddfe3e882626cf720b0a93846
: end
ASA5505#
评论