这几天在使用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