summaryrefslogtreecommitdiff
path: root/manifests/implementations/shorewall/virtual/web.pp
blob: 06bf993ad4997e211c2dd838c1b79802128e2c68 (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',
    originaldest    => $destination,
    ratelimit       => '-',
    order           => 600,
  }
}