|
企业的ASA配置
某企业ASA配置,共3台。供大家参考学习。 谢谢。
ASA5520A=======
ASA-5520-A# sh run
: Saved
:
ASA Version 7.2(2)
!
hostname ASA-5520-A
domain-name default.domain.invalid
enable password 2KFQnbNIdI.2KYOU encrypted
names
dns-guard
!
interface GigabitEthernet0/0
description Connect to F5:1.5
nameif outside
security-level 0
ip address 192.168.*.* 255.255.255.128 standby 192.168.*.*
!
interface GigabitEthernet0/1
description Connect to Catalyst3750G
nameif inside
security-level 100
ip address 10.252.*.* 255.255.0.0 standby 10.252.*.*
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
description LAN/STATE Failover Interface
!
interface Management0/0
nameif management
security-level 100
no ip address
management-only
!
passwd 2KFQnbNIdI.2KYOU encrypted
boot system disk0:/asa722-k8.bin
ftp mode passive
dns server-group DefaultDNS
domain-name default.domain.invalid
access-list acl_out extended permit tcp any host 10.252.*.* eq 81
access-list acl_out extended permit tcp any host 10.252.*.* eq https
access-list acl_out extended permit tcp any host 10.252.*.* eq www
access-list acl_out extended permit tcp any host 10.252.*.* eq www
access-list acl_out extended permit tcp any host 10.252.*.* eq www
access-list acl_out extended permit tcp any host 10.252.*.* eq smtp
access-list acl_out extended permit tcp any host 10.252.*.* eq pop3
access-list acl_out extended permit tcp any host 10.252.*.* eq www
access-list acl_out extended permit tcp any host 10.252.*.* eq smtp
access-list acl_out extended permit tcp any host 10.252.*.* eq smtp
access-list acl_out extended permit tcp any host 10.252.*.* range ftp-data ftp
access-list acl_out extended permit tcp any host 10.252.*.* eq www
access-list acl_out extended permit tcp any host 10.252.*.* eq 5900
access-list acl_out extended permit tcp any host 10.252.*.* eq www
access-list acl_out extended permit tcp any host 10.252.*.* eq 7001
access-list acl_out extended permit tcp any host 10.252.*.* eq 7070
access-list acl_out extended permit tcp any host 10.252.*.* eq 5900
access-list acl_out extended permit icmp any any
access-list ATAEDA_splitTunnelAcl standard permit 10.252.*.* 255.255.0.0
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu management 1500
ip local pool ippool 10.1.*.*-10.1.*.* mask 255.255.255.0
failover
failover lan unit primary
failover lan interface failover GigabitEthernet0/3
failover polltime unit 1 holdtime 3
failover link failover GigabitEthernet0/3
failover interface ip failover 192.168.*.* 255.255.255.252 standby 192.168.*.*
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
access-group acl_out in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.*.* 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 ATAEDA internal
group-policy ATAEDA attributes
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value ATAEDA_splitTunnelAcl
username *** password 44CIL/eskQBRuFH0 encrypted privilege 0
username **** attributes
vpn-group-policy ATAEDA
username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15
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
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map outside_dyn_map 20 set pfs
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_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
tunnel-group ATAEDA type ipsec-ra
tunnel-group ATAEDA general-attributes
address-pool ippool
default-group-policy ATAEDA
tunnel-group ATAEDA ipsec-attributes
pre-shared-key *
telnet timeout 5
ssh timeout 5
console timeout 0
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map global_policy
class inspection_default
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 icmp
inspect icmp error
!
service-policy global_policy global
ssl encryption des-sha1 rc4-md5
prompt hostname context
Cryptochecksum:77ca19c2b37b4e5bff152990205163f2
: end
ASA-5520-A#
====ASA-5520-A-2
ASA-5520-A# sh run
: Saved
:
ASA Version 7.2(2)
!
hostname ASA-5520-A
domain-name default.domain.invalid
enable password 2KFQnbNIdI.2KYOU encrypted
names
dns-guard
!
interface GigabitEthernet0/0
description Connect to F5:1.5
nameif outside
security-level 0
ip address 192.168.*.* 255.255.255.128 standby 192.168.*.*
!
interface GigabitEthernet0/1
description Connect to Catalyst3750G
nameif inside
security-level 100
ip address 10.252.*.* 255.255.0.0 standby 10.252.*.*
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
description LAN/STATE Failover Interface
!
interface Management0/0
nameif management
security-level 100
no ip address
management-only
!
passwd 2KFQnbNIdI.2KYOU encrypted
boot system disk0:/asa722-k8.bin
ftp mode passive
dns server-group DefaultDNS
domain-name default.domain.invalid
access-list acl_out extended permit tcp any host 10.252.** eq 81
access-list acl_out extended permit tcp any host 10.252.** eq https
access-list acl_out extended permit tcp any host 10.252.** eq www
access-list acl_out extended permit tcp any host 10.252.** eq www
access-list acl_out extended permit tcp any host 10.252.** eq www
access-list acl_out extended permit tcp any host 10.252.** eq smtp
access-list acl_out extended permit tcp any host 10.252.** eq pop3
access-list acl_out extended permit tcp any host 10.252.** eq www
access-list acl_out extended permit tcp any host 10.252.** eq smtp
access-list acl_out extended permit tcp any host 10.252.** eq smtp
access-list acl_out extended permit tcp any host 10.252.** range ftp-data ftp
access-list acl_out extended permit tcp any host 10.252.** eq www
access-list acl_out extended permit tcp any host 10.252.** eq 5900
access-list acl_out extended permit tcp any host 10.252.** eq www
access-list acl_out extended permit tcp any host 10.252.** eq 7001
access-list acl_out extended permit tcp any host 10.252.** eq 7070
access-list acl_out extended permit tcp any host 10.252.** eq 5900
access-list acl_out extended permit icmp any any
access-list ATAEDA_splitTunnelAcl standard permit 10.252.** 255.255.0.0
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu management 1500
ip local pool ippool 10.1.**-10.1.** mask 255.255.255.0
failover
failover lan unit secondary
failover lan interface failover GigabitEthernet0/3
failover polltime unit 1 holdtime 3
failover link failover GigabitEthernet0/3
failover interface ip failover 192.168.** 255.255.255.252 standby 192.168.**
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
access-group acl_out in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.** 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 ATAEDA internal
group-policy ATAEDA attributes
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value ATAEDA_splitTunnelAcl
username **** password 44CIL/eskQBRuFH0 encrypted privilege 0
username *** attributes
vpn-group-policy ATAEDA
username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15
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
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map outside_dyn_map 20 set pfs
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_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
tunnel-group ATAEDA type ipsec-ra
tunnel-group ATAEDA general-attributes
address-pool ippool
default-group-policy ATAEDA
tunnel-group ATAEDA ipsec-attributes
pre-shared-key *
telnet timeout 5
ssh timeout 5
console timeout 0
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map global_policy
class inspection_default
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 icmp
inspect icmp error
!
service-policy global_policy global
ssl encryption des-sha1 rc4-md5
prompt hostname context
Cryptochecksum:aa59061b40f19d8bf05392e669e3c7e0
: end
ASA-5520-A#
=====ASA5520B
ASA-5520-B# sh run
: Saved
:
ASA Version 7.2(2)
!
hostname ASA-5520-B
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface GigabitEthernet0/0
description Connect to Catalyst3750
nameif outside
security-level 0
ip address 10.252.** 255.255.0.0 standby 10.252.**
!
interface GigabitEthernet0/1
description Connect to Catalyst4006
nameif inside
security-level 100
ip address 10.9.** 255.255.0.0 standby 10.9.**
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
description LAN/STATE Failover Interface
shutdown
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list acl_out extended permit tcp host 10.252.** host 10.252.** gt 2046
access-list acl_out extended permit tcp host 10.252.** host 10.252.** eq 7001
access-list acl_out extended permit tcp host 10.252.** host 10.252.** eq 7001
access-list acl_out extended permit tcp host 10.252.** host 10.252.** eq 7001
access-list acl_out extended permit tcp host 10.252.** host 10.252.** eq 7001
access-list acl_out extended permit tcp host 10.252.** host 10.252.** gt 2046
access-list acl_out extended permit tcp host 10.252.** host 10.252.** range ftp-data ftp
pager lines 24
mtu outside 1500
mtu inside 1500
failover
failover lan unit primary
failover lan interface failover GigabitEthernet0/3
failover polltime unit 1 holdtime 3
failover polltime interface 3 holdtime 15
failover link failover GigabitEthernet0/3
failover interface ip failover 192.168.** 255.255.255.252 standby 192.168.**
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
static (inside,outside) 10.252.** 10.9.** netmask 255.255.255.255
static (inside,outside) 10.252.** 10.9.** netmask 255.255.255.255
static (inside,outside) 10.252.** 10.9.** netmask 255.255.255.255
static (inside,outside) 10.252.** 10.9.** netmask 255.255.255.255
access-group acl_out in interface outside
route outside 0.0.0.0 0.0.0.0 10.252.0.*
route inside 10.1.** 255.255.0.0 10.9.* 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
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
!
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 icmp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:b76e1aac96addd3be5ca643ee457c15e
: end
ASA-5520-B# |
|