找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5370|回复: 1

[脚本] 版主,高手帮我解决mangle的问题!

[复制链接]
发表于 2011-8-9 20:05:49 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

×
版主,高手帮我解决mangle的问题!我用了一个网页优先脚本,的确有效果,但有极少数的网站打不开,禁用firwall的mangle网页标记后,那个网站就能够打开,试了很多。请高手帮我分析。补充我是双线ADSL
/ ip firewall mangle
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=msie content=MSIE disabled=no dst-port=80 protocol=\
    tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=jpg content=.jpg disabled=no dst-port=80 protocol=\
    tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=gif content=.gif disabled=no dst-port=80 protocol=\
    tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=htm content=.htm disabled=no dst-port=80 protocol=\
    tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=html content=.html disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=asp content=.asp disabled=no dst-port=80 protocol=\
    tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=aspx content=.aspx disabled=no dst-port=80 \
    protocol=tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=php content=.php disabled=no dst-port=80 protocol=\
    tcp


/ ip firewall mangle

add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=swf content=.swf disabled=no dst-port=80 protocol=\
    tcp
add action=add-dst-to-address-list address-list=web80 address-list-timeout=5m \
    chain=forward comment=shtml content=.shtml disabled=no dst-port=80 \
    protocol=tcp
add action=mark-connection chain=forward comment=web80 disabled=no \
    new-connection-mark=web passthrough=yes src-address-list=web80
add action=mark-connection chain=forward comment="" disabled=no \
    dst-address-list=web80 new-connection-mark=web passthrough=yes

add action=mark-packet chain=forward comment="" connection-mark=web disabled=no new-packet-mark=web80 passthrough=no
routeros
发表于 2011-8-9 21:41:09 | 显示全部楼层
好眼熟的标记
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-23 05:20 , Processed in 0.072601 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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