Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » D-Link » DI-604 alternative
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Help Me] DI-604: Virtual server and port ranges »
« DI-604  
AuthorAll Replies


funchords
Robb Topolski
Premium,MVM
join:2001-03-11
Hillsboro, OR
·Verizon Online DSL
·Skype
·Comcast

reply to pannyhd
Re: DI-604 alternative

If your kids do not have "Administrator" access to their computer, and you do, then you can create a scheduled task that interrupts the connection at a time that you choose. That, coupled with the DI-604's filters, will do what you want.

For example:
•Set the DI-604 to block computer xx.xx.xx.xx at 9:35 pm.
•Set a scheduled task under the Administrator account (important) to do an "IPCONFIG /RELEASE" at 9:45.

Even if the kid reboots the computer to renew the IP address, he won't be able to access the internet until the DI-604 allows it.

You'll have to experiment with the right command to do this ... it may be as simple as "C:\WINDOWS\system32\ipconfig.exe" as the command. Once you first create the task, you can edit it to add arguments ... such as "/RELEASE"
--
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

Excuse my ignorance on this. I am a Mac user, but the computer I want to block is my sons Windows machine. So I am not familiar with writing tasks for XP. Can you tell me how to do that?

I guess there is no way to do anything like that for the xbox.

I have done some looking into the Zyxel router and it sounds like it does exactly what I need, but people do not seem to like it very much. It got some very poor reviews at NewEgg.

Seems odd that companies like Netgear, Belkin, Linksys dont have the ability to have multiple schedules.


funchords
Robb Topolski
Premium,MVM
join:2001-03-11
Hillsboro, OR
·Verizon Online DSL
·Skype
·Comcast


edit:
January 5th, @03:36PM

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.


funchords
Robb Topolski
Premium,MVM
join:2001-03-11
Hillsboro, OR
·Verizon Online DSL
·Skype
·Comcast

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! ~

zaxcom5

join:2003-02-02
i guess this will not work with a static IP, i will need to switch to DHCP on my router correct?


funchords
Robb Topolski
Premium,MVM
join:2001-03-11
Hillsboro, OR
Correct. You would have to switch to "Static DHCP" (where it always gives a computer the same DHCP assignment based on its MAC address).

a1smith

join:2005-01-10

reply to funchords
said by funchords See Profile :

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.
Forums » Equipment Support » Hardware By Brand » D-Link[Help Me] DI-604: Virtual server and port ranges »
« DI-604  


Thursday, 08-Jan 01:25:27 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [160] New Comcast Throttling System 100% Online
· [111] After 10 Years Of Service, Charter Declares Home 'Unserviceable'
· [105] iTunes Dumps The DRM
· [71] AT&T, Verizon Stocks Tumble
· [54] Feds Start Wait List For DTV Converter Coupons
· [52] Cable To Grab 75% Of New Subs In 2009
· [47] DOCSIS 3.0 Gets Faster
· [39] Verizon Again Tweaks DSL Bundles
· [38] Netflix Via LG HDTVs
· [36] New Zealand's 'One Strike' Piracy Law
Most people now reading
· Should I open this USPS insured package that is BEAT TO SH#* [General Questions]
· [ Professions] Northrend Herbalism and Mining Tracks [World of Warcraft]
· What the heck is going on in SoCal? [Road Runner]
· MLPPP: Fail - ERX06 [TekSavvy]
· cashing a check for my child [General Questions]
· Can't order UVerse and then cancel TV later [AT&T U-verse]
· What do you have to do to end video service? [Verizon FIOS TV]
· Nod32 kind of dissapointing [Security]
· Powering AC worklights off of DC batteries [Home Repair & Improvement]