From owner-freebsd-questions Thu Nov 1 10:11:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (rr-163-54-1.atl.mediaone.net [24.163.54.1]) by hub.freebsd.org (Postfix) with ESMTP id D225337B406 for ; Thu, 1 Nov 2001 10:11:19 -0800 (PST) Received: from bsd.smnolde.com ([192.168.10.7] helo=bsd) by smnolde.com with esmtp (Exim 3.30 #1) id 15zMJD-000Mi3-00; Thu, 01 Nov 2001 13:11:19 -0500 Date: Thu, 1 Nov 2001 13:11:18 -0500 (EST) From: Scott Nolde To: brain_damaged Cc: Subject: Re: ipfw error In-Reply-To: <200111011133.AA745799864@florida-wireless.com> Message-ID: <20011101130326.Q92340-100000@bsd.smnolde.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG daim_bramaged, If you wish to load the kernel module automatically, you must add this line firewall_enable="YES" to /etc/rc.conf. You should also read /etc/defaults/rc.conf for other variables related to firewalling, as well as /etc/rc.firewall for a sample ipfw firewall implementation. - Scott smacked into the keyboard previously by brain_damaged: >Date: Thu, 1 Nov 2001 11:33:47 -0500 >From: brain_damaged >To: Scott Nolde >Subject: Re: ipfw error > >Hello >The module must not be loaded cuz when I do the >kldload ipfw it loads and the ipfw command works. > >I will see about reconfigureing the kernel at a later date for that seems to be a scary thing for a brain damaged newbie as my self :-) > >When I type the second ipfw command >ipfw add 1010 fwd 123.456.789,81 tcp from any to any 80 >it does not seem to accept it cuz the line just disappears form the command line . > >I have typed it as per the transproxy readme. > >I rebooted and tried again but still did not seem to work. Doing a man ipfw I ddi not see a way to show the ipfw commands that have been entered. >Is there a way ? > >thanks all >Mark > > >>You may not have the ipfw kernel module loaded (kldload ipfw) or else you >>may want to build a new kernel with ipfw support. There are many >>tutorials that will detail this operation. >> >>- Scott >> >>smacked into the keyboard previously by owner-freebsd-questions@FreeBSD.ORG: >> >> >Date: Thu, 1 Nov 2001 10:32:29 -0500 >> >From: brain_damaged >> >To: freebsd-questions@FreeBSD.ORG >> >Subject: ipfw error >> > >> >Hello, >> >First I am a freebsd newbie. slowly getting it.slowly tho :-) >> >I am attempting to install transproxy 1.4 on a freebsd 4.3 machine. >> >I d/l the file. did a tar -vxzf transproxy-1.4.tgz >> >then a make transproxy-1.4 >> >then make install >> >it installed into /usr/local/sbin >> >i edited the rc.local and put >> >tproxy -s 81 -r nobody 123.456.789 3128 >> >saved it. >> > >> >The instructions then say to add some ipfw commands >> >ipfw add 1000 allow tcp from 999.888.777.666 to any 80 >> > >> >ipfw add 1010 fwd 123.456.789,81 tcp from any to any 80 >> > >> >When I try to add I get this error: >> >ipfw: getsockopt (IP_FW_ADD): Protocol not aviable >> > >> >ipfstat gives me an error : >> >open: device not configured >> > >> >The machine does ping the internet and does seem to be running my postfix spam blocking fine. >> > >> >What did I miss or need to do to get it to work ? >> >Thanks >> >Mark >> > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message