蓝色动力网络

找网吧系统
就到网吧系统下载站

实例详解ROS端口限速

作者:admin人气:0来源:网吧系统下载站2013-04-19 10:29:13

广告载入中...

例如限制,内网192.168.1.253的8612端口的速度


1.内网192.168.1.253   端口8612——-标记连接

/ip firewall mangle

add action=mark-connection chain=prerouting comment="" disabled=yes

new-connection-mark=8612 passthrough=yes protocol=tcp src-address=

192.168.1.253 src-port=8612

2. 内网192.168.1.253   端口8612 ——-标记数据包


/ip firewall mangle

add action=mark-packet chain=prerouting comment="" disabled=yes

new-packet-mark=8612 passthrough=yes src-address=192.168.1.253


3.限速


/queue tree

add burst-limit=0 burst-threshold=0 burst-time=0s disabled=yes limit-at=

1000000 max-limit=1000000 name=8612 packet-mark=8612 parent=global-out

priority=1 queue=default

继续阅读:ROS

分享吧~提高逼格:

栏目分类

热门下载

More
官方微信二维码蓝色动力官方微信公众号