免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2299 | 回复: 1
打印 上一主题 下一主题

h3c f100-s 禁止迅雷下载,大智慧 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-10 10:47 |只看该作者 |倒序浏览
h3c f100-s
禁止迅雷下载,大智慧
time-range off-work-time1 00:00 to 07:30 daily
time-range off-work-time2 17:01 to 24:00 daily

acl number 3002
description discarding unnecessary packets
rule 10 permit ip time-range off-work-time1
rule 11 permit ip time-range off-work-time2
rule 12 permit udp destination-port eq dns
rule 13 permit tcp destination-port eq www
rule 14 permit tcp destination-port eq 443
rule 15 permit tcp destination-port eq ftp
rule 16 permit tcp destination-port eq pop3
rule 17 permit tcp destination-port eq smtp
rule 18 permit udp destination-port eq 8000
rule 19 permit tcp destination-port eq 1863
rule 20 permit tcp destination-port eq domain
rule 21 permit tcp destination-port eq 5000
rule 22 deny tcp destination-port eq 5188
rule 23 deny tcp destination-port eq 22223
rule 30 permit icmp
rule 31 permit tcp destination-port eq telnet
rule 50 deny ip

interface ethernet 0/2
firewall packet-filter 3002 outbound

在这里我设了两个时间段,分别是00:00~07:30和17:01~24:00,在这段时间内不限制BT和迅雷。

实际效果非常好,迅雷、BT和eMule基本上连不上任何资源。缺点是如果有特殊软件如股票和网游等

需要使用,需要抓包找出目的端口,再随时向ACL 3002里面添加新规则

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22117/showart_1821855.html

论坛徽章:
0
2 [报告]
发表于 2009-02-23 14:39 |只看该作者
大智慧就几个端口,封了就行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP