From 59a4682f811584a36a1b745347a13fc136969ad6 Mon Sep 17 00:00:00 2001 From: fantu <fantu@ispconfig3> Date: Sat, 28 May 2011 09:58:54 -0400 Subject: [PATCH] Add detail about fail2ban working also with ipv6 --- docs/INSTALL_DEBIAN_6.0_courier_mydns.txt | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt b/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt index 7816ead..31083a9 100644 --- a/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt +++ b/docs/INSTALL_DEBIAN_6.0_courier_mydns.txt @@ -380,6 +380,18 @@ echo 'yes' > /etc/pure-ftpd/conf/DontResolve /etc/init.d/pure-ftpd-mysql restart +----------------------------------------------------------------------------------------------------------- +Fail2ban also working with ipv6: +# Download here and install the package: http://homes.dcc.ufba.br/~rogeriobastos/files/fail2ban/ +# Set banaction = route in jail.conf +# Create or modify route.conf in /etc/fail2ban/action.d +[Definition] +actionban = ip route add unreachable <ip> +actionunban = ip route del unreachable <ip> +action6ban = ip route add unreachable <ip> +action6unban = ip route del unreachable <ip> +----------------------------------------------------------------------------------------------------------- + -- Gitblit v1.9.1