Allow ssh from mail relays to adayevskaya
authorTollef Fog Heen <tfheen@err.no>
Tue, 10 Sep 2013 20:17:10 +0000 (22:17 +0200)
committerTollef Fog Heen <tfheen@err.no>
Tue, 10 Sep 2013 20:17:10 +0000 (22:17 +0200)
modules/ferm/templates/me.conf.erb

index 73c0809..3a726d6 100644 (file)
@@ -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'