From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Eduardo Gomez Noguera Subject: iptables mangling rule Date: 31 May 2003 16:53:46 -0500 Sender: linux-admin-owner@vger.kernel.org Message-ID: <1054397900.5715.2.camel@localhost.localdomain> Reply-To: davidgn@servidor.unam.mx Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Hello. In a school, they want to set up a firewall that should filter pornsites and the like. Anyone can give me a hand there? The solution I thought about was setting up a proxy, and using the proxy to filter some sites. However, I couldt think how to use iptables to force every connection to with destination port 80 to go to the proxy. What rule could do the trick? I think it has to do with changing some headers so that the proxy gets it. Or is there a better solution to filtering sites? Thank you