From f4c1997a59f42eacc5034734c44c97b94325f1ce Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 7 Sep 2019 18:20:46 +0200 Subject: [PATCH] ssh restrict dns geo and dns primary hosts --- modules/ferm/templates/me.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index a1754e8e5..e1a581738 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -29,7 +29,7 @@ should_restrict = restrict_ssh.include?(@hostname) end -if restrict_ssh.include?(@hostname) then +if should_restrict then ssh4allowed << %w{$DSA_IPS $HOST_NAGIOS_V4 $HOST_MUNIN_V4 $HOST_DB_V4} ssh6allowed << %w{$DSA_V6_IPS $HOST_NAGIOS_V6 $HOST_MUNIN_V6 $HOST_DB_V6} -- 2.20.1