← Back to context

Comment by acqq

13 years ago

Now who can suggest the best software to install on the home router to block the connections based on the URLs? Ideally it would be a transparent solution -- the client computers shouldn't need any additional configuration. I have an OpenWrt based router.

Another question is how to handle https requests?

URLs or domains? If the latter is enough, you could just install a DNS resolver like dnsmasq and configure those domain to redirect to 0.0.0.0 or so. Example config:

  address=/[banned domain]/0.0.0.0

Then either configure your dhcp server or clients to use the router as the DNS resolver.

> software to install on the home router to block the connections based on the URLs?

tinyproxy does what you want.

http://wiki.openwrt.org/doku.php?id=oldwiki:proxy.tinyproxy

  • Theoretically. But I've found out that it doesn't work on small Linuxes like OpenWRT -- the guy who took over maintenance obviously only works with big desktops and servers, he even removed the mechanisms for proper cross-compiling, at least the last time I looked, a couple of years ago. It looks like the people who use such distros aren't particularly interested in URL-based blocking?

    We are really making it easy for all the companies that do the same that LG does.