From owner-freebsd-questions Wed Jun 21 0:19:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tilapia.pang.pworld.net.ph (tilapia.pang.pworld.net.ph [203.176.27.5]) by hub.freebsd.org (Postfix) with ESMTP id AC85D37BC09 for ; Wed, 21 Jun 2000 00:19:45 -0700 (PDT) (envelope-from joel@tilapia.pang.pworld.net.ph) Received: from localhost (joel@localhost) by tilapia.pang.pworld.net.ph (8.10.0/8.10.0) with SMTP id e5L78H510636; Wed, 21 Jun 2000 15:08:17 +0800 Date: Wed, 21 Jun 2000 07:08:17 +0000 ( ) From: Joel Eusebio To: cjclark@alum.mit.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw In-Reply-To: <20000620230949.E469@dialin-client.earthlink.net> 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 I've checked out /LINT and I can see a line there ----"options IPFIREWALL_FORWARD #enable transparent proxy support" is that it??? is it enabled already or do I have to recompile the kernel and do I have to add anything in the GENERIC file before I recompile my kernel??? Thanks a lot. ---------------------->jOEL On Tue, 20 Jun 2000, Crist J. Clark wrote: > On Wed, Jun 21, 2000 at 05:35:05AM +0000, Joel Eusebio wrote: > > I'm trying to setup a transparent proxy on my 4.0-stable using transproxy > > and ipfw. What else do I have to install for ipfw to work because it is > > already installed (I think ) in the /sbin but when I try to execute a > > /sbin/ipfw add 1000 allow tcp from 192.168.0.1 to any 80 it says "ipfw: > > setsockopt(IP_FW_ADD): Protocol not available" what's lacking??? Any help > > will be greatly appreciated. Thanks a lot. > > % man ipfw > . > . > . > fwd ipaddr[,port] > Change the next-hop on matching packets to ipaddr, which > . > . > . > The kernel must have been compiled with the > IPFIREWALL_FORWARD option. > > -- > Crist J. Clark cjclark@alum.mit.edu > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message