diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/firewall.pp | 22 |
1 files changed, 21 insertions, 1 deletions
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", + } } |