IPFW and Fail2Ban

Mike L jackoroses at gmail.com
Sat Apr 3 18:56:19 UTC 2010


On Sat, Apr 3, 2010 at 6:29 AM, Carmel NY <carmel_ny at hotmail.com> wrote:

> I am having an exceedingly hard time finding documentation on Fail2Ban
> on FreeBSD. In fact, documentation on Fail2Ban seems rather sparse to
> begin with.
>
> In any case, does Fail2Ban work with the IPFW firewall on FreeBSD? Does
> it do it natively, or does it require a special configuration?
>
> I presently have 'denyhost' up and running. If I get Fail2Ban working
> correctly, I assume I can remove 'denyhost'. Again, I am assuming that
> the two program would interact badly with each other.
>
> --
> Carmel
> carmel_ny at hotmail.com
>
> |::::=======
> |::::=======
> |===========
> |===========
> |
>
> Your fault - core dumped
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

Yes it works with freebsd.
You need to specify it in jail.conf
under the the filter you choose; action=ipfw[localhost xxx.xxx.xxx]
configure the ipfw.conf in the action.d directory
a little googling and trial and error and you will get it.


More information about the freebsd-questions mailing list