cisco-asa-5505基本配置

interface Vlan2
 nameif outside                           --------------------對端口命名外端口 
 security-level 0                         --------------------設置端口等級
 ip address X.X.X.X 255.255.255.224       --------------------調試外網地址
!
interface Vlan3
 nameif inside                            --------------------對端口命名內端口  
 security-level 100                       --------------------調試外網地址
 ip address 192.168.1.1 255.255.255.0     --------------------設置端口等級
!
interface Ethernet0/0
 switchport access vlan 2                 --------------------設置端口VLAN與VLAN2綁定
!
interface Ethernet0/1
 switchport access vlan 3                 --------------------設置端口VLAN與VLAN3綁定
!
interface Ethernet0/2
 shutdown
!
interface Ethernet0/3
 shutdown
!
interface Ethernet0/4
 shutdown
!
interface Ethernet0/5
 shutdown
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
dns domain-lookup inside
dns server-group DefaultDNS
 name-server 211.99.129.210
 name-server 202.106.196.115
access-list 102 extended permit icmp any any          ------------------設置ACL列表(允許ICMP全部通過)
access-list 102 extended permit ip any any            ------------------設置ACL列表(允許所有IP全部通過)
pager lines 24
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface                          ------------------設置NAT地址映射到外網口
nat (inside) 1 0.0.0.0 0.0.0.0                        ------------------NAT地址池(所有地址)
access-group 102 in interface outside          ------------------設置ACL列表綁定到外端口
route outside 0.0.0.0 0.0.0.0 x.x.x.x 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 0.0.0.0 0.0.0.0 inside                        ------------------設置TELNET所有地址進入
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside                          ------------------設置SSH所有地址進入
ssh timeout 30
ssh version 2
console timeout 0        
!
dhcpd address 192.168.1.100-192.168.1.199 inside               ------------------設置DHCP服務器地址池
dhcpd dns 211.99.129.210 202.106.196.115 interface inside      ------------------設置DNS服務器到內網端口
dhcpd enable inside                                            ------------------設置DHCP應用到內網端口
!
前幾天去客戶那調試CISCO-ASA-5505設備,第一次摸,跟PIX一樣,呵呵.沒有技術含量,都是最基本的.其他業務配置暫時沒配,會及時更新的.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章