我要实现的是把原来的一个局域网内的数据库服务器 跟局域网内的客户端分离开来,中间加一个防火墙。
现在我把两个eth端口,一个配置到了trust,一个是untrust,然后在两个端口加了acl分别限制1433以外的ip包通过。
可现在功能没能实现。下边儿是配置脚本,谁帮我看看怎么回事儿呢?
firewall packet-filter enable
firewall packet-filter default permit
#
insulate
#
bridge enable
bridge 1 enable
#
firewall statistic system enable
#
radius scheme system
server-type extended
#
domain system
#
local-user admin
password simple admin
service-type telnet
level 3
#
acl number 3000
rule 1 permit tcp source-port eq 1433 destination-port eq 1433
rule 2 deny tcp source-port lt 1433 destination-port lt 1433
rule 3 deny tcp source-port gt 1433 destination-port gt 1433
#
interface Aux0
async mode flow
#
interface Ethernet0/0
bridge-set 1
bridge vlanid-transparent-transmit enable
firewall packet-filter 3000 inbound
firewall packet-filter 3000 outbound
#
interface Ethernet0/1
bridge-set 1
bridge vlanid-transparent-transmit enable
firewall packet-filter 3000 inbound
firewall packet-filter 3000 outbound
#
interface Ethernet0/2
bridge-set 1
bridge vlanid-transparent-transmit enable
#
interface Ethernet0/3
#
interface Ethernet0/4
#
interface Encrypt1/0
#
interface Bridge-template1
ip address 192.168.1.254 255.255.255.0
firewall packet-filter 3000 inbound
firewall packet-filter 3000 outbound
#
interface NULL0
#
firewall zone local
set priority 100
#
firewall zone trust
add interface Ethernet0/0
add interface Bridge-template1
set priority 85
#
firewall zone untrust
add interface Ethernet0/1
set priority 5
#
firewall zone DMZ
set priority 50
#
firewall interzone local trust
#
firewall interzone local untrust
#
firewall interzone local DMZ
#
firewall interzone trust untrust
#
firewall interzone trust DMZ
#
firewall interzone DMZ untrust
#
firewall defend ip-spoofing
firewall defend land
firewall defend smurf
firewall defend fraggle
firewall defend winnuke
firewall defend icmp-redirect
firewall defend icmp-unreachable
firewall defend source-route
firewall defend route-record
firewall defend tracert
firewall defend ping-of-death
firewall defend tcp-flag
firewall defend ip-frag
firewall defend ip-fragment
firewall defend large-icmp
firewall defend teardrop
firewall defend ip-sweep
firewall defend port-scan
firewall defend arp-spoofing
firewall defend arp-flood
firewall defend frag-flood
firewall defend syn-flood enable
firewall defend udp-flood enable
firewall defend icmp-flood enable
暂无评论