找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2114|回复: 4

[其它] 发一个WEB单独走线的角本代码有兴趣的朋友可以研究一下

[复制链接]
发表于 2010-11-27 00:06:43 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 szhefeng 于 2010-11-27 00:20 编辑


发一个WEB单独走线的角本代码有兴趣的朋友可以研究一下

/ 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
发表于 2010-11-27 00:09:53 | 显示全部楼层
此帖仅作者可见
routeros

使用道具 举报

发表于 2010-11-27 22:51:55 | 显示全部楼层
此帖仅作者可见
routeros

使用道具 举报

发表于 2010-11-29 09:11:03 | 显示全部楼层
此帖仅作者可见
routeros

使用道具 举报

发表于 2010-12-7 01:10:28 | 显示全部楼层
此帖仅作者可见
routeros

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 22:11 , Processed in 0.050166 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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