summaryrefslogtreecommitdiff
path: root/manifests/implementations/shorewall/virtual/web.pp
blob: 13e6831170826c7c5e2a4f4755242560eb8e32de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define firewall::implementations::shorewall::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,
  }
}