分类

ROS路由

routeros网游端口优先策略

routeros网游端口优先策略

大小:12 KB

语言:简体中文系统:Win2003, WinXP, Win2000, NT, WinME

类别:ROS路由时间:2009-09-13

routeros网游端口优先策略

我内网使用192.168.0.X,,要使用的,,请自行修改成你内网的网段。。。
webox--sysytem--scripts

将下面的代码复制上再运行即可


# dec/04/2008 16:24:57 by RouterOS 2.9.27
# software id = C2RA-S7N
#
/ ip firewall mangle
add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1452
   comment="Change MSS" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=min-delay
   action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="Up
   Number" disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=max-reliability
   action=mark-packet new-packet-mark=LEVEL-2 passthrough=yes comment=""
   disabled=no
add chain=prerouting src-address=192.168.0.0/24 tos=normal action=mark-packet
   new-packet-mark=LEVEL-3 passthrough=yes comment="" disabled=no
add chain=prerouting src-address=192.168.0.0/24 protocol=tcp dst-port=80
   action=mark-packet new-packet-mark=LEVEL-1 passthrough=yes comment="IE
   WEB" disabled=no
add chain=prerouting protocol=icmp action=change-tos new-tos=min-delay
   comment="街头篮球" disabled=no
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

∨ 展开

网友评论

我要跟帖
取消
所有评论 共 0