From: Silvio Rhatto Date: Sat, 17 Jul 2010 17:00:05 +0000 (-0300) Subject: Renaming firewall::cups to firewall::printer and adding hplip rules X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ac2b50aa082441580b099c7628770e36741d7637;p=puppet-nodo.git Renaming firewall::cups to firewall::printer and adding hplip rules --- 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", + } }