From owner-freebsd-ipfw Mon Jul 29 12: 2:17 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72CE037B400 for ; Mon, 29 Jul 2002 12:02:15 -0700 (PDT) Received: from samuelstn.dyndns.org (h24-64-81-248.cg.shawcable.net [24.64.81.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 21C1843E70 for ; Mon, 29 Jul 2002 12:02:13 -0700 (PDT) (envelope-from cyschow@shaw.ca) Received: (qmail 63426 invoked from network); 29 Jul 2002 19:02:11 -0000 Received: from firewall (HELO SAMCHOW1.ca.nortel.com) (192.168.1.1) by homeserver with SMTP; 29 Jul 2002 19:02:11 -0000 Message-ID: <003901c23732$b53c0fe0$2784412f@ca.nortel.com> From: "Samuel Chow" To: "Mike Dewhirst" Cc: References: <20020729141909.F12318-100000@digitalfreaks.org> <3D458ABA.4090309@devzerog.com> Subject: Re: fwd (was divert a port to another ip Date: Mon, 29 Jul 2002 13:04:04 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Mike Dewhirst" > > What am I doing wrong: > > # ipfw add 4 fwd 192.10.10.4,22 tcp from any to 80.x.x.x 666 via xl0 > ipfw: getsockopt(IP_FW_ADD): Invalid argument You need IPFIREWALL_FORWARD option in your kernel. --- Samuel Chow cyschow@shaw.ca This message is displayed using recycled electrons. Segmentation Fault (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message