aboutsummaryrefslogtreecommitdiff
path: root/manifests/firewall.pp
blob: 750fdc6c87a8fd5737c7bbd7b8e4cde9b3ca5246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class firewall {
  include shorewall

  shorewall::rule { "ssh-02":
    action          => 'DNAT',
    source          => 'net',
    destination     => "vm:192.168.0.$context:22",
    proto           => 'tcp',
    destinationport => "22$id",
    ratelimit       => '-',
    order           => "202",
  }
}