How to disable internet access at night on the router?

I have an internet connection that I'd like to be enabled only during the day. With multiple household internet devices, this would need to be something disabled at the level of the router.

I don't believe the router offers this sort of functionality, but I'm reasonably familiar with setting up web servers and the like, and I'm wondering if I can set up some sort of proxy server on the internet that the router must go through and have that proxy only active at certain times of day.

It's a bit vague I know, but is something like this even possible?

If not, are there other solutions to the problem?


There are low tech solutions also. You can use a light timer such as this. They also make digital ones that are more customizable.


If your router supports running DD-WRT, then you can quite happily disable certain features at certain times (or even restrict this to only include particular machines).

If your router doesn't support DD-WRT, then buy a router that does.

See the DD-WRT Website which has a compatibility list (Router Database).


Some routers have telnet or SSH access. If yours does then you could create a script to log into the router and disable/enable the WAN connection (do a DHCP release/renew.) Run that on a schedule and you're all set. Restarting the router at night would re-enable the WAN in this case.


The OP has not responded to a request for his specific router's "make and model", so we don't know what features it has. However I have a 1 year old, high-end wireless router (dual band, guest network access, wireless on/off switch, USB port), and it does not have direct control of enabling/disabling the "internet access" or the WAN based on a timer.

However this wireless router can perform "content filtering" (aka "parental control") by blocking sites and/or services based on a schedule. The firewall is inspecting all packets traversing the WAN to LAN boundary, and is the natural place to install a simple "internet en/dis-able capability" (i.e. block all sites and services on a nightly schedule).

So the OP should be evaluating the firewall capabilities of his router (e.g. can rules be applied by a schedule), rather than looking for a "WAN disable" feature/capability.