summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/soledad.pp
blob: f3272c04b853155601c1612d3b518d70289e2c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class site_shorewall::soledad {

  include site_shorewall::defaults

  # define macro for incoming services
  file { '/etc/shorewall/macro.leap_soledad':
    content => 'PARAM   -       -       tcp    2424',
    notify  => Service['shorewall'],
    require => Package['shorewall']
  }

  shorewall::rule {
    'net2fw-soledad':
      source      => 'net',
      destination => '$FW',
      action      => 'leap_soledad(ACCEPT)',
      order       => 200;
  }
}