Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my home network, I have a spare machine which I would like to configure to filter Internet traffic (block ads) as well as cache content. I would like to tell my DD-WRT router to pass all Internet traffic through this machine.

I do not want to add another NIC and do not want the machine to be directly on the "Internet". How else can I use this machine to effectively filter and cache all Internet traffic?

I am thinking I could use iptables to do something of this nature, but want to be careful that I am not creating a loop and the traffic cannot get out.

share|improve this question
Does it have not be transparent? If not then just block all outbound traffic that doesn't come from the filter. – Zoredache Feb 12 '12 at 22:53
Yeah, I want to do it transparently. – Walter White Feb 12 '12 at 23:12
Let me google that for you: – goblinbox Feb 13 '12 at 0:39
Hey, thanks for finding that. I did check their site, but I must have used the wrong keywords. – Walter White Feb 14 '12 at 1:50

Your Answer


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

Browse other questions tagged or ask your own question.