From: Luciano Ruete Date: Tue, 25 Jul 2006 18:09:13 +0000 Subject: Re: [LARTC] linux transparent bridge running squid and dansguardian Message-Id: <200607251509.13588.luciano@lugmen.org.ar> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1779699527==" List-Id: References: <20060721183200.66A5F3FB6@outpost.ds9a.nl> In-Reply-To: <20060721183200.66A5F3FB6@outpost.ds9a.nl> To: lartc@vger.kernel.org --===============1779699527== Content-Type: multipart/alternative; boundary="Boundary-00=_J5lxEc018+z2kpV" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_J5lxEc018+z2kpV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Monday 24 July 2006 16:33, William Bohannan wrote: > Thanks or the quick reply. Although I have had no success, I have been > trying all day using both physdev and ebtables, neither of which I can get > working :( Please help - below is what I am currently using. > Try this, it is a one-line simple modified version of your first post script. If this proof of concept works, then add all the others iptables rules that you whant. iptables -F iptables -t nat -F iptables -t nat -A PREROUTING -m physdev --physdev-in eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128 -- Luciano --Boundary-00=_J5lxEc018+z2kpV Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit

On Monday 24 July 2006 16:33, William Bohannan wrote:

> Thanks or the quick reply. Although I have had no success, I have been

> trying all day using both physdev and ebtables, neither of which I can get

> working :( Please help - below is what I am currently using.

>

Try this, it is a one-line simple modified version of your first post script. If this proof of concept works, then add all the others iptables rules that you whant.

iptables -F

iptables -t nat -F

iptables -t nat -A PREROUTING -m physdev --physdev-in eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128

--

Luciano

--Boundary-00=_J5lxEc018+z2kpV-- --===============1779699527== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1779699527==--