From: Igor Fuks Subject: Re[2]: [PATCH] Nexthop match Date: Sun, 23 Nov 2003 12:47:41 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <373135098.20031123124741@alarit.com> References: <18729960090.20031123024241@alarit.com> <20031123082906.GB23141@alpha.home.local> Reply-To: Igor Fuks Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Willy Tarreau In-Reply-To: <20031123082906.GB23141@alpha.home.local> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hello Willy, Sunday, November 23, 2003, 10:29:06 AM, you wrote: WT> this is interesting, but I have a few questions : WT> On Sun, Nov 23, 2003 at 02:42:41AM +0200, Igor Fuks wrote: >> Example #1: >> >> iptables -A OUTPUT -m nexthop --nexthop 10.1.1.5 -s 10.1.10.0/24 -j DROP >> >> Means stations in 10.1.10.0/24 net will have not connectivity via 10.1.1.5 >> neighbour. WT> It should have been in POSTROUTING or FORWARD for this, isn't it ? It works for POSTROUTING, FORWARD and OUTPUT. WT> Does it also match packets going TO the gateway, or only packets routed WT> THROUGH the gateway ? Not only THROUGH, it match packets going TO the gateway(s) too. -- Igor Fuks