ROS遊戲端口優先

ROS遊戲端口優先
2009年11月25日 星期三 13:39

# 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章