From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: eth - NAT - Bridge - veth Date: Fri, 27 Jun 2014 23:38:35 +0200 Message-ID: <53ADE45B.9000406@plouf.fr.eu.org> References: <53AD4B1F.1000705@plouf.fr.eu.org> <53ADAF27.5070505@plouf.fr.eu.org> <53ADC38D.5090805@plouf.fr.eu.org> 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: Vijay Viswanathan Cc: Netfilter Users Mailing list Vijay Viswanathan a =E9crit : > adding -m state --state NEW,ESTABLISHED seems to do the trick. >=20 > iptables -t nat -A PREROUTING -i eth1 -p tcp -d 10.4.38.182 --dport > 2300 -m state --state NEW,ESTABLISHED -j DNAT --to 192.168.10.2:2300 Not in any way. The chains of the nat table see only packets in the NEW state so this match is completely superflous. Besides, normal TCP packets have the NEW or ESTABLISHED state.