找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 33282|回复: 47

QOS限速脚本生成器使用方法(图片教程)

[复制链接]
发表于 2007-2-10 23:25 | 显示全部楼层 |阅读模式
脚本生成器下载器
https://www.right.com.cn/forum/v ... &extra=page%3D1

[ 本帖最后由 ekinmagic 于 2007-2-10 23:28 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2007-2-11 04:09 | 显示全部楼层
LZ觉得好用吗?生成后可直接粘贴使用?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-2-11 20:01 | 显示全部楼层
为什么不做一个中文版
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-2-11 21:46 | 显示全部楼层
这个软件是加壳的似乎本地化比较麻烦,可惜我不会脱壳
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-6 21:18 | 显示全部楼层
不知道那个应该是连接数
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-6 22:27 | 显示全部楼层
使用脚本后如何取消呢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-6 23:55 | 显示全部楼层
请教番茄 中那个位置输入这个设好的脚本??
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-8 23:06 | 显示全部楼层
裸版刷DDWRT可以用吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-9 03:20 | 显示全部楼层
我深圳ADSL 3M的,平时最高下载可以达到400K/S,我想限制网内的电脑下载最高只能130K,前面设置的都和你一样,为什么到完成时老提示错误,请看下图,楼主这是为什么,谢谢``另外3M的带宽下行速度是不是填400kbps?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-9 09:45 | 显示全部楼层
可能楼主翻译有误 dl rate(保证速率) dl ceil (最大速率)
看这句话

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-9 09:50 | 显示全部楼层
还有一点楼主要注意生成的脚本可能太大不能保存到防火墙命令中。我就是这样的,
我是用这个方法解决的脚本如下:
#--------------------------------------------
#WRT54 Script Generator v1.00
#Copyright (C) 2006 Robert "Robson" Mytkowski
#--------------------------------------------
TCA="tc class add dev br0"
TFA="tc filter add dev br0"
tc qdisc del dev br0 root
tc qdisc add dev br0 root handle 1: htb
tc class add dev br0 parent 1: classid 1:1 htb rate 2048kbit
$TCA parent 1:1 classid 1:10 htb rate 300kbit ceil 300kbit prio 2
$TFA parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:10
iptables -t mangle -A POSTROUTING -d 192.168.0.12/30 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.16/28 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.32/27 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.64/26 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.128/26 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.192/27 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.224/28 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.240/29 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.248/30 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.0.252/31 -j MARK --set-mark 10
tc qdisc add dev br0 ingress
$TFA parent ffff: protocol ip handle 50 fw police rate 300kbit mtu 12k burst 10k drop
iptables -t mangle -A PREROUTING -s 192.168.0.12/30 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.16/28 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.32/27 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.64/26 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.128/26 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.192/27 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.224/28 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.240/29 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.248/30 -j MARK --set-mark 50
iptables -t mangle -A PREROUTING -s 192.168.0.252/31 -j MARK --set-mark 50

ip 地址从192.168.0。12-192.168.0.253
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2007-3-9 18:42 | 显示全部楼层
是太长是无法保存的! 我一般自己用循环语句写
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-9 19:58 | 显示全部楼层
楼主,我的无线路由54G是选择了自动获取IP,不是PPPOE,因为我前面还有一个路由,是在前一个路由分了条线过来的,我需要改一下哪里再把这些复制进去呢?


#--------------------------------------------
#WRT54 Script Generator v1.00
#Copyright (C) 2006 Robert "Robson" Mytkowski
#--------------------------------------------
TCA="tc class add dev br0"
TFA="tc filter add dev br0"
tc qdisc del dev br0 root
tc qdisc add dev br0 root handle 1: htb
tc class add dev br0 parent 1: classid 1:1 htb rate 3200kbit
$TCA parent 1:1 classid 1:10 htb rate 400kbit ceil 1300kbit prio 2
$TFA parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:10
iptables -t mangle -A POSTROUTING -d 192.168.10.101 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.102 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.103 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.104 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.105 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.106 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.107 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.108 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.109 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.110 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.111 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.112 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.113 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.114 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.115 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.116 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.117 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.118 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.119 -j MARK --set-mark 10
iptables -t mangle -A POSTROUTING -d 192.168.10.120 -j MARK --set-mar
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-9 23:35 | 显示全部楼层
请问运行这个脚本后,结果是保存在那的,
以后好编辑啊
谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2007-3-10 11:12 | 显示全部楼层
楼上:保存在防火墙命令中。
楼主:怎样用循环语句能不能给一个例子????
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 12:38

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表