Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Much as I would like to just ban access to FaceBook in my household, it'd be political suicide and just a bit obvious.

What I'd like to do is rate limit access to Facebook at certain times of the day so that it kinda works but is just such a pain in the ass to use that the kids go off and do something more productive like reading a book.

I'd prefer to do this at the router and have looked at dd-wrt but don't see how I could do this.

I'd be happy to consider replacing the router (a LinkSys BEFR41) with a Linux or Windows box (the domestic internet access is presented on an ethernet cable by our WiMax provider).

Any ideas?

share|improve this question
    
easily done with squid proxies on a linux box, but on a CHEAP router idk...I can do it on commercial cisco equipment easily –  hbdgaf Nov 29 '10 at 19:12

2 Answers 2

up vote 1 down vote accepted

If you want to go the PC route, I suggest using OpenBSD. It comes with a very nice packet filter called pf. You could use it as an Ethernet bridge (transparent) or replace your current Linksys device and do NAT with it.

The configuration and manipulation of your filter with pf is much easier than with Linux. OpenBSD provides many examples in the pf faq. You could set a script to execute via cron at certain times to assign a give portion of bandwidth to Facebook's IPs.

If you like to try new things, and want a lot of room to grow your ruleset this is the way to go.

share|improve this answer
    
It's been a few years since I worked with a BSD unix (FreeBSD), I'll take a look at this. –  Kev Nov 30 '10 at 0:18

With dd-wrt or a linux box you would use the tc command.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.