acl配置好后client完全不能访问server.如何配置client只能访问server http服务,禁止server访问其它网段
acl number 3000
rule 5 permit tcp destination 192.168.10.253 0 destination-port eq www
rule 10 deny ip destination 192.168.10.253 0
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
traffic-filter outbound acl 3000
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
interface Vlanif10
ip address 192.168.10.254 255.255.255.0
#
interface Vlanif20
ip address 192.168.20.254 255.255.255.0
(0)
最佳答案
interface Vlanif20
traffic-filter inbound acl 3000
这样子配置试试,不配置在二层接口上面
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论