|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
在做nth的时候,怎么做都只有一条线有流量.麻烦高人看下:
mangle脚本如下:
0 chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,0
src-address-list=Client dst-address-list=!Server1 action=mark-connection
new-connection-mark=nth_1 passthrough=yes
1 chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,1
src-address-list=Client dst-address-list=!Server1 action=mark-connection
new-connection-mark=nth_2 passthrough=yes
2 chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,2
src-address-list=Client dst-address-list=!Server1 action=mark-connection
new-connection-mark=nth_3 passthrough=yes
3 chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,3
src-address-list=Client dst-address-list=!Server1 action=mark-connection
new-connection-mark=nth_4 passthrough=yes
4 chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,4
src-address-list=Client dst-address-list=!Server1 action=mark-connection
new-connection-mark=nth_5 passthrough=yes
5 chain=prerouting connection-mark=nth_1 action=mark-routing
new-routing-mark=pppoe1 passthrough=no
6 chain=prerouting connection-mark=nth_2 action=mark-routing
new-routing-mark=pppoe2 passthrough=no
7 chain=prerouting connection-mark=nth_3 action=mark-routing
new-routing-mark=pppoe3 passthrough=no
8 chain=prerouting connection-mark=nth_4 action=mark-routing
new-routing-mark=pppoe4 passthrough=no
9 chain=prerouting connection-mark=nth_5 action=mark-routing
new-routing-mark=pppoe5 passthrough=no |
-
|