ciscoasa# sh run
: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
enable password ajgvZKkj9OFA/xdm encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
duplex full
nameif outside
security-level 0
ip address 218.104.X.13 255.255.255.0
!
interface Ethernet0/1
duplex full
nameif inside
security-level 100
ip address 172.28.192.249 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
!
ftp mode passive
object-group network ***dhcp
network-object X.118.139.0 255.255.255.0
object-group network ***home
network-object 172.28.70.0 255.255.255.0
network-object 172.28.2.0 255.255.255.0
network-object 172.28.194.0 255.255.255.0
network-object 172.28.198.0 255.255.255.0
network-object 172.28.199.0 255.255.255.0
network-object 172.28.74.0 255.255.255.0
network-object 172.28.196.0 255.255.255.0
network-object 172.28.195.0 255.255.255.0
network-object 172.28.192.0 255.255.255.0
network-object 172.28.193.0 255.255.255.0
network-object 172.28.202.0 255.255.255.0
network-object X.0.0.0 255.0.0.0
network-object 192.168.150.0 255.255.255.0
access-list ingate extended permit ip any any
access-list 101 extended permit ip object-group ***home object-group ***dhcp
access-list outgate extended permit ip any any
pager lines 24
mtu outside 1500
mtu inside 1500
ip local pool ***pool X.118.139.20-X.118.139.100 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
icmp permit any inside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0
access-group outgate in interface outside
access-group ingate in interface inside
route outside 0.0.0.0 0.0.0.0 218.104.X.9 1
route inside X.0.0.0 255.0.0.0 172.28.192.254 1
route inside 172.28.0.0 255.255.0.0 172.28.192.254 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
aaa-server *** protocol radius
aaa-server *** (inside) host 172.28.2.101
key vxicisco
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ***3000policy esp-3des esp-sha-hmac
crypto ipsec transform-set ***3000policy mode transport
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map ***3000policy 10 set transform-set ***3000policy
crypto map ***3000policy 10 ipsec-isakmp dynamic ***3000policy
crypto map ***3000policy interface outside
crypto isakmp enable outside
crypto isakmp policy 5
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp nat-traversal 120
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server 172.28.5.98
group-policy ***3000policy internal
group-policy ***3000policy attributes
dns-server value X118.144.252 X.118.145.252
***-tunnel-protocol IPSec l2tp-ipsec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value 101
username admin password MAjIcpRREUJ5ncoRkeaaDw== nt-encrypted
username vxiadmin password /1ganKF8WKayiiD0 encrypted
tunnel-group DefaultRAGroup general-attributes
address-pool ***pool
tunnel-group ***3000 type remote-access
tunnel-group ***3000 general-attributes
address-pool ***pool
authentication-server-group ***
default-group-policy ***3000policy
tunnel-group ***3000 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 netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
inspect pptp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:e01e9e79cec447e93fd18bd515e7fecc
: endciscoasa ez***
原文:https://blog.51cto.com/13251917/2541555