我也发个ROS脚本吧。抛弃PCQ和限速,两个脚本搞定
不要问我什么问题。 你看脚本。自己就知道。
上网人多的时候。对游戏没有影响。
哈哈。 一直在用。这次发出来吧。
本帖隐藏的内容
- /queue tree
- add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
- max-limit=24000000 name=2-web&down packet-mark="" parent=global-out \
- priority=2 queue=default
- add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
- max-limit=0 name=1-games packet-mark=games_down_p parent=global-total \
- priority=1 queue=default
- add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
- 5000000 max-limit=24000000 name=3-down packet-mark=wan_down parent=\
- 2-web&down priority=4 queue=default
- add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
- max-limit=24000000 name=4-web packet-mark=http parent=2-web&down \
- priority=5 queue=default
- add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
- 1000000 max-limit=3000000 name=9-p2p packet-mark=p2p1 parent=global-in \
- priority=8 queue=default
复制代码- /ip firewall mangle
- add action=jump chain=prerouting comment="" disabled=no in-interface=wan \
- jump-target=gamesdown
- add action=mark-packet chain=prerouting comment="" disabled=no in-interface=\
- wan new-packet-mark=wan_down passthrough=no
- add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=\
- wan_up out-interface=wan passthrough=yes
- add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=\
- wan_up out-interface=wan passthrough=no
- add action=mark-connection chain=prerouting comment=web disabled=no dst-port=\
- 80 new-connection-mark=http-con passthrough=yes protocol=tcp
- add action=mark-packet chain=forward comment="" connection-mark=http-con \
- disabled=no new-packet-mark=http passthrough=yes
- add action=mark-connection chain=gamesdown comment=icmp disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=icmp
- add action=mark-packet chain=gamesdown comment="" connection-mark=gamesdown \
- disabled=no new-packet-mark=games_down_p passthrough=no
- add action=mark-packet chain=prerouting comment="" disabled=no in-interface=\
- wan new-packet-mark=wan_down passthrough=yes
- add action=mark-connection chain=gamesdown comment="\B7\E7\D4\C6" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=2347
- add action=mark-connection chain=gamesdown comment="\C4\A7\CA\DE\CA\C0\BD\E7" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=3724
- add action=mark-connection chain=gamesdown comment="\B9\A6\B7\F2\CA\C0\BD\E7" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=5052
- add action=mark-connection chain=gamesdown comment="\C4\A7\D3\F2\BC\A4\D5\BD" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=5816
- add action=mark-connection chain=gamesdown comment="\D5\F7\CD\BE" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=6020
- add action=mark-connection chain=gamesdown comment="\BD\A3\CF\C0\CA\C0\BD\E7" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=6047
- add action=mark-connection chain=gamesdown comment="\CC\EC\C1\FA\B0\CB\B2\BF" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=3731-3736
- add action=mark-connection chain=gamesdown comment="QQ\C8\FD\B9\FA" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 6299
- add action=mark-connection chain=gamesdown comment="\B4\AB\C6\E62" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 7000,7100
- add action=mark-connection chain=gamesdown comment="\B4\AB\C6\E63" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 7200-7205
- add action=mark-connection chain=gamesdown comment="\CC\EC\CC\C32" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 7777
- add action=mark-connection chain=gamesdown comment="\CE\CA\B5\C0" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=9012
- add action=mark-connection chain=gamesdown comment="\B2\CA\BA\E7\B5\BA" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=10003
- add action=mark-connection chain=gamesdown comment="\BD\D6\CD\B7\C0\BA\C7\F2" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=10011
- add action=mark-connection chain=gamesdown comment="\C8\C8\D1\AA\BD\AD\BA\FE" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=13000
- add action=mark-connection chain=gamesdown comment=CS disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=\
- 27005,27015,27016
- add action=mark-connection chain=gamesdown comment="\B3\AC\BC\B6\CE\E8\D5\DF" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=15010
- add action=mark-connection chain=gamesdown comment="\B7\E7\BB\F0\D6\AE\C2\C3" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=20001
- add action=mark-connection chain=gamesdown comment="\BE\A2\CE\E8\CD\C5" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=25510-25530
- add action=mark-connection chain=gamesdown comment="QQ\D2\F4\CB\D9" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 28008
- add action=mark-connection chain=gamesdown comment=\
- "\CD\EA\C3\C0\CA\C0\BD\E7\D6\EF\CF\C9,\C8\C8\CE\E8\C5\C9\B6\D3" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 29000
- add action=mark-connection chain=gamesdown comment=\
- "\B5\D8\CF\C2\B3\C7\D3\EB\D3\C2\CA\BF" disabled=no new-connection-mark=\
- gamesdown passthrough=yes protocol=tcp src-port=10010-10060
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=7103
- add action=mark-connection chain=gamesdown comment=CF disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=10008
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=\
- 12010-12190
- add action=mark-connection chain=gamesdown comment=QQ disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=8000
- add action=mark-connection chain=gamesdown comment="QQ\EC\C5\CE\E8" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 31414
- add action=mark-connection chain=gamesdown comment="QQ\B7\C9\B3\B5" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 39311
- add action=mark-connection chain=gamesdown comment="\D1\B0\CF\C9" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=15002
- add action=mark-connection chain=gamesdown comment="\D3\CE\CF\B72" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 38112
- add action=mark-connection chain=gamesdown comment="\C3\CE\BB\C3\CE\F7\D3\CE" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=10616,22288
- add action=mark-connection chain=gamesdown comment=winbox disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=8291
- add action=mark-connection chain=gamesdown comment=\
- "QQ\B6\D4\D5\BD\C6\BD\CC\A8" disabled=no new-connection-mark=gamesdown \
- passthrough=yes protocol=udp src-port=1671
- add action=mark-connection chain=gamesdown comment=\
- "\BA\C6\B7\BD\B6\D4\D5\BD\C6\BD\CC\A8" disabled=no new-connection-mark=\
- gamesdown passthrough=yes protocol=udp src-port=1509-1513
- add action=mark-connection chain=gamesdown comment=QQbattle disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=\
- 7000,7100
- add action=mark-connection chain=gamesdown comment="\BD\A3\CF\C0\C7\E9\D4\B5" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=6660-6672
- add action=mark-connection chain=gamesdown comment=\
- "\BD\A3\CF\C0\C7\E9\D4\B53" disabled=no new-connection-mark=gamesdown \
- passthrough=yes protocol=tcp src-port=16763
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=16763
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 3112-3115
- add action=mark-connection chain=gamesdown comment="\B7\E2\C9\F1\B0\F12" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=8888
- add action=mark-connection chain=gamesdown comment="\B4\F3\BB\B0\CE\F7\D3\CE" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=3488
- add action=mark-connection chain=gamesdown comment="\B4\F3\CC\C6\B7\E7\D4\C6" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=udp \
- src-port=31001
- add action=mark-connection chain=gamesdown comment="\B7\E7\D4\C6" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=2347
- add action=mark-connection chain=gamesdown comment="\C4\A7\CA\DE\CA\C0\BD\E7" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=1119
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=3724
- add action=mark-connection chain=gamesdown comment="\CC\EC\C1\FA\B0\CB\B2\BF" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=3731-3736
- add action=mark-connection chain=gamesdown comment="\B9\A6\B7\F2\CA\C0\BD\E7" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=5052
- add action=mark-connection chain=gamesdown comment="\C4\A7\D3\F2\BC\A4\D5\BD" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=5816
- add action=mark-connection chain=gamesdown comment="\D5\F7\CD\BE" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=6020
- add action=mark-connection chain=gamesdown comment="\BD\A3\CF\C0\CA\C0\BD\E7" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=6047
- add action=mark-connection chain=gamesdown comment="QQ\C8\FD\B9\FA" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 6299
- add action=mark-connection chain=gamesdown comment="\B4\AB\C6\E63" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 7200-7205
- add action=mark-connection chain=gamesdown comment="\CC\EC\CC\C32" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 7777
- add action=mark-connection chain=gamesdown comment="\CE\CA\B5\C0" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=9012
- add action=mark-connection chain=gamesdown comment="\B2\CA\BA\E7\B5\BA" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=10003
- add action=mark-connection chain=gamesdown comment="\B4\AB\C6\E62" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 7000,7100
- add action=mark-connection chain=gamesdown comment="\BD\D6\CD\B7\C0\BA\C7\F2" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=10011
- add action=mark-connection chain=gamesdown comment="\C8\C8\D1\AA\BD\AD\BA\FE" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=13000
- add action=mark-connection chain=gamesdown comment=CS disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=\
- 27005,27015,27016
- add action=mark-connection chain=gamesdown comment="\B3\AC\BC\B6\CE\E8\D5\DF" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=15010
- add action=mark-connection chain=gamesdown comment="\B7\E7\BB\F0\D6\AE\C2\C3" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=20001
- add action=mark-connection chain=gamesdown comment="\BE\A2\CE\E8\CD\C5" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=25510-25530
- add action=mark-connection chain=gamesdown comment="QQ\D2\F4\CB\D9" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 28008
- add action=mark-connection chain=gamesdown comment=\
- "\CD\EA\C3\C0\CA\C0\BD\E7\D6\EF\CF\C9,\C8\C8\CE\E8\C5\C9\B6\D3" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 29000
- add action=mark-connection chain=gamesdown comment=\
- "\B5\D8\CF\C2\B3\C7\D3\EB\D3\C2\CA\BF" disabled=no new-connection-mark=\
- gamesdown passthrough=yes protocol=tcp src-port=10010-10060
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=2957
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=7103
- add action=mark-connection chain=gamesdown comment=CF disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=10008
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=\
- 12010-12190
- add action=mark-connection chain=gamesdown comment=QQ disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=8000
- add action=mark-connection chain=gamesdown comment="QQ\EC\C5\CE\E8" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 31414
- add action=mark-connection chain=gamesdown comment="QQ\B7\C9\B3\B5" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 39311
- add action=mark-connection chain=gamesdown comment="\D1\B0\CF\C9" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=15002
- add action=mark-connection chain=gamesdown comment="\D3\CE\CF\B72" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 38112
- add action=mark-connection chain=gamesdown comment="\C3\CE\BB\C3\CE\F7\D3\CE" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=10616,22288
- add action=mark-connection chain=gamesdown comment=winbox disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=8291
- add action=mark-connection chain=gamesdown comment=\
- "QQ\B6\D4\D5\BD\C6\BD\CC\A8" disabled=no new-connection-mark=gamesdown \
- passthrough=yes protocol=udp src-port=1671
- add action=mark-connection chain=gamesdown comment=\
- "\BA\C6\B7\BD\B6\D4\D5\BD\C6\BD\CC\A8" disabled=no new-connection-mark=\
- gamesdown passthrough=yes protocol=udp src-port=1509-1513
- add action=mark-connection chain=gamesdown comment=QQbattle disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=\
- 7000,7100
- add action=mark-connection chain=gamesdown comment="\BD\A3\CF\C0\C7\E9\D4\B5" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=6660-6672
- add action=mark-connection chain=gamesdown comment=\
- "\BD\A3\CF\C0\C7\E9\D4\B53" disabled=no new-connection-mark=gamesdown \
- passthrough=yes protocol=tcp src-port=16763
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=udp src-port=16763
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 3112-3115
- add action=mark-connection chain=gamesdown comment="\B7\E2\C9\F1\B0\F12" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=8888
- add action=mark-connection chain=gamesdown comment="\B4\F3\BB\B0\CE\F7\D3\CE" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=tcp \
- src-port=3488
- add action=mark-connection chain=gamesdown comment="\B4\F3\CC\C6\B7\E7\D4\C6" \
- disabled=no new-connection-mark=gamesdown passthrough=yes protocol=udp \
- src-port=31001
- add action=mark-connection chain=gamesdown comment="\C4\A7\CA\DE3" disabled=\
- no new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=\
- 1118,1310
- add action=mark-connection chain=gamesdown comment=\
- "\C6\F0\B7\B2\C8\FD\B9\FA\D5\F9\B0\D4" disabled=no new-connection-mark=\
- gamesdown passthrough=yes protocol=tcp src-port=6205,1607,2175
- add action=mark-connection chain=gamesdown comment=\
- "\C6\F0\B7\B2\C8\FD\B9\FA\D5\F9\B0\D4" disabled=no new-connection-mark=\
- gamesdown passthrough=yes protocol=udp src-port=11438
- add action=mark-connection chain=gamesdown comment=JK disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=8888
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=9880
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=9881
- add action=mark-connection chain=gamesdown comment="" disabled=no \
- new-connection-mark=gamesdown passthrough=yes protocol=tcp src-port=8889
- add action=mark-packet chain=prerouting comment=p2p-udp disabled=no \
- new-packet-mark=p2p packet-size=800-1500 passthrough=yes protocol=udp \
- src-address=192.168.0.0/23 src-address-list=p2p-udp src-port=1000-65535
- add action=add-src-to-address-list address-list=p2p-udp address-list-timeout=\
- 30s chain=prerouting comment="" connection-limit=100,32 disabled=no \
- protocol=tcp src-address=192.168.0.0/23
- add action=mark-packet chain=prerouting comment=p2p-tcp disabled=no dst-port=\
- !80 new-packet-mark=p2p1 packet-size=800-1500 passthrough=yes protocol=\
- tcp src-address=192.168.0.0/23 src-address-list=p2p-20
- add action=add-src-to-address-list address-list=p2p-20 address-list-timeout=\
- 30s chain=prerouting comment="" connection-limit=20,32 disabled=no \
- dst-port=!80 packet-size=800-1500 protocol=tcp src-address=192.168.0.0/23
复制代码
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。