这个只是对配置的一个备份,具体设置流程请看:
防火墙如何“通”
....
分类:
http://www.cnblogs.com/shengshuai/category/81478.html
pixfirewall# conf t
pixfirewall(config)# show run
: Saved
:
PIX Version 7.0(4)
!
hostname pixfirewall
domain-name default.domain.invalid
enable password 3W87oKzqadQPkL/. encrypted
names
!
interface Ethernet0
nameif outside
security-level 0
ip address 222.0174.120.10 255.255.255.248
!
interface Ethernet1
nameif inside
security-level 100
ip address 192.168.0.1 255.255.255.0
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list 110 extended permit tcp any any
access-list forvpn extended permit ip 192.168.0.0 255.255.255.0 172.16.1.0 255.2
55.255.0
access-list forvpn extended permit ip 172.16.1.0 255.255.255.0 192.168.0.0 255.2
55.255.0
access-list vpnout extended permit ip any 172.16.1.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip local pool vpn 172.16.1.1-172.16.1.200 mask 255.255.255.0
ERROR: Command requires failover license
ERROR: Command requires failover license
asdm image flash:/asdm-502.bin
asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list forvpn
nat (inside) 1 192.168.0.0 255.255.255.0
static (inside,outside) tcp 222.0174.120.10 www 192.168.0.200 www netmask 255.255
.255.255
static (inside,outside) tcp 222.0174.120.10 8888 192.168.0.200 8888 netmask 255.2
55.255.255
access-group 110 in interface outside
route outside 0.0.0.0 0.0.0.0 222.174.123.17 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
timeout mgcp-pat 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
group-policy sh internal
group-policy 35ws attributes
vpn-idle-timeout 30
split-tunnel-policy tunnelspecified
split-tunnel-network-list value forvpn
http server enable
http 0.0.0.0 0.0.0.0 outside
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 ipsec transform-set myset esp-3des esp-sha-hmac
crypto dynamic-map se_dyn_map 10 match address vpnout
crypto dynamic-map se_dyn_map 10 set transform-set myset
crypto map se_map 65535 ipsec-isakmp dynamic se_dyn_map
crypto map se_map interface outside
isakmp enable outside
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
isakmp policy 65535 authentication pre-share
isakmp policy 65535 encryption 3des
isakmp policy 65535 hash sha
isakmp policy 65535 group 2
isakmp policy 65535 lifetime 86400
isakmp nat-traversal 20
isakmp ipsec-over-tcp port 10000
tunnel-group DefaultRAGroup general-attributes
authentication-server-group (outside) none
tunnel-group abcdefg type ipsec-ra
tunnel-group abcdef general-attributes
address-pool vpn
authentication-server-group (outside) none
default-group-policy abcdefg
tunnel-group abcdefg ipsec-attributes
pre-shared-key *
tunnel-group-map default-group abcdefg
telnet 0.0.0.0 0.0.0.0 outside
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.0.2-192.168.0.199 inside
dhcpd dns 219.146.0.130
dhcpd lease 3600
dhcpd ping_timeout 50
dhcpd auto_config inside
dhcpd enable inside
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map global_policy
class inspection_default
inspect dns maximum-length 512
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
!
service-policy global_policy global
Cryptochecksum:e43059b842ed07cb44eb0e39cecf5bbd
: end
pixfirewall(config)#