From fed86b7a1fad79f06601f52bdc81cbfadb5f18d4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 17 Jul 2010 13:49:03 -0300 Subject: Adding cups udp rule --- manifests/subsystems/firewall.pp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'manifests/subsystems/firewall.pp') diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp index 2239907..5938500 100644 --- a/manifests/subsystems/firewall.pp +++ b/manifests/subsystems/firewall.pp @@ -283,7 +283,7 @@ class firewall::wifi { } class firewall::cups { - shorewall::rule { "cups": + shorewall::rule { "cups-tcp": action => 'ACCEPT', source => 'net', destination => '$FW', @@ -292,4 +292,14 @@ class firewall::cups { ratelimit => '-', order => "200", } + + shorewall::rule { "cups-udp": + action => 'ACCEPT', + source => 'net', + destination => '$FW', + proto => 'udp', + destinationport => "631", + ratelimit => '-', + order => "201", + } } -- cgit v1.2.3