summaryrefslogtreecommitdiff
path: root/manifests/virtual/web.pp
blob: b7b36a273184390b4b45d02b66bfc0648c3df2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define firewall::virtual::web(
  $destination
) {
  shorewall::rule { "web-route-${name}-1":
    action          => 'DNAT',
    source          => 'vm',
    destination     => "fw:${destination}:80",
    proto           => 'tcp',
    destinationport => '80',
    originaldetst   => $destination,
    ratelimit       => '-',
    order           => 600,
  }
}