: Written by enable_15 at 11:14:27.682 UTC Mon Jun 20 2005
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password VFntpxxA4SnyKKWl encrypted
passwd uE/R4.DBZ/o/iDWX encrypted
hostname NJ-PIX515
domain-name hannstar.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
names
access-list ipsec permit ip 172.48.0.0 255.255.0.0 192.168.1.0 255.255.255.0
access-list outside_cryptomap_20 permit ip 172.48.0.0 255.255.255.0 192.168.1.0
255.255.255.0
access-list inside_access_in permit ip 172.48.0.0 255.255.0.0 192.168.1.0 255.25
5.255.0
access-list inside_access_in permit ip 172.48.0.0 255.255.255.0 any
access-list outside_access_in permit tcp any eq www host 218.2.109.27 eq www
pager lines 24
logging on
logging trap critical
mtu outside 1500
mtu inside 1500
ip address outside 218.2.109.27 255.255.255.128
ip address inside 172.48.0.37 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
no failover
failover timeout 0:00:00
failover poll 15
no failover ip address outside
no failover ip address inside
pdm location 172.20.1.93 255.255.255.255 inside
pdm location 172.20.0.0 255.255.0.0 inside
pdm location 172.48.0.29 255.255.255.255 inside
pdm location 172.48.0.38 255.255.255.255 inside
pdm location 172.48.0.41 255.255.255.255 inside
pdm location 172.48.0.213 255.255.255.255 inside
pdm location 172.48.0.253 255.255.255.255 inside
pdm location 172.48.0.254 255.255.255.255 inside
pdm location 172.48.7.37 255.255.255.255 inside
pdm location 172.48.7.145 255.255.255.255 inside
pdm location 172.48.7.178 255.255.255.255 inside
pdm location 172.48.0.0 255.255.0.0 inside
pdm location 172.0.0.0 255.0.0.0 inside
pdm location 172.48.0.24 255.255.255.255 inside
pdm location 192.168.1.0 255.255.255.0 outside
pdm location 192.168.51.0 255.255.255.0 inside
pdm location 172.48.7.208 255.255.255.255 inside
pdm location 172.48.0.215 255.255.255.255 inside
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list ipsec
nat (inside) 1 172.48.0.29 255.255.255.255 0 0
nat (inside) 1 172.48.0.38 255.255.255.255 0 0
nat (inside) 1 172.48.0.41 255.255.255.255 0 0
nat (inside) 1 172.48.7.155 255.255.255.255 0 0
nat (inside) 1 172.48.7.200 255.255.255.255 0 0
static (inside,outside) tcp 218.2.109.27 www 172.48.0.24 www netmask 255.255.255
.255 0 0
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 218.2.109.1 1
route inside 172.0.0.0 255.0.0.0 172.48.0.254 1
route inside 172.20.0.0 255.255.0.0 172.48.0.254 1
route inside 192.168.51.0 255.255.255.0 172.48.0.254 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 172.48.0.37 255.255.255.255 inside
http 172.20.0.0 255.255.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set transet esp-des esp-md5-hmac
crypto map liebvpn 20 ipsec-isakmp
crypto map liebvpn 20 match address outside_cryptomap_20
crypto map liebvpn 20 set peer 61.220.217.8
crypto map liebvpn 20 set transform-set transet
crypto map liebvpn interface outside
isakmp enable outside
isakmp key ******** address 61.220.217.8 netmask 255.255.255.255 no-xauth no-con
fig-mode
現在沒辦法做nat ,請問該如何改config
,不知道什麼原因
