View Single Post
Old 3rd March 2013, 09:11
manarak manarak is offline
Senior Member
Join Date: Apr 2009
Posts: 263
Thanks: 32
Thanked 6 Times in 5 Posts

Originally Posted by manarak View Post
another observation:
if you install a vserver: these usually don't allow access to IPTABLES, since they are built into the kernel that is common to all vservers on the host.
So your fail2ban is going to be ineffective in the default config.

solution: use hosts.deny instead.

to do this:
in jail.conf
banaction = iptables-multiport
banaction = hostsdeny
save and restart fail2ban
I realized later that hosts.deny is not a good solution. see here why:
Reply With Quote