From ac2b50aa082441580b099c7628770e36741d7637 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 17 Jul 2010 14:00:05 -0300 Subject: Renaming firewall::cups to firewall::printer and adding hplip rules --- manifests/subsystems/firewall.pp | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp index 5938500..759562b 100644 --- a/manifests/subsystems/firewall.pp +++ b/manifests/subsystems/firewall.pp @@ -282,7 +282,7 @@ class firewall::wifi { } } -class firewall::cups { +class firewall::printer { shorewall::rule { "cups-tcp": action => 'ACCEPT', source => 'net', @@ -302,4 +302,24 @@ class firewall::cups { ratelimit => '-', order => "201", } + + shorewall::rule { "hp-pdl-datastr-tcp": + action => 'ACCEPT', + source => 'net', + destination => '$FW', + proto => 'tcp', + destinationport => "9100", + ratelimit => '-', + order => "200", + } + + shorewall::rule { "hp-pdl-datastr-udp": + action => 'ACCEPT', + source => 'net', + destination => '$FW', + proto => 'udp', + destinationport => "9100", + ratelimit => '-', + order => "201", + } } -- cgit v1.2.3