关于多线路用ExpAuto脚本到期通知问题 求助
本帖最后由 GMgm 于 2012-5-26 22:11 编辑关于ms大侠的ExpAuto脚本 真的很nb 很佩服 用着很不错 但是出现个问题 单线路到期可以到期提醒 但是对于多线pcc 失效
请教论坛的大大们 怎么才能多线路也能正常使用我总的12个铜板 谁帮我解决 送你10个 建议 楼主 吧/ip firewall mangle 贴出来
应该是 通知 部分没有放行所致。。。。ExpAuto 这个还是很强大的呵呵。。。 看看不说话 /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
还是不行啊
还有这个脚本在5.16上面不能用了 如果用pcc均衡的话,把到期的用户的地址段被转向通知页面的时候,把所有流量固定到一条线就不会失效了,亲测。:) src-address-list=ExpAuto_expired
这些用户全部mark connection 为cn
mark cn的用户全部mark routing=r1就可以了。
页:
[1]