I have an Ubuntu server which is running Nginx and have a Wordpress site. I need good protection for it. Recently I found that BFD is causing some problems so I had to disable it. Does any one know of a better solution?
Asked
Active
Viewed 612 times
2 Answers
1
you can try fail2ban and write custom rules.
regardless of the log-parser - make sure your logs are small - eg rotated daily.
![](../../users/profiles/2413.webp)
pQd
- 29,561
- 5
- 64
- 106
-
I just read that fail2ban updates firewall rules... I have APF... Will it work with that? – THpubs Apr 25 '12 at 04:06
-
@EApubs you can script any actions; from what i see apf is based on iptables anyway. – pQd Apr 25 '12 at 05:11
-
yup.. But the problem is, Apf loads its own rules at every startup... will that clear fail2ban's rules? – THpubs Apr 25 '12 at 05:14
-
@EApubs fail to ban re-creates own chain on restart - that i'm sure about. during working - you'll have to check. – pQd Apr 25 '12 at 08:08