Page 1 of 1
Necessary to install fail2ban?
Posted: Friday 04 January 2019 13:33
by jack100
Hi,
Last week I installed PiVPN on my raspberry pi with Domoticz. With OpenVPN on my iPhone I connect to my raspberry pi. It's works great!
Is it necessary also install fail2ban on my raspberry pi with Domoticz?
Grtz,
Jack
Re: Necessary to install fail2ban?
Posted: Friday 04 January 2019 14:34
by jvdz
I assume you do not have any other ports, other than needed for PIVPN, natted to the PI?
So it depends whether you want to ban IP addresses which are trying to connect to VPN and are unsuccessful.
Jos
Re: Necessary to install fail2ban?
Posted: Friday 04 January 2019 21:50
by jack100
Thanks!
I don't have other ports open. Only for PiVPN.
Jack
Re: Necessary to install fail2ban?
Posted: Friday 04 January 2019 22:30
by Egregius
Even for that I would recommend fail2ban.
I block the whole world in pfsense. About every 2 seconds there's an attempt blocked.
Belgian ip ranges are allowed and even with only that open fail2ban has work to do.
Re: Necessary to install fail2ban?
Posted: Monday 07 January 2019 15:25
by jack100
Hi Egregius,
Have you an link or manual too install pfsense on my rapsberry pi with domoticz?
Gr,
Jack
Re: Necessary to install fail2ban?
Posted: Monday 07 January 2019 16:30
by Egregius
You can't install pfsense on a Pi. You need a dedicated device or a hypervisor for it.