|
发表于 2010-9-13 15:38:24
|
显示全部楼层
/ip firewall mangle
add action=change-dscp chain=prerouting comment=ICMP disabled=no dscp=0 \
new-dscp=1 protocol=icmp
add action=change-dscp chain=prerouting comment=\
"Game \C3\CE\BB\C3\D6\EF\CF\C9" disabled=no dscp=0 dst-port=28993 \
new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\C3\CE\BB\C3\CE\F7\D3\CE" \
disabled=no dscp=0 dst-port=4088,4188,4588,10116,10156,21388,22788 \
new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\C4\A7\CA\DE\CA\C0\BD\E7" \
disabled=no dscp=0 dst-port=1119,3724,8085 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\D6\EF\CF\C9 \CD\EA\C3\C0\CA\
\C0\BD\E7\B9\FA\BC\CA\B0\E6 \C8\C8\CE\E8\C5\C9\B6\D4" disabled=no dscp=0 \
dst-port=29000 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\D3\C0\BA\E3\D6\AE\CB\FE" \
disabled=no dscp=0 dst-port=7777,10241 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"QQ\B6\D4\D5\BD\C6\BD\CC\A8 \CD\F8\D2\F8" disabled=no dscp=0 dst-port=443 \
new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B4\AB\C6\E6\CA\C0\BD\E7" \
disabled=no dscp=0 dst-port=7100,7203-7204,7400 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=7000 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\C5\DD\C5\DD\CC\C3" \
disabled=no dscp=0 dst-port=6868,33567 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=9646 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="QQ\EC\C5\CE\E8" disabled=no \
dscp=0 dst-port=31414 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B4\A9\D4\BD\BB\F0\CF\DF" \
disabled=no dscp=0 new-dscp=1 port=7101-7103,10008,28012 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
new-dscp=1 port=12000-12175,2349 protocol=udp
add action=change-dscp chain=prerouting comment="\D5\F7\B7\FE" disabled=no \
dscp=0 dst-port=5816 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\BD\A3\CD\F8" disabled=no \
dscp=0 dst-port=3110-3120 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\BD\D6\CD\B7\C0\BA\C7\F2" \
disabled=no dscp=0 dst-port=10011 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=17065 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\C4\A7\D3\F2" disabled=no \
dscp=0 dst-port=5816,8900 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B3\C9\BC\AA\CB\BC\BA\B9" \
disabled=no dscp=0 dst-port=25520-25521,25511 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\BE\A2\CE\E8\CD\C5" \
disabled=no dscp=0 dst-port=17703-17706 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\C8\FD\B9\FA\D5\F9\B0\D4" \
disabled=no dscp=0 dst-port=6660,1610,6600 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\B4\AB\C6\E6\B9\E9\C0\B4" \
disabled=no dscp=0 dst-port=7417,7100 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=12345 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\C4\A7\CA\DE\D5\F9\B0\D43" \
disabled=no dscp=0 dst-port=\
2327,2040,2191,1845,1998,50801,2111,1590,4377,1925,1561,2191,9628 \
new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="qq\BB\AA\CF\C4" disabled=no \
dscp=0 dst-port=5130 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"\BA\C6\B7\BD\B6\D4\D5\BD\C6\BD\CC\A8" disabled=no dscp=0 dst-port=\
9000,1511 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=1203,1607 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\CC\EC\CF\C2\B7\A1" \
disabled=no dscp=0 dst-port=32824,32404-32407,32424,32299 new-dscp=1 \
protocol=udp
add action=change-dscp chain=prerouting comment="CS " disabled=no dscp=0 \
dst-port=27005-27030 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\CE\CA\B5\C0" disabled=no \
dscp=0 dst-port=9010-9014 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\CC\EC\C1\FA\B0\CB\B2\BF" \
disabled=no dscp=0 dst-port=3731-3735,7449,7237 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\BD\A3\CF\C0\C7\E9\D4\B53" \
disabled=no dscp=0 dst-port=3110-3120 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B7\E2\C9\F1\B0\F1" \
disabled=no dscp=0 dst-port=8888 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\C9\F1\B9\ED\B4\AB\C6\E6" \
disabled=no dscp=0 dst-port=30000-30010 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"\C4\A7\CA\DE\CA\C0\BD\E7\CC\A8\B7\FE" disabled=no dscp=0 dst-port=1080 \
new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\D3\A2\D0\DB\B5\BA" \
disabled=no dscp=0 dst-port=6831-6832,6840-6847 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\D6\DA\C9\F1\D6\AE\D5\BD" \
disabled=no dscp=0 dst-port=7000 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="VS\BE\BA\BC\BC\C6\BD\CC\A8" \
disabled=no dscp=0 dst-port=1759 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\D0\C7\B3\BE\B4\AB\CB\B5" \
disabled=no dscp=0 dst-port=2347 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=fifaonline2 disabled=no dscp=\
0 dst-port=6217 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B7\E8\BF\F1\C8\FC\B3\B5" \
disabled=no dscp=0 dst-port=9600 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\D1\B0\CF\C9" disabled=no \
dscp=0 dst-port=7002,15002-15004,3100 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\CF\C9\BD\A3online" \
disabled=no dscp=0 dst-port=15000 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B9\E2\CF\DF\B7\C9\B3\B5" \
disabled=no dscp=0 dst-port=1059 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=2181 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\CA\F1\C3\C5" disabled=no \
dscp=0 dst-port=28880 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\B0\CD\CA\CA\D3\CE\CF\B7" \
disabled=no dscp=0 dst-port=8001,21800 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\CC\D8\D6\D6\B2\BF\B6\D3" \
disabled=no dscp=0 dst-port=27931,20096,20059 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="QQ\D7\D4\D3\C9\BB\C3\CF\EB" \
disabled=no dscp=0 dst-port=6299 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="QQ\D2\F4\CB\D9" disabled=no \
dscp=0 dst-port=28008 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\C2\CC\C9\AB\D5\F7\CD\BE" \
disabled=no dscp=0 dst-port=6020,6030 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"\CE\E4\C1\D6\C8\BA\CF\C0\B4\ABonline2" disabled=no dscp=0 dst-port=6877 \
new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\CA\DE\D1\AA\B7\D0\CC\DA" \
disabled=no dscp=0 dst-port=4680 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\C3\CE\BB\C3\C1\FA\D7\E5" \
disabled=no dscp=0 dst-port=4111 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment=\
"\B7\B4\BF\D6\BE\AB\D3\A2online" disabled=no dscp=0 dst-port=\
27005-27030,27005-27030 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=47611 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="\CD\E1\CD\E1\D3\EF\D2\F4" \
disabled=no dscp=0 dst-port=8081,7081,8446 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=8446 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="\C8\C8\D1\AA\B4\AB\C6\E6" \
disabled=no dscp=0 dst-port=7100-7200,7440,7491,7204,7400-7401,7500,7300 \
new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"\BD\A3\CF\C0\B7\A1\CD\E2\B4\AB" disabled=no dscp=0 dst-port=\
6040-6050,6661-6663 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"\B5\D8\CF\C2\B3\C7\D3\C2\CA\BF" disabled=no dscp=0 dst-port=\
10001-10070,7101-7103 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=5063,5063 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="qq\B7\C9\B3\B5" disabled=no \
dscp=0 dst-port=39311,1764,12721,3133,4550,3620 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment=\
"\C6\F0\B7\B2\D3\CE\CF\B7\C6\BD\CC\A8" disabled=no dscp=0 dst-port=\
6600,6660,1308,1610 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=1607 new-dscp=1 protocol=tcp
add action=change-dscp chain=prerouting comment=\
"\BA\C6\B7\BD\D6\AE\B1\F9\B7\E2\CD\F5\D7\F9" disabled=no dscp=0 dst-port=\
8861,1932,2287,14531,1897,2428,13735,1039,1100 new-dscp=1 protocol=udp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=1210,1381,1473,1509,1785,18979,1140,1371,1510,16434,9865 \
new-dscp=1 protocol=udp
add action=mark-packet chain=postrouting comment="" disabled=no dscp=1 \
new-packet-mark=game passthrough=no src-address=192.168.0.0/16
add action=mark-packet chain=prerouting comment="" disabled=no dscp=1 \
new-packet-mark=gamedown passthrough=no src-address-type=!local
add action=change-dscp chain=prerouting comment=QQ disabled=no dscp=0 \
dst-port=8000-8008 new-dscp=3 protocol=tcp
add action=change-dscp chain=prerouting comment="" disabled=no dscp=0 \
dst-port=7000-8008 new-dscp=3 protocol=udp
add action=mark-packet chain=postrouting comment="" disabled=no dscp=3 \
new-packet-mark=QQ passthrough=no src-address=192.168.0.0/16
add action=mark-packet chain=prerouting comment="" disabled=no dscp=3 \
new-packet-mark=QQdown passthrough=no src-address-type=!local
add action=change-dscp chain=prerouting comment=p2p disabled=no dscp=0 \
new-dscp=8 p2p=all-p2p
add action=change-dscp chain=prerouting comment="web" content=.php disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.htm disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.png disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.shtml disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.asp disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.swf disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web-html" content=.html disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web-js" content=.js disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web-xml" content=.xml disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web-css" content=.css disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.cgi disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.jsp disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.gif disabled=no dscp=0 \
dst-port=80 new-dscp=2 protocol=tcp
add action=change-dscp chain=prerouting comment="web" content=.jpg disabled=no dscp=0\
dst-port=80 new-dscp=2 protocol=tcp
add action=mark-packet chain=postrouting comment="" disabled=no dscp=2 \
new-packet-mark=web passthrough=no src-address=192.168.0.0/16
add action=mark-packet chain=prerouting comment="" disabled=no dscp=2 \
new-packet-mark=webdown passthrough=no src-address-type=!local
add action=change-dscp chain=prerouting comment=other disabled=no dscp=0 \
new-dscp=8
add action=mark-packet chain=postrouting comment="" disabled=no dscp=8 \
new-packet-mark=other passthrough=no src-address=192.168.0.0/16
add action=mark-packet chain=prerouting comment="" disabled=no dscp=8 \
new-packet-mark=otherdown passthrough=no src-address-type=!local
add action=change-dscp chain=prerouting comment="QQ\D3\C5\CF\C8" disabled=no \
dscp=0 layer7-protocol=qq new-dscp=3
add action=change-dscp chain=prerouting comment="POP3\D3\C5\CF\C8" disabled=\
no dscp=0 layer7-protocol=pop3 new-dscp=2
add action=change-dscp chain=prerouting comment="SMTP\D3\C5\CF\C8" disabled=\
no dscp=0 layer7-protocol=smtp new-dscp=2
add action=change-dscp chain=prerouting comment="DNS\D3\C5\CF\C8" disabled=no \
dscp=0 layer7-protocol=dns new-dscp=2
add action=change-dscp chain=prerouting comment=\
"\D3\A2\D0\DB\C1\AA\C3\CB\C3\C0\B7\FE" disabled=no dscp=0 dst-port=\
2099,5233 new-dscp=3 protocol=tcp
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\D3\C5\CF\C8\BC\B6-\C9\CF\D0\D0" packet-mark="" parent=\
global-out priority=3 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\D3\C5\CF\C8\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC\FC" \
packet-mark="" parent="\D3\C5\CF\C8\BC\B6-\C9\CF\D0\D0" priority=1 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\D3\CE\CF\B7\D3\C5\CF\C8" packet-mark=game parent=\
"\D3\C5\CF\C8\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC\FC" priority=1 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\D6\D0\B5\C8\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC" \
packet-mark="" parent="\D3\C5\CF\C8\BC\B6-\C9\CF\D0\D0" priority=5 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\CD\F8\D2\B3\D3\C5\CF\C8" packet-mark=web parent=\
"\D6\D0\B5\C8\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC" priority=6 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="QQ\D3\C5\CF\C8" packet-mark=QQ parent=\
"\D6\D0\B5\C8\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC" priority=6 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\D7\EE\BA\F3\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC" \
packet-mark="" parent="\D3\C5\CF\C8\BC\B6-\C9\CF\D0\D0" priority=8 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="\C6\E4\CB\FC\CA\FD\BE\DD" packet-mark=other parent=\
"\D7\EE\BA\F3\CD\A8\B9\FD\B5\C4\CA\FD\BE\DD\B0\FC" priority=8 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=TotalDown packet-mark="" parent=global-total priority=8 \
queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512000 \
max-limit=3000000 name=2-WEB packet-mark=webdown parent=TotalDown \
priority=2 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=500000 \
max-limit=3000000 name=3-QQ packet-mark=QQdown parent=TotalDown priority=\
3 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
1000000 max-limit=3000000 name=4-OtherDown packet-mark=otherdown parent=\
TotalDown priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=1 \
max-limit=3 name=1-Game packet-mark=gamedown parent=TotalDown priority=1 \
queue=default
============================================
很早就有人发过了 |
|