Question : Internet Access Restriction

Hi,

    I've been searching for a while looking for some kind of program that will help me keep a computer on my LAN off the internet at certain times. I'm looking for a solution that is free is possible. I'm trying to aviod services.
I have an open mind on any way to do this.

I currently have a wireless router hooked up: 2700HG-B Gateway. (2Wire)
I thought it would come with built in parental control to set internet time restrictions but it seems it's a service which will probably charge.

What i've done with my previous router: Wired linksys, is just point the browser to the router and hit disconnet, and i'm tired of doing this everyday.

Please Help.

Answer : Internet Access Restriction

Seems tough without installing any services! Hover a quick idea is to write two batch files -
Firat one - connect.bat
--------------------------
route add 0.0.0.0 mask 0.0.0.0 192.168.1.1

Second one - disconnect.bat
-------------------------------
route delete 0.0.0.0

This assumes that your default gateway is 192.168.1.1 and your machines are in static IP. Change the default gateway IP to the correct one if it is different.

Now, schedule these batch files in Windows scheduler for the time settings you want to connect and disconnect. Once disconnect is executed, the default gateway will be removed and machine will loose internet connection. Still it will be able to access other machines in same LAN. To establish internet connection, we use the other batch file, which will put the default gateway in place.

A final word - I have not tried this - this is an idea. It will not harm your machine, but may not work! Let me know. Also note down original IP settings before trying this.

Regards,

Sreejith.
Random Solutions  
 
programming4us programming4us