Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2010 10:49:23 -0700
From:      "Bauer, Aaron J." <AARON.J.BAUER@saic.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Setup Fail2Ban on FreeBSD
Message-ID:  <FFD86018-E200-4471-B65D-A4CDC0505BE4@mimectl>

next in thread | raw e-mail | index | archive | help
I am currently using FreeNAS 0.7 for a file server.  I have multiple SSH br=
uteforce attacks each week, and wish to use fail2ban to prevent this.

I don't have much experience with BSD, and am having trouble getting everyt=
hing to work.  I ran pkg_add -r python25 and pkg_add -r py25-fail2ban.  I n=
ow have all the files for Fail2Ban, and did the cp jail.conf jail.local as =
the other distro's for linux use.

However, how do I start using fail2ban?  I have configured it for CentOS an=
d Ubuntu, and it starts in init.d.  I don't know how to add it to /etc/rc.d=
 to get it to work correctly..

Any help is greatly appreciated.  If you need more info, please let me know=
.

Aaron=20
Software Research Intern=20
Aaron.J.Bauer@SAIC.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FFD86018-E200-4471-B65D-A4CDC0505BE4>