diff options
-rw-r--r-- | manifests/init.pp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index f9029ef..c76b291 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -27,7 +27,7 @@ class firewall( # shorewall::policy { 'vm-net': sourcezone => 'vm', - destinationzone => 'net', + destinationzone => 'net', policy => 'ACCEPT', order => 1, } @@ -45,10 +45,10 @@ class firewall( policy => 'ACCEPT', order => 3, } - + shorewall::policy { 'net-all': sourcezone => 'net', - destinationzone => 'all', + destinationzone => 'all', policy => 'DROP', order => 4, } @@ -172,7 +172,7 @@ class firewall( shorewall::tcrules { "ssh-tcp": order => "1", source => "0.0.0.0/0", - destination => "0.0.0.0/0", + destination => "0.0.0.0/0", protocol => "tcp", ports => "22", } @@ -180,7 +180,7 @@ class firewall( shorewall::tcrules { "ssh-udp": order => "1", source => "0.0.0.0/0", - destination => "0.0.0.0/0", + destination => "0.0.0.0/0", protocol => "udp", ports => "22", } |