summaryrefslogtreecommitdiff
path: root/manifests/implementations/shorewall/printer.pp
blob: a094d69e82b4f4372684561c1605360ba50c79f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class firewall::implementations::shorewall::printer {
  shorewall::rule { "cups-tcp":
    action          => 'ACCEPT',
    source          => 'net',
    destination     => '$FW',
    proto           => 'tcp',
    destinationport => "631",
    ratelimit       => '-',
    order           => 200,
  }

  shorewall::rule { "cups-udp":
    action          => 'ACCEPT',
    source          => 'net',
    destination     => '$FW',
    proto           => 'udp',
    destinationport => "631",
    ratelimit       => '-',
    order           => 201,
  }
}