From owner-freebsd-net Sun Nov 12 12:49:44 2000 Delivered-To: freebsd-net@freebsd.org Received: from relay2.wertep.com (relay2.wertep.com [194.44.90.130]) by hub.freebsd.org (Postfix) with ESMTP id AA86D37B479; Sun, 12 Nov 2000 12:49:38 -0800 (PST) Received: from She.wertep.com (she-tun-proxy [192.168.252.2]) by relay2.wertep.com (8.9.3/8.9.3) with ESMTP id WAA50661; Sun, 12 Nov 2000 22:49:34 +0200 (EET) (envelope-from petro@She.wertep.com) Received: from localhost (petro@localhost) by She.wertep.com (8.9.3/8.9.3) with ESMTP id WAA05286; Sun, 12 Nov 2000 22:49:39 +0200 (EET) (envelope-from petro@She.wertep.com) Date: Sun, 12 Nov 2000 22:49:39 +0200 (EET) From: petro To: Tobias Fredriksson 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 I have some ipfw that works fine, but when I try to add this I receive such error..... On Sun, 12 Nov 2000, Tobias Fredriksson wrote: > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message