aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall/mpd.pp
blob: 5724952545592e4295043eb19dd6832c976eb484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class firewall::mpd {
  # MPD http stream
  shorewall::rule { 'mpd-http-stream':
    source          => 'net',
    destination     => '$FW',
    proto           => 'tcp',
    destinationport => '8000',
    order           => 200,
    action          => 'ACCEPT';
  }

  # MPD client access
  shorewall::rule { 'mpd-daemon':
    source          => 'net',
    destination     => '$FW',
    proto           => 'tcp',
    destinationport => '6600',
    order           => 200,
    action          => 'ACCEPT';
  }
}