From owner-freebsd-net Tue Nov 14 14:59:29 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 47EB637B4CF; Tue, 14 Nov 2000 14:59:23 -0800 (PST) Received: from gaborone-34.budapest.interware.hu ([195.70.52.162] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13vp2q-0002j6-00; Tue, 14 Nov 2000 23:59:16 +0100 Message-ID: <3A112FD3.EB28E58E@elischer.org> Date: Tue, 14 Nov 2000 04:28:03 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: petro Cc: Tobias Fredriksson , question@FreeBSD.ORG, freeBSD-net@FreeBSD.ORG Subject: Re: IPFW... References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Do you have the option that allows the 'fwd' command? petro wrote: > 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 -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message