找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3855|回复: 3

[负载平衡] 我是这样解决nth 网银和QQ2009的....

[复制链接]
发表于 2009-9-27 11:46:34 | 显示全部楼层 |阅读模式

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

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

×
/ ip firewall mangle
add chain=prerouting in-interface=Lan protocol=tcp dst-port=80 \
    connection-mark=4 action=mark-routing new-routing-mark=4 passthrough=no \
    comment="" disabled=no
add chain=prerouting in-interface=Lan protocol=tcp dst-port=443 \
    connection-mark=4 action=mark-routing new-routing-mark=4 passthrough=no \
    comment="" disabled=no
add chain=prerouting in-interface=Lan protocol=udp dst-port=8000 \
    connection-mark=4 action=mark-routing new-routing-mark=4 passthrough=no \

    comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,0 \
    action=mark-connection new-connection-mark=1 passthrough=yes comment="" \
    disabled=no
add chain=prerouting in-interface=Lan connection-mark=1 action=mark-routing \
    new-routing-mark=1 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,1 \
    action=mark-connection new-connection-mark=2 passthrough=yes comment="" \
    disabled=no
add chain=prerouting in-interface=Lan connection-mark=2 action=mark-routing \
    new-routing-mark=2 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,2 \
    action=mark-connection new-connection-mark=3 passthrough=yes comment="" \
    disabled=no
add chain=prerouting in-interface=Lan connection-mark=3 action=mark-routing \
    new-routing-mark=3 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Lan connection-state=new nth=3,4,3 \
    action=mark-connection new-connection-mark=4 passthrough=yes comment="" \
    disabled=no
add chain=prerouting in-interface=Lan connection-mark=4 action=mark-routing \
    new-routing-mark=4 passthrough=no comment="" disabled=no
routeros
发表于 2009-9-27 14:53:50 | 显示全部楼层
这样也能解决,厉害厉害,不知网银解决了,开网页和在线电影会怎样
routeros
回复

使用道具 举报

发表于 2009-9-27 19:53:32 | 显示全部楼层
请教一下这个passthrough词义应该是通道吧,具体作用是什么呢?勾选与否对速度影响大吗?
routeros
回复

使用道具 举报

发表于 2009-9-28 00:05:25 | 显示全部楼层
我理解是:执行完本条规则后,是否跳到下一条。
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-26 10:44 , Processed in 0.067480 second(s), 14 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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