From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 12:02:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81F5E37B401 for ; Mon, 28 Apr 2003 12:02:57 -0700 (PDT) Received: from smtp.prodigy.net.mx (dfproxy02.prodigy.net.mx [148.235.168.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 984D343F85 for ; Mon, 28 Apr 2003 12:02:56 -0700 (PDT) (envelope-from ibac@prodigy.net.mx) Received: from pc1 (du-200-67-41-201.prodigy.net.mx [200.67.41.201]) sims.4.0.2001.07.26.11.50.p9) with SMTP id <0HE200K4LI4OZ1@SMTP.Prodigy.Net.mx>; Mon, 28 Apr 2003 14:00:25 -0500 (CDT) Date: Mon, 28 Apr 2003 14:02:42 -0500 From: Alfonso Romero To: freebsd-questions , Dan Pelleg Message-id: <018001c30db8$bf61b120$0100a8c0@ibac> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <00fb01c30d08$1f8c6560$0100a8c0@ibac> Subject: Re: ip_fw_ctl: Invalid command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 19:02:57 -0000 I recompiled my kernel with the "options IPDIVERT" line only, and the problem is still the same. Do I need to add some more options to the kernel? Thanks, Alfonso ----- Original Message ----- From: "Dan Pelleg" To: "Alfonso Romero" Cc: "freebsd-questions" Sent: Monday, April 28, 2003 7:52 AM Subject: Re: ip_fw_ctl: Invalid command > Alfonso Romero writes: > > > I get the "ip_fw_ctl: Invalid command" when I try to add the "divert natd all from any to any via ed0" rule. Do I need to recompile the kernel? > > > > > > Thanks in advance, > > > > Alfonso Romero > > Yes, you need to compile IPDIVERT into your kernel. See natd(8). > > -- > > Dan Pelleg >