aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall/printer.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/firewall/printer.pp')
-rw-r--r--manifests/subsystems/firewall/printer.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/subsystems/firewall/printer.pp b/manifests/subsystems/firewall/printer.pp
new file mode 100644
index 0000000..194f281
--- /dev/null
+++ b/manifests/subsystems/firewall/printer.pp
@@ -0,0 +1,21 @@
+class firewall::printer {
+ shorewall::rule { "cups-tcp":
+ action => 'ACCEPT',
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => "631",
+ ratelimit => '-',
+ order => "200",
+ }
+
+ shorewall::rule { "cups-udp":
+ action => 'ACCEPT',
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => "631",
+ ratelimit => '-',
+ order => "201",
+ }
+}