
how-to block ads
|
|
Share Topic  |
 |
|
|
|
 funchordsHelloPremium,MVM join:2001-03-11 Yarmouth Port, MA kudos:6 3 edits | reply to pannyhd
Re: DI-604 alternative Sure
First, to make sure you are the Admin and no-one else is:
•Log off anyone who is logged on (don't just "Switch Users") •Log in as an administrative user •Click on Start, Run, and type the command compmgmt.msc •Click on Local Users and Groups •Click on Groups •Double-click on Administrators and remove anyone that you do not want to have God-like access (the kids), and click OK. •Do the same for the Power-Users group •Double-click on the Users group and add any of the names that you removed from the higher privilege levels, and click OK. •Close Computer Management
Now to set the rule...•Click on My Computer in the Start Menu or on the Desktop •Type this in the Address Bar, or navigate to it using the mouse: C:\Windows\Tasks •Click on Add Scheduled Task ... the Scheduled Task Wizard will appear •Click "Browse..." •In the filename box, type (or navigate using the mouse to) C:\Windows\System32\IPCONFIG.EXE and click Open •Name the task "Release IP Address" •Click Daily •Click Next •Under Start Time, choose when you want to kick the kids off the Internet (e.g. if you want the kids off by 9:30, choose 9:35 pm or 21:35 if your computer takes that instead), click Next •Enter your username and password, click Next •Check the Open Advanced Properties checkmark, and click Finish •In the Run: box of the Advanced Properties, you'll see the command c:\windows\system32\ipconfig.exe change it to add the switch /RELEASE followed by an asterisk c:\windows\system32\ipconfig.exe /RELEASE * •Click the Settings tab on the top, and uncheck the box that says "Don't start the task if the computer is running on batteries." •Click OK.
Now, repeat the above steps to create the rule that turns access back on. •Name the task "Renew IP Address" •Under Start Time, choose when you want to allow the kids on the Internet •In the Run: box of the Advanced Properties, change the command to read c:\windows\system32\ipconfig.exe /RENEW *
To test these rules (and you should), first ensure you can surf the net. Then right click the Release rule, and click Run. Try to surf (you cannot). Then right click the Renew rule, and click Run, Try to surf (you can).
And finally, the thing that makes this work:
Set your scheduled rule in the DI-604 that shuts off access at 9:30. So when the IPCONFIG /RELEASE happens, even if the computer is rebooted, the ports will be blocked.
I'm not sure if the DI-604 is one of the routers that will need two rules ... one rule from 21:30-23:59 and another rule from 00:01 to 08:00.
Testing is a good thing. -- Robb Topolski -= funchords.com =- Hillsboro, Oregon USA ~ Keeper of the D-Link FAQ ~ Did you Search? ~ More features, Free! Join BBR! ~ | |  pannyhd join:2005-04-10 Charlotte, NC | Thanks, I will give that a try tonight. | |  funchordsHelloPremium,MVM join:2001-03-11 Yarmouth Port, MA kudos:6 | Please get back to me on the real-world results.
I can't imagine this -not- working, but it's something that I've never tried myself from end to end.
I did test the steps I gave you, I just don't have any kids at home to "control." (except for me) -- Robb Topolski -= funchords.com =- Hillsboro, Oregon USA ~ Keeper of the D-Link FAQ ~ Did you Search? ~ More features, Free! Join BBR! ~ | |  | i guess this will not work with a static IP, i will need to switch to DHCP on my router correct? | |  funchordsHelloPremium,MVM join:2001-03-11 Yarmouth Port, MA kudos:6 | Correct. You would have to switch to "Static DHCP" (where it always gives a computer the same DHCP assignment based on its MAC address). | |  | reply to funchords
said by funchords:I'm not sure if the DI-604 is one of the routers that will need two rules ... one rule from 21:30-23:59 and another rule from 00:01 to 08:00. My experience with my DI-604, RevE3, F/W 3.51, is that you do need two rules. The endtime always has to be later than the start time; so you can't roll past midnight.
Another place this crops up is with multi-day rules: Sunday is first (earliest) on the drop-down list and Saturday is last (latest).
Most likely, Sunday = 0 and Saturday = 6 and they do:
if day >= startday and day <= endday then execute rule If you put Saturday (6) as start and Sunday (0) as end the rule will never execute.
So, if you want a rule for the weekend, Sat-Sun, you need to define a rule for each day. | |
|