找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6007|回复: 4

[策略设置] 分享radius manager3.9 做到期提醒方法

[复制链接]
发表于 2013-3-26 15:54:28 | 显示全部楼层 |阅读模式
购买主题 已有 40 人购买  本主题需向作者支付 2 铜板 才能浏览
routeros
发表于 2013-3-26 16:15:16 | 显示全部楼层
不是可以直接设置31天的么?····

点评

我要的是自动停止,如果到期服务设置限制日期,反正我是无法设置自动延期2天后禁止的。。  发表于 2013-3-26 16:25
routeros
回复

使用道具 举报

发表于 2013-3-26 16:37:15 | 显示全部楼层
/ip pool
add name=stop ranges=20.20.20.0/24

/ip firewall filter
add action=drop chain=forward comment=\
    "\B9\FD\C2\CB\B5\BD\C6\DA\D3\C3\BB\A7\C9\CF\CD\F8" disabled=no dst-port=\
    !80-84 protocol=tcp src-address=20.20.20.0/24
add action=drop chain=forward comment=\
    "\B9\FD\C2\CB\B5\BD\C6\DA\D3\C3\BB\A7\C9\CF\CD\F8" disabled=no dst-port=\
    !53 protocol=udp src-address=20.20.20.0/24
/ip firewall mangle
add action=add-src-to-address-list address-list=XbtAuto_allow \
    address-list-timeout=10h chain=prerouting comment=\
    "\CC\E1\C7\B0\CD\A8\D6\AA" disabled=no dst-port=20189 protocol=tcp \
    src-address-list=XbtAuto_expired
add action=accept chain=prerouting comment="\CC\E1\C7\B0\CD\A8\D6\AA" \
    disabled=no dst-port=80 protocol=tcp src-address-list=XbtAuto_expired
add action=add-src-to-address-list address-list=XbtTs_allow \
    address-list-timeout=23h chain=prerouting comment=\
    "\CD\C6\CB\CD\CD\A8\D6\AA" disabled=no dst-port=20188 protocol=tcp \
    src-address-list="\D4\DA\CF\DF"
add action=accept chain=prerouting comment="\CD\C6\CB\CD\CD\A8\D6\AA" \
    disabled=no dst-port=80 protocol=tcp src-address-list="\D4\DA\CF\DF"
add action=add-src-to-address-list address-list="\D4\DA\CF\DF" \
    address-list-timeout=10m chain=prerouting comment="\C6\F4\D3\C3\CD\C6\CB\
    \CD\A3\A8\B2\BB\CD\C6\CB\CD\CA\B1\BD\FB\D3\C3\A3\A9" disabled=yes \
    src-address-list=local
add action=accept chain=prerouting comment=\
    "\D4\CA\D0\ED\BC\C6\B7\D1\B7\FE\CE\F1\C6\F7\CD\A8\B9\FD\C2\B7\D3\C9" \
    disabled=no dst-address=192.168.9.222
/ip firewall nat
add action=redirect chain=dstnat comment="\BC\C6\B7\D1\B7\FE\CE\F1\C6\F7IP" \
    disabled=no dst-address=192.168.9.222 dst-port=82,81 protocol=tcp \
    to-ports=9000
add action=accept chain=dstnat comment="\CC\E1\C7\B0\CD\A8\D6\AA\CC\F8\B9\FD" \
    disabled=no dst-port=80 protocol=tcp src-address-list=XbtAuto_allow
add action=dst-nat chain=dstnat comment="\CC\E1\C7\B0\CD\A8\D6\AA" disabled=\
    no dst-address=!192.168.9.222 dst-port=80 protocol=tcp src-address-list=\
    XbtAuto_expired to-addresses=192.168.9.222 to-ports=81
add action=accept chain=dstnat comment="\CD\C6\CB\CD\CD\A8\D6\AA\CC\F8\B9\FD" \
    disabled=no dst-port=80 protocol=tcp src-address-list=XbtTs_allow
add action=dst-nat chain=dstnat comment="\CD\C6\CB\CD\CD\A8\D6\AA" disabled=\
    no dst-address=!192.168.9.222 dst-port=80 protocol=tcp src-address-list=\
    "\D4\DA\CF\DF" to-addresses=192.168.9.222 to-ports=83
add action=dst-nat chain=dstnat comment="\B5\BD\C6\DA\CC\E1\D0\D1" disabled=\
    no dst-address=!192.168.9.222 dst-port=80 protocol=tcp src-address=\
    20.20.20.0/24 to-addresses=192.168.9.222 to-ports=82
add action=masquerade chain=srcnat comment="" disabled=no

点评

可否提供安装包。呵呵  发表于 2013-3-27 20:49
routeros
回复

使用道具 举报

发表于 2013-3-27 01:05:06 | 显示全部楼层
提前几天
routeros
回复

使用道具 举报

发表于 2013-3-27 19:25:19 | 显示全部楼层
不靠谱吧,正常的情况下可联网时间也会有倒计时。。
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-11 03:49 , Processed in 0.073437 second(s), 8 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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