Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2010 15:21:36 -0500
From:      Noel Jones <noeldude@gmail.com>
To:        "Bauer, Aaron J." <AARON.J.BAUER@saic.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Setup Fail2Ban on FreeBSD
Message-ID:  <x2tcce506b1004231321l4cdea19fk7c0ca05a477a12a6@mail.gmail.com>
In-Reply-To: <FFD86018-E200-4471-B65D-A4CDC0505BE4@mimectl>
References:  <FFD86018-E200-4471-B65D-A4CDC0505BE4@mimectl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 23, 2010 at 12:49 PM, Bauer, Aaron J.
<AARON.J.BAUER@saic.com> wrote:
> I am currently using FreeNAS 0.7 for a file server. =A0I have multiple SS=
H bruteforce attacks each week, and wish to use fail2ban to prevent this.
>
> I don't have much experience with BSD, and am having trouble getting ever=
ything to work. =A0I ran pkg_add -r python25 and pkg_add -r py25-fail2ban. =
=A0I now have all the files for Fail2Ban, and did the cp jail.conf jail.loc=
al as the other distro's for linux use.
>
> However, how do I start using fail2ban? =A0I have configured it for CentO=
S and Ubuntu, and it starts in init.d. =A0I don't know how to add it to /et=
c/rc.d to get it to work correctly..
>

add the line:
fail2ban_enable=3D"YES"
to /etc/rc.conf



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