From owner-freebsd-questions Wed Mar 8 15:32:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nscache2.x-treme.gr (mail1.x-treme.gr [212.120.196.23]) by hub.freebsd.org (Postfix) with ESMTP id EF7B337B5D8 for ; Wed, 8 Mar 2000 15:32:20 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (pat34.x-treme.gr [212.120.197.226]) by nscache2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with SMTP id BAA00329 for ; Thu, 9 Mar 2000 01:32:08 +0200 Received: (qmail 4171 invoked by uid 1001); 8 Mar 2000 23:17:39 -0000 Date: Thu, 9 Mar 2000 01:17:39 +0200 From: Giorgos Keramidas To: Rob Carmichael Cc: questions@freebsd.org Subject: Re: newbie ipfw probs Message-ID: <20000309011739.B3503@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <3B666137355DD31199B100E018C15EA2087B60@mailgate.globalvc.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3B666137355DD31199B100E018C15EA2087B60@mailgate.globalvc.co.uk>; from robc@globalvc.co.uk on Tue, Mar 07, 2000 at 11:21:17AM -0000 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E X-Phone-Number: +30-94-6203692, +30-93-2886457 X-Address: Theodorou Kirinaiou 61, 26334 Patra, Greece Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 07, 2000 at 11:21:17AM -0000, Rob Carmichael wrote: > > bash-2.03# ipfw show > ipfw: getsockopt(IP_FW_GET): Protocol not available You probably forgot to compile ipfw support into your kernel. Add to your kernel's config the following lines and recompile/reboot: options IPFIREWALL # ipfw-firewall support options IPFIREWALL_VERBOSE # optional options IPFIREWALL_FORWARD # optional options IPFIREWALL_VERBOSE_LIMIT=100 # limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT # allow everything by default options IPDIVERT # divert sockets (for natd) Then, you will be able to use ipfw/natd. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message