|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
本帖最后由 vrai 于 2011-6-29 16:54 编辑
可能是大家的要求不高,所以没什么抱怨,至少两三个人疯狂下载,其他人还是可以比较顺畅的qq 开网页
线路极限:下载2.2Mb 上传在800k左右,情况不同 个别数值,自己微调吧,此外,防火墙上限制每ip tcp 80个连接数
qos.rar
(759 Bytes, 下载次数: 67, 售价: 10 铜板)
最近这段时间,看到铜板没什么增长,唉,大家都不容易啊!!!
x.x.x.x/16 改成自己的实际情况 具体的数值,请根据个人网络速度,自己微调
/ip firewall mangle
add action=mark-connection chain=forward comment="" connection-mark=\
!heavy_traffic_conn disabled=no new-connection-mark=all_conn \
passthrough=yes
add action=mark-connection chain=forward comment="" connection-bytes=\
500000-0 connection-mark=all_conn connection-rate=150k-100M disabled=\
no new-connection-mark=heavy_traffic_conn passthrough=yes protocol=\
tcp
add action=mark-connection chain=forward comment="" connection-bytes=\
500000-0 connection-mark=all_conn connection-rate=150k-100M disabled=\
no new-connection-mark=heavy_traffic_conn passthrough=yes protocol=\
udp
add action=mark-packet chain=forward comment="" connection-mark=\
heavy_traffic_conn disabled=no new-packet-mark=up_heavy_traffic \
passthrough=no src-address=x.x.x.x/16
add action=mark-packet chain=forward comment="" connection-mark=\
heavy_traffic_conn disabled=no dst-address=x.x.x.x/16 \
new-packet-mark=down_heavy_traffic passthrough=no
add action=mark-packet chain=forward comment="" connection-mark=all_conn \
disabled=no new-packet-mark=up_other_traffic passthrough=no \
src-address=x.x.x.x/16
add action=mark-packet chain=forward comment="" connection-mark=all_conn \
disabled=no dst-address=x.x.x.x/16 new-packet-mark=\
down_other_traffic passthrough=no
/queue type
add kind=pcq name=pcq-up pcq-classifier=src-address pcq-limit=50 \
pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-down pcq-classifier=dst-address pcq-limit=50 \
pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-up-heavy pcq-classifier=src-address pcq-limit=50 \
pcq-rate=224000 pcq-total-limit=2000
add kind=pcq name=pcq-down-heavy pcq-classifier=dst-address pcq-limit=50 \
pcq-rate=768000 pcq-total-limit=2000
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
640k max-limit=768k name=upload parent=wan priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
1800k max-limit=2100k name=download parent=global-out priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
420k max-limit=420k name=other_upload packet-mark=up_other_traffic \
parent=upload priority=1 queue=pcq-up
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
220k max-limit=640k name=heavy_upload packet-mark=up_heavy_traffic \
parent=upload priority=8 queue=pcq-up-heavy
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
1200k max-limit=1200k name=other_download packet-mark=\
down_other_traffic parent=download priority=1 queue=pcq-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
600k max-limit=1800k name=heavy_download packet-mark=\
down_heavy_traffic parent=download priority=8 queue=pcq-down-heavy
|
|