找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4654|回复: 7

[其它] 关于多线路用ExpAuto脚本到期通知问题 求助

[复制链接]
发表于 2012-5-26 22:08:53 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 GMgm 于 2012-5-26 22:11 编辑

关于ms大侠的ExpAuto脚本 真的很nb   很佩服 用着很不错 但是出现个问题 单线路到期可以到期提醒 但是对于多线pcc 失效  
请教论坛的大大们 怎么才能多线路也能正常使用  我总的12个铜板 谁帮我解决 送你10个  
routeros
发表于 2012-5-27 06:30:48 | 显示全部楼层
建议 楼主 吧  /ip firewall mangle 贴出来
应该是 通知 部分没有放行所致。。。。ExpAuto 这个还是很强大的  呵呵。。。
routeros
回复

使用道具 举报

发表于 2012-5-27 07:42:05 | 显示全部楼层
看看不说话
routeros
回复

使用道具 举报

 楼主| 发表于 2012-5-27 10:07:04 | 显示全部楼层
/ip firewall mangle
add action=add-src-to-address-list address-list=ExpAuto_allow \
    address-list-timeout=3h chain=prerouting comment=\
    "ExpAuto touch to allow list & Timeout" disabled=no dst-port=20189 \
    protocol=tcp src-address-list=ExpAuto_expired
add action=accept chain=prerouting comment="ExpAuto allow expired notice" \
    disabled=no dst-port=80 protocol=tcp src-address-list=ExpAuto_expired
add action=mark-connection chain=prerouting comment=pppoe1-con1 disabled=no \
    dst-address-type=!local new-connection-mark=pppoe-out1_conn passthrough=\
    yes per-connection-classifier=both-addresses:3/0 src-address=\
    11.11.11.0/24
add action=mark-connection chain=prerouting comment=pppoe1-con2 disabled=no \
    dst-address-type=!local new-connection-mark=pppoe-out1_conn passthrough=\
    yes per-connection-classifier=both-addresses:3/1 src-address=\
    11.11.11.0/24
add action=mark-connection chain=prerouting comment=wan2 disabled=no \
    dst-address-type=!local new-connection-mark=wan2_conn passthrough=yes \
    per-connection-classifier=both-addresses:3/2 src-address=11.11.11.0/24
add action=mark-routing chain=prerouting connection-mark=pppoe-out1_conn \
    disabled=no new-routing-mark=pppoe1rout passthrough=yes src-address=\
    11.11.11.0/24
add action=mark-routing chain=prerouting connection-mark=wan2_conn disabled=\
    no new-routing-mark=cncrout passthrough=yes src-address=11.11.11.0/24
add action=mark-connection chain=input disabled=yes in-interface=pppoe-out1 \
    new-connection-mark=pppoe-out1_conn passthrough=yes
add action=mark-routing chain=output connection-mark=pppoe-out1_conn \
    disabled=yes new-routing-mark=pppoe1rout passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=wan2 \
    new-connection-mark=wan2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wan2_conn disabled=yes \
    new-routing-mark=cncrout passthrough=yes
routeros
回复

使用道具 举报

 楼主| 发表于 2012-5-27 10:07:25 | 显示全部楼层
还是不行啊
routeros
回复

使用道具 举报

 楼主| 发表于 2012-5-27 10:07:42 | 显示全部楼层
还有这个脚本在5.16上面不能用了
routeros
回复

使用道具 举报

发表于 2012-5-31 15:22:54 | 显示全部楼层
如果用pcc均衡的话,把到期的用户的地址段被转向通知页面的时候,把所有流量固定到一条线就不会失效了,亲测。
routeros
回复

使用道具 举报

发表于 2012-5-31 15:27:01 | 显示全部楼层
src-address-list=ExpAuto_expired
这些用户全部mark connection 为cn
mark cn的用户全部mark routing=r1就可以了。
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-3 09:14 , Processed in 0.058093 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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