cisco pix515E 配置实例

YXPIX# sh run
: Saved
:
PIX Version 7.2(2)
!
firewall transparent
hostname YXPIX
domain-name yingxin.com
enable password 8Ry2YjIyt7RRXU24 encrypted
names
name 192.168.1.10 WEBSER description PubLic Server
!
interface Ethernet0
nameif outside
security-level 0
!
interface Ethernet1
nameif inside
security-level 100
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
dns server-group DefaultDNS
domain-name yingxin.com
object-group network VLAN1
description BanGong
network-object 192.168.1.0 255.255.255.0
object-group service WEB tcp
port-object eq www
port-object eq ftp
port-object eq ftp-data
port-object eq pop3
port-object eq smtp
object-group service SW-MANAGER tcp
port-object eq www
port-object eq telnet
access-list outside_access_in extended permit icmp any any log disable
access-list outside_access_in extended permit tcp any host WEBSER object-group W EB log disable
access-list outside_access_in extended permit tcp 10.1.1.0 255.255.255.0 192.168 .1.0 255.255.255.0 object-group SW-MANAGER log disable
access-list outside_access_in extended permit tcp 192.168.1.0 255.255.255.0 192. 168.1.0 255.255.255.0 object-group SW-MANAGER log disable
access-list outside_access_in extended permit gre any 192.168.1.0 255.255.255.0 log disable
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
ip address 192.168.1.253 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
asdm image flash:/asdm
no asdm history enable
arp timeout 14400
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.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 uauth 0:05:00 absolute
username hyjk password HkLrnrKD4Pbp2mva encrypted
http server enable
http 192.168.1.0 255.255.255.0 inside
http 10.1.1.0 255.255.255.0 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet 192.168.1.254 255.255.255.255 outside
telnet 10.1.1.0 255.255.255.0 outside
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 5
ssh 10.1.1.0 255.255.255.0 outside
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 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 dns preset_dns_map
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:6d8466a3bc73f0bb951cfe746f66ff14
: end
此条目发表在网络知识分类目录。将固定链接加入收藏夹。