Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 1997 12:00:20 -0600
From:      Kenneth Ingham <ingham@i-pi.com>
To:        "Alejandro I. Parada Aguilera" <aparada@vianet.com.mx>
Cc:        questions@freebsd.org
Subject:   Re: Urgent... !!!
Message-ID:  <19970708120020.20339@socrates.i-pi.com>
In-Reply-To: <16415467109484@vianet.com.mx>; from Alejandro I. Parada Aguilera on Tue, Jul 08, 1997 at 10:41:43AM -0600
References:  <16415467109484@vianet.com.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 08, 1997 at 10:41:43AM -0600, Alejandro I. Parada Aguilera wrote:
> can i refuse a IP address in my server?

Yes.

First, add a line like:

options         IPFIREWALL              #firewall

to your kernel config file.  Config and rebuild your kernel.

In /etc/rc.conf or /etc/sysconfig, turn on the firewall option.

Check out the /etc/rc.firewall file for some examples of ipfw use.  Note
that turning on the firewall option in /etc/rc.conf or sysconfig will
cause this file to be run at boot time.

Also note that if you have firewalling turned on, the default is to not
allow anything.

Kenneth



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