From owner-freebsd-net Sun Nov 12 8:31:57 2000 Delivered-To: freebsd-net@freebsd.org Received: from worldclass.jolt.nu (lgh637b.hn-krukan.AC [212.217.139.112]) by hub.freebsd.org (Postfix) with ESMTP id 9EDE937B479; Sun, 12 Nov 2000 08:31:54 -0800 (PST) Received: from localhost (c4@localhost) by worldclass.jolt.nu (8.9.3/8.9.3) with ESMTP id RAA53313; Sun, 12 Nov 2000 17:30:23 +0100 (CET) (envelope-from c4@worldclass.jolt.nu) Date: Sun, 12 Nov 2000 17:30:14 +0100 (CET) From: Tobias Fredriksson To: petro Cc: question@FreeBSD.ORG, freeBSD-net@FreeBSD.ORG Subject: Re: IPFW... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 12 Nov 2000, petro wrote: > Hello! > I try to add such ipfw but receive error.. > # ipfw a 250 fwd 127.0.0.1,3128 tcp from any to any 80 in recv ed1 > 00250 fwd 127.0.0.1,22 tcp from any to any 80 > ipfw: setsockopt(IP_FW_ADD): Invalid argument > > Squid is running on 3128 port.. > Thank you... you get the setsockopt(IP_FW_ADD): Invalid argument statement when you have not compiled the kernel with options ipfirewall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message