- 论坛徽章:
- 0
|
pix515防火墙一台,ethernet0连公网,ethernet1连内网。
具体配置:
: Saved
:
PIX Version 6.1(1)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password mR6CrIZsaZO0Bpfr encrypted
passwd Nqc/8f83susHL75j encrypted
hostname pixfirewall
fixup protocol ftp 21
fixup protocol h323 1720
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol skinny 2000
no fixup protocol smtp 25
no fixup protocol sqlnet 1521
fixup protocol http 80
names
access-list 1 deny ip any any
access-list 1 permit tcp 192.9.0.0 255.255.0.0 any eq www
pager lines 24
interface ethernet0 auto
interface ethernet1 auto
mtu outside 1500
mtu inside 1500
ip address outside 192.168.0.110 255.255.255.0
ip address inside 10.0.0.2 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group 1 in interface inside
route outside 0.0.0.0 0.0.0.0 192.168.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 h323 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
http server enable
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
no sysopt route dnat
telnet 10.0.0.0 255.0.0.0 inside
telnet timeout 5
ssh timeout 5
terminal width 80
Cryptochecksum:d559d629fa095f979875d2601ca22158
疑问:
1.加粗的这段如果这样配的话,内网访问不了外网,www也不行;
2.加粗这段变成access-group 1 in interface outside,照样可以上网,为什么;
3.想访问外网的话应该怎么配,但只开80;
4.防火墙默认规则我有点糊涂:内网访问外网,不做acl的话,默认是不是拒绝所有端口和协议?
5.fixup protocol http 80的作用是开放内网的WEB服务让外网访问,还是让内网可以访问外网WEB服务,还是别的什么?
以上诸问题,望有心人相帮作答,鄙人不胜感激!
[ 本帖最后由 jackiewoo 于 2006-4-25 17:00 编辑 ] |
|