From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: Packet disappears after DNAT? Date: Sat, 19 Dec 2015 17:34:56 +0100 Message-ID: <56758730.4020901@plouf.fr.eu.org> References: <5662BD03.60004@plouf.fr.eu.org> <56653CCC.6020603@plouf.fr.eu.org> <20151215130638.GA6295@salvia> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Scott Bronson Cc: Pablo Neira Ayuso , netfilter Scott Bronson a =E9crit : > On Tue, Dec 15, 2015 at 5:06 AM, Pablo Neira Ayuso wrote: >> >> JFYI: The br-nf thing was moved to a separated module since 3.18. So >> now this finally requires explicit modprobing. >=20 > Thanks Pablo. Is this the right logic to use for all kernels? >=20 > - if /proc/sys/net/bridge/bridge-nf-call-iptables doesn't exist > - modprobe br_netfilter > - echo 0 > /proc/sys/net/bridge/bridge-nf-call-iptables Why load br_netfilter if it is not needed ? I would do the following : modprobe bridge if /proc/sys/net/bridge/bridge-nf-call-iptables exists echo 0 > /proc/sys/net/bridge/bridge-nf-call-iptables