如图所示。现网,电信--路由器--交换机,移动--路由器--交换机,运行ospf.新加防火墙f100--c--g2.防火墙要怎么配置。
(0)
最佳答案
防火墙连接路由器的口调成二层模式,加入untrust域,连接交换机的口调成二层模式,加入trust域,然后做域间策略,trust到untrust permit any ,然后做上trust和local间的策略,例如:
interface GigabitEthernet1/0/3
port link-mode bridge
interface GigabitEthernet1/0/4
port link-mode bridge
security-zone name Local
#
security-zone name Trust
import interface GigabitEthernet1/0/3 vlan 1 to 4094
#
security-zone name Untrust
import interface GigabitEthernet1/0/4 vlan 1 to 4094
#
zone-pair security source Local destination Local
packet-filter 3000
#
zone-pair security source Local destination Trust
packet-filter 3000
#
zone-pair security source Local destination Untrust
packet-filter 3000
#
zone-pair security source Trust destination Local
packet-filter 3000
#
zone-pair security source Trust destination Untrust
packet-filter 3000
#
zone-pair security source Untrust destination Local
packet-filter 3000
#
zone-pair security source Untrust destination Trust
packet-filter 3000
acl advanced 3000
rule 1 permit ip
我只是给您个模板,照这样配能通,但这个范围比较大,您根据实际情况编辑acl和域间策略的实际内容
发一次就行了
(0)
防火墙连接路由器的口调成二层模式,加入untrust域,连接交换机的口调成二层模式,加入trust域,然后做域间策略,trust到untrust permit any ,然后做上trust和local间的策略,例如:
interface GigabitEthernet1/0/3
port link-mode bridge
interface GigabitEthernet1/0/4
port link-mode bridge
security-zone name Local
#
security-zone name Trust
import interface GigabitEthernet1/0/3 vlan 1 to 4094
#
security-zone name Untrust
import interface GigabitEthernet1/0/4 vlan 1 to 4094
#
zone-pair security source Local destination Local
packet-filter 3000
#
zone-pair security source Local destination Trust
packet-filter 3000
#
zone-pair security source Local destination Untrust
packet-filter 3000
#
zone-pair security source Trust destination Local
packet-filter 3000
#
zone-pair security source Trust destination Untrust
packet-filter 3000
#
zone-pair security source Untrust destination Local
packet-filter 3000
#
zone-pair security source Untrust destination Trust
packet-filter 3000
acl advanced 3000
rule 1 permit ip
我只是给您个模板,照这样配能通,但这个范围比较大,您根据实际情况编辑acl和域间策略的实际内容
发一次就行了
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论