diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-07-17 14:00:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-07-17 14:00:05 -0300 |
commit | ac2b50aa082441580b099c7628770e36741d7637 (patch) | |
tree | 1bb3e75c7ef423826f5665331dad01dfc51d458e /manifests | |
parent | fed86b7a1fad79f06601f52bdc81cbfadb5f18d4 (diff) | |
download | puppet-nodo-ac2b50aa082441580b099c7628770e36741d7637.tar.gz puppet-nodo-ac2b50aa082441580b099c7628770e36741d7637.tar.bz2 |
Renaming firewall::cups to firewall::printer and adding hplip rules
Diffstat (limited to 'manifests')
-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", + } } |