Whitelist the local IP of the server itself

tags/0.0.1
Daniel Berteaud 11 years ago
parent 6ffdca7501
commit ece16d1159
  1. 2
      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'} || '')){

Loading…
Cancel
Save