asa5510基本配置

ciscoasa# sh run
: Saved
:
ASA Version 8.0(3)
!
hostname ciscoasa
enable password 0PCZHWYFp0c encrypted
names
!
interface Ethernet0/0
 nameif outside
 security-level 0
 ip address 25.25.122.14 255.255.255.240
!
interface Ethernet0/1
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/2
 nameif vlan2
 security-level 100
 ip address 192.168.1.1 255.255.255.0
!
interface Ethernet0/3
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Redundant1
 member-interface Ethernet0/1
 member-interface Ethernet0/3
 nameif inside
 security-level 100
 ip address 192.168.0.1 255.255.255.0
!
passwd kqNsU0EdOEv8n9Op encrypted
ftp mode passive
clock timezone CST 8
object-group protocol TCPUDP
 protocol-object udp
 protocol-object tcp
access-list 100 extended permit ip any any
pager lines 24
mtu outside 1500
mtu inside 1500
mtu vlan2 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 192.168.0.0 255.255.255.0
static (inside,outside) tcp 25.25.122.15 3399 192.168.0.104 3389 netmask 255.255.255.255
static (inside,outside) udp 25.25.122.15 1723 192.168.0.254 1723 netmask 255.255.255.255
static (inside,outside) tcp 25.25.122.15 pptp 192.168.0.254 pptp netmask 255.255.255.255
static (inside,outside) tcp interface 3398 192.168.0.229 3389 netmask 255.255.255.255
static (inside,outside) tcp 25.25.122.15 2281 192.168.0.81 ssh netmask 255.255.255.255
static (inside,outside) tcp 25.25.122.16 8088 192.168.0.203 www netmask 255.255.255.255
static (inside,outside) 25.25.122.15 192.168.0.20 netmask 255.255.255.255
access-group 100 in interface outside
route outside 0.0.0.0 0.0.0.0 25.25.122.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-record DfltAccessPolicy
aaa authentication ssh console LOCAL
http server enable
http 192.168.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
console timeout 0
dhcpd dns 114.114.114.114
!
threat-detection basic-threat
threat-detection statistics
username admin password 7bkY.qvJPQPe encrypted
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
  message-length maximum client auto
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 pptp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:2db249040f5ac9f40f39639bd12edfd9
: end

本文出自 “mojo” 博客,谢绝转载!

你可能感兴趣的:(配置,ASA5510)