aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-07-17 13:49:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-07-17 13:49:03 -0300
commitfed86b7a1fad79f06601f52bdc81cbfadb5f18d4 (patch)
tree1e84f68f4adc6b9d4ffe1e47c920f964714574a5 /manifests/subsystems/firewall.pp
parentcbccc962548226da000c606f246f6da7d030b0d7 (diff)
downloadpuppet-nodo-fed86b7a1fad79f06601f52bdc81cbfadb5f18d4.tar.gz
puppet-nodo-fed86b7a1fad79f06601f52bdc81cbfadb5f18d4.tar.bz2
Adding cups udp rule
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",
+ }
}