aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/firewall.pp
blob: cd1b22530491eaf90ca7821005bb718722aa37ae (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.2:22",
    proto           => 'tcp',
    destinationport => "2202",
    ratelimit       => '-',
    order           => "202",
  }
}