From owner-freebsd-questions Sun Apr 15 8: 6:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from istar.ca (d141-119-162.home.cgocable.net [24.141.119.162]) by hub.freebsd.org (Postfix) with ESMTP id 4B25437B423 for ; Sun, 15 Apr 2001 08:06:19 -0700 (PDT) (envelope-from genisis@istar.ca) Received: (from genisis@localhost) by istar.ca (8.11.1/8.11.1) id f3FF9qL15152; Sun, 15 Apr 2001 11:09:52 -0400 (EDT) (envelope-from genisis) Date: Sun, 15 Apr 2001 11:09:52 -0400 (EDT) From: Dru To: Andrei Cojocaru Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IPFW Rules (Port Forwarding) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Did you remember to include the IPFIREWALL_FORWARD option in your kernel? Dru On Sun, 15 Apr 2001, Andrei Cojocaru wrote: > I am trying to forward all packets destined to 216.126.10.210:80 (outside IP > of multi-homed host) to 192.168.0.4:80 > > this is the IPFW rule I made: > > ipfw add 30 fwd192.168.0.4,80 tcp from any to 216.126.10.210 80 > > but I get an error when I try to add it I get this error: > ipfw: getsockopt(IP_FW_ADD): Invalid argument > > I've read the documentation multiple times and cannot find anything wrong. > Any ideas? > > Thanks for your help in advance. > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message