|
楼主 |
发表于 2008-3-2 01:14
|
显示全部楼层
根据策略的优先级别
策略1 这5台的mac地址填入pc列表,不管它是什么ip, 设置为允许访问互联网(这个相当于白名单了吧?)
策略2 在PC列表最下面填入整个ip段 并设置为禁止访问互联网
自动翻译的文字:
URL - Keyword blocking
From DD-WRT Wiki
Jump to: navigation, search
We assume that you are applying the rules into your MAIN AP, the one that connects to the Internet or modem.
1) Log into your DD-WRT.
2) Go to Access Restrictions.
3) Name the rule as you need. Example : Block_YAHOO
4) Click on the Button "Edit list of clients".
5) Add the MAC address of the wanted clients.
6) Add the IP of the wanted clients or the IP range you want to block.
7) Click on the "Apply Settings" button.
8) Click on the "Close" button.
9) Enable the rule you have just created.
10) "Allow" option as to be selected for "Internet access during selected days and hours." option.
11) Go to the section "Website Blocking by URL Address"
12) Add the DOMAIN NAME you want to block without www, ftp, ... Example : yahoo.com
13) Proceed as much as you need with the domains you want to block.
14) Go to the section "Website Blocking by Keyword"
15) Add the keywords you want to block. Example : google
16) Proceed as much as you need with the keywords you want to block.
17) Click on the "Apply Settings" button.
Regarding the 10) , if you select "Deny" option, it will block ALL your access to the Internet according to the Days and Time you have selected below.
That's it. The related URLs and keywords will be blocked. By the way, you might use one or the other options to block, or both of them.
REMEMBER : The first rule as the highest priority, so if you need to allow Yahoo and Google (as in the example) create first a rule WITHOUT ANY URL OR KEYWORD for the authorized MACs, IPs, or IP ranges, then another rule containing the MAC addresses, IPs, or IP ranges to block AND the URLs and Keywords.
Enjoy it. 网址-关键字阻断
由房屋署副署长- wrt Wiki上
跳转到:导航,搜索
我们假设你是运用规则到你的主要鸭,一连接到互联网或调制解调器。
1 )登录到你的房屋署副署长- wrt 。
2 )去准入限制。
3 )的名称订为您所需要的。例如: block_yahoo
4 )点击"编辑名单客户" 。
5 )添加MAC地址被通缉的客户。
6 )添加IP与被通缉的客户或IP范围,你想封锁。
7 )点击"申请设定"按钮。
8 )点击"关闭"按钮。
9 ) ,使统治你刚刚创造的。
10 )的"允许"选项,以被选定为"因特网接入,在选定的日子和时间" 。选择。
11 )前往该组网站" ,阻断由URL地址"
12 )添加域名,你想阻止未经万维网, FTP的, … …例如: yahoo.com
13 )进行高达你需要与域你想阻止的。
十四日)前往该组网站" ,阻断由关键字"
15 )添加关键词,你想封锁。例如: Google的
16 )进行高达你需要与关键词你想阻止的。
17 )点击"申请设定"按钮。
至于10 ) ,如果你选择"拒绝"选项,它会拦截所有你进入互联网据日子和时间,你已经选择了下文。
就是这么简单。相关网址和关键字将被封锁。由这样,你可能需要使用一个或其他选项,以防止,或两者都是。
请记住:第一项规则作为最高优先事项,因此,如果你有需要,让雅虎和Google (如在例子)创造一项规则,没有任何的URL或关键字为授权互助委员会,新闻通讯社,或IP范围内,然后再统治载MAC地址,新闻通讯社,或IP范围,以阻止和URL和关键词。
享受这项运动。 |
|