RouterOS 封QQ脚本(2010-4-20测试有效)

这几天在使用RouterOS在做一些测试,使用L7之前是能封QQ的,但今天发现不能封了。可能是QQ又加了服务器。太可恶了!

为此,在网上找到一段代码,QQ服务器的地址基本上都在里面了。跟大家共享一下。

/ip firewall address-list
add address=219.133.49.0/24 comment="" disabled=no list=QQ
add address=58.61.166.0/24 comment="" disabled=no list=QQ
add address=58.251.60.0/24 comment="" disabled=no list=QQ
add address=58.251.63.0/24 comment="" disabled=no list=QQ
add address=219.133.60.0/24 comment="" disabled=no list=QQ
add address=58.251.62.0/24 comment="" disabled=no list=QQ
add address=58.60.13.0/24 comment="" disabled=no list=QQ
add address=219.133.48.0/24 comment="" disabled=no list=QQ
add address=58.251.58.0/24 comment="" disabled=no list=QQ
add address=121.14.96.0/24 comment="" disabled=no list=QQ
add address=58.60.9.0/24 comment="" disabled=no list=QQ
add address=121.14.101.0/24 comment="" disabled=no list=QQ
add address=119.147.64.0/24 comment="" disabled=no list=QQ
add address=113.108.64.0/24 comment="" disabled=no list=QQ
add address=119.147.19.0/24 comment="" disabled=no list=QQ
add address=119.147.9.0/24 comment="" disabled=no list=QQ
add address=58.61.33.0/24 comment="" disabled=no list=QQ
add address=119.147.18.0/24 comment="" disabled=no list=QQ
add address=201.104.241.0/24 comment="" disabled=no list=QQ
add address=219.133.48.0/24 comment="" disabled=no list=QQ
add address=121.14.94.0/24 comment="\CA\D6\BB\FAQQ" disabled=no list=QQ
add address=58.60.10.0/24 comment="" disabled=no list=QQ
/ip firewall filter
add action=drop chain=forward comment="\B7\E2QQ" disabled=no protocol=udp \
    src-port=4000-4006
add action=drop chain=forward comment="" disabled=no protocol=udp src-port=\
    6000-6006
add action=drop chain=forward comment="" disabled=no dst-port=8000-8004 \
    protocol=udp
add action=drop chain=forward comment="" disabled=no dst-port=8000-8004 \
    protocol=tcp
add action=drop chain=forward comment="\CA\D6\BB\FAQQ" disabled=no dst-port=\
    14000 protocol=tcp
add action=drop chain=forward comment="" disabled=no dst-address-list=QQ

转载于:https://my.oschina.net/u/2316994/blog/377105

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值