rule => '&SERVICE_RANGE(tcp, 3493, ( 82.195.75.64/26 192.168.43.0/24 ))'
}
}
- lotti,loghost-grnet-01,loghost-osuosl-01: {
- @ferm::rule { 'dsa-syslog':
- description => 'Allow syslog access',
- rule => '&SERVICE_RANGE(tcp, 5140, $HOST_DEBIAN_V4)'
- }
- @ferm::rule { 'dsa-syslog-v6':
- domain => 'ip6',
- description => 'Allow syslog access',
- rule => '&SERVICE_RANGE(tcp, 5140, $HOST_DEBIAN_V6)'
- }
- @ferm::rule { 'fastly-syslog':
- description => 'Allow syslog access',
- rule => '&SERVICE_RANGE(tcp, 5141, $HOST_FASTLY)'
- }
- }
kaufmann: {
@ferm::rule { 'dsa-hkp':
domain => '(ip ip6)',
--- /dev/null
+class roles::loghost {
+ include syslog_ng::loghost
+
+ ferm::rule { 'dsa-syslog':
+ domain => '(ip ip6)',
+ description => 'Allow syslog access',
+ rule => '&SERVICE_RANGE(tcp, 5140, $HOST_DEBIAN)'
+ }
+ ferm::rule { 'fastly-syslog':
+ description => 'Allow syslog access',
+ rule => '&SERVICE_RANGE(tcp, 5141, $HOST_FASTLY)'
+ }
+}