From: Pascal Hambourg Subject: Re: Bridge Transparent Proxy Date: Tue, 22 May 2007 18:06:12 +0200 Message-ID: <465314F4.1060007@plouf.fr.eu.org> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: netfilter@lists.netfilter.org Hello, Robert LeBlanc a =E9crit : > You will need to look at ebtables. Bridging will bypass iptables. Bridged IPv4 packets traverse the iptables chains if the kernel was=20 compiled with Netfilter bridge support (CONFIG_BRIDGE_NETFILTER=3Dy). It=20 allows finer filtering than ebtables, for instance accepting only=20 outgoing HTTP/HTTPS connections and related ICMP messages in both=20 directions thanks to connection tracking, e.g. : iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -m physdev --physdev-in eth1 -m state --state NEW \ -p tcp -m multiport --dports 80,443 -j ACCEPT