+# a syncproxy
class roles::syncproxy {
include roles::archvsync_base
binds => $binds,
}
}
+
+ @@ferm::rule::simple { "dsa-ssh-from-syncproxy-${::fqdn}":
+ tag => 'ssh::server::allow::syncproxy',
+ description => 'Allow ssh access from a syncproxy',
+ port => '22',
+ saddr => $base::public_addresses,
+ }
+
+ # syncproxies should be accessible from various role hosts
+ Ferm::Rule::Simple <<|
+ tag == 'ssh::server::allow::archvsync' or
+ tag == 'ssh::server::allow::ftp-master' or
+ tag == 'ssh::server::allow::ports-master' or
+ tag == 'ssh::server::allow::security-master'
+ |>>
}