aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall/ppp.pp
blob: f646519b4bca0dd3ae3a7edcd3bce4afea2e533d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
class firewall::ppp {
  shorewall::zone { 'ppp':
    type  => 'ipv4',
    order => '4',
  }

  shorewall::interface { 'ppp0':
    zone => 'ppp',
  }

  shorewall::policy { 'loc-ppp':
    sourcezone      => 'loc',
    destinationzone => 'ppp', 
    policy          => 'ACCEPT',
    order           => '30',
  }

  shorewall::policy { 'ppp-loc':
    sourcezone      => 'ppp',
    destinationzone => 'loc', 
    policy          => 'ACCEPT',
    order           => '31',
  }

  shorewall::policy { 'fw-ppp':
    sourcezone      => '$FW',
    destinationzone => 'ppp', 
    policy          => 'ACCEPT',
    order           => '32',
  }
}