From c5466c1241ab33ad556f1a9b5428f384962fcb6d Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 10 Sep 2013 22:17:10 +0200 Subject: [PATCH] Allow ssh from mail relays to adayevskaya --- modules/ferm/templates/me.conf.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 73c0809ee..3a726d642 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -40,6 +40,11 @@ if restrict_ssh.include?(hostname) then ssh6allowed << '$UNGER_SSH6_ACCESS' # Ganneff, but more address space end + if %w{adayevskaya}.include?(hostname) then + ssh4allowed << %w{$HOST_MAILRELAY_V4} + ssh6allowed << %w{$HOST_MAILRELAY_V6} + end + if nodeinfo['static_master'] then ssh4allowed << '$HOST_STATIC_V4' ssh6allowed << '$HOST_STATIC_V6' -- 2.20.1