Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 01:17:39 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Rob Carmichael <robc@globalvc.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: newbie ipfw probs
Message-ID:  <20000309011739.B3503@hades.hell.gr>
In-Reply-To: <3B666137355DD31199B100E018C15EA2087B60@mailgate.globalvc.co.uk>; from robc@globalvc.co.uk on Tue, Mar 07, 2000 at 11:21:17AM -0000
References:  <3B666137355DD31199B100E018C15EA2087B60@mailgate.globalvc.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000309011739.B3503>