aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/firewall.pp24
1 files changed, 22 insertions, 2 deletions
diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp
index 759562b..6c0b9b7 100644
--- a/manifests/subsystems/firewall.pp
+++ b/manifests/subsystems/firewall.pp
@@ -303,7 +303,7 @@ class firewall::printer {
order => "201",
}
- shorewall::rule { "hp-pdl-datastr-tcp":
+ shorewall::rule { "hplip-tcp":
action => 'ACCEPT',
source => 'net',
destination => '$FW',
@@ -313,7 +313,7 @@ class firewall::printer {
order => "200",
}
- shorewall::rule { "hp-pdl-datastr-udp":
+ shorewall::rule { "hplip-udp":
action => 'ACCEPT',
source => 'net',
destination => '$FW',
@@ -322,4 +322,24 @@ class firewall::printer {
ratelimit => '-',
order => "201",
}
+
+ shorewall::rule { "snmp-tcp":
+ action => 'ACCEPT',
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => "161",
+ ratelimit => '-',
+ order => "200",
+ }
+
+ shorewall::rule { "snmp-udp":
+ action => 'ACCEPT',
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => "161",
+ ratelimit => '-',
+ order => "201",
+ }
}