elfs: (Default)
[personal profile] elfs
I have a rather ordinary set-up at home: A mini-tower box running Linux acts as my firewall, using NAT to assist everyone inside the house from getting out but preventing anyone from getting in. It's not perfect, but it's your standard solid setup. I haven't had any problem with it and I keep it updated.

I would like to run Dan's Guardian on the NAT box, but I would like only some of the machines in the house to be routed through it, namely, the kids'. Dan's Guardian is basically a proxy that uses a cache (Squid, in this case) to retrieve content from the web, and then analyzes both the addresses and the content for things you might not want.

Can anybody tell me what the iptables magic is for directing traffic from a specific host on a specific subnet to the proxy engine? The idea here is to prevent anything that tries to "route around" the proxy (like, the kids figure out how to turn "use proxy" off on their browsers) from being able to go anywhere without going through it.

Date: 2006-06-07 09:30 pm (UTC)
From: [identity profile] zanfur.livejournal.com
If you have a transparent proxy, this is how you do it. If you have a regular proxy, set up a transparent one. (There are a multitude of howto's on that.) If you really don't want to set up a transparent proxy, then reject all outbound port 80 from the kids' computers, and manually set the proxy in their browsers.

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 02:49 pm
Powered by Dreamwidth Studios