aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/firewall.pp')
-rw-r--r--manifests/subsystems/firewall.pp12
1 files changed, 11 insertions, 1 deletions
diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp
index 2239907..5938500 100644
--- a/manifests/subsystems/firewall.pp
+++ b/manifests/subsystems/firewall.pp
@@ -283,7 +283,7 @@ class firewall::wifi {
}
class firewall::cups {
- shorewall::rule { "cups":
+ shorewall::rule { "cups-tcp":
action => 'ACCEPT',
source => 'net',
destination => '$FW',
@@ -292,4 +292,14 @@ class firewall::cups {
ratelimit => '-',
order => "200",
}
+
+ shorewall::rule { "cups-udp":
+ action => 'ACCEPT',
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => "631",
+ ratelimit => '-',
+ order => "201",
+ }
}