refreshonly => true,
}
ferm::rule { "dsa-apache":
+ domain => (ip ip6),
description => "Allow web access",
rule => "proto tcp mod state state (NEW) dport (80) ACCEPT"
}
refreshonly => true,
}
ferm::rule { "dsa-exim":
+ domain => (ip ip6),
description => "Allow smtp access",
rule => "proto tcp mod state state (NEW) dport (25) ACCEPT"
}
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true,
}
- ferm::rule { "dsa-munin":
- description => "Allow munin from munin master",
- rule => "proto tcp mod state state (NEW) dport (munin) @subchain 'munin' { saddr (\$HOST_MUNIN) ACCEPT; }"
- }
+ ferm::rule { "dsa-munin":
+ domain => (ip ip6),
+ description => "Allow munin from munin master",
+ rule => "proto tcp mod state state (NEW) dport (munin) @subchain 'munin' { saddr (\$HOST_MUNIN) ACCEPT; }"
+ }
}
refreshonly => true,
}
ferm::rule { "dsa-nagios":
+ domain => (ip ip6),
description => "Allow nrpe from nagios master",
rule => "proto tcp mod state state (NEW) dport (5666) @subchain 'nagios' { saddr (\$HOST_NAGIOS) ACCEPT; }"
}
;
}
ferm::rule { "dsa-bind":
+ domain => (ip ip6),
description => "Allow nameserver access",
rule => "proto (udp tcp) mod state state (NEW) dport (53) ACCEPT"
}
refreshonly => true,
}
ferm::rule { "dsa-ntp":
+ domain => (ip ip6),
description => "Allow ntp access",
rule => "proto udp mod state state (NEW) dport (123) ACCEPT"
}