注册 登录
自由的生活_软路由 返回首页

yuefy的个人空间 https://bbs.routerclub.com/?168741 [收藏] [复制] [分享] [RSS]

日志

ROS游戏端口优先

已有 2073 次阅读2011-4-9 22:20 |个人分类:论坛传说|

# dec/21/2006 23:16:41 by RouterOS 2.9.27
# software id = GUUU-FLN
#
/ ip firewall mangle
add chain=prerouting protocol=icmp action=change-tos new-tos=min-delay \
    comment="街头篮球" disabled=yes
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=10015 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=3724 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="魔兽世界" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=35588 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=38117 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="惊天动地" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=29000 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="完美世界&武林外传" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=4001 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="新郑和" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=6020 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="征途" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=7000-7003 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="传奇&4f&世界" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=7100 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=7200-7201 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=7300 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=7400 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=27015-27016 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="CS" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=8000 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="QQ" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=8000 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="QQ&水浒Q传" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=6299 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="QQ幻想" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=25510-25511 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="劲舞团" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp src-port=1160 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="war3" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=27888 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="梦幻西游" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=13388 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="大话西游" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=4301 \
    action=mark-packet new-packet-mark=netgame passthrough=yes comment="傲世" \
    disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=2346-2347 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="传说OL&风云" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=31001 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="大唐风云" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=6045 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="大唐豪侠" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=udp dst-port=15269 \
    action=mark-packet new-packet-mark=netgame passthrough=yes \
    comment="刀剑OL" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=1754-1755 \
    action=mark-packet new-packet-mark=LowTcp1 passthrough=yes \
    comment="流媒体" disabled=yes
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=554 \
    action=mark-packet new-packet-mark=LowTcp1 passthrough=yes comment="" \
    disabled=yes
add chain=prerouting protocol=tcp tcp-flags=syn icmp-options=0:0 \
    action=change-mss new-mss=1450 comment="WWW" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=80 \
    action=mark-packet new-packet-mark=web passthrough=yes comment="" \
    disabled=yes

/ queue tree
add name="wlyx" parent=global-total packet-mark=netgame limit-at=0 \
    queue=default priority=5 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="www" parent=global-total packet-mark=web limit-at=0 queue=default \
    priority=6 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=yes
add name="queue1" parent=global-total packet-mark=LowTcp1 limit-at=0 \
    queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=yes

请保存为*.rsc后导入


路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-6 09:47 , Processed in 0.044296 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

返回顶部