diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP index 22b153a..15519b6 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP @@ -6,7 +6,7 @@ use Net::IPv4Addr; my $n = esmith::NetworksDB->open_ro() || die "Couldn't open networks DB\n"; -my @ip = ("127.0.0.0/8"); +my @ip = ("127.0.0.0/8", $LocalIP); # Add hosts which can access the server-manager to the whitelist foreach (split /[,;]/, (${'httpd-admin'}{'ValidFrom'} || '')){