aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rules')
-rw-r--r--manifests/rules/smtps.pp10
-rw-r--r--manifests/rules/smtps/disable.pp5
2 files changed, 15 insertions, 0 deletions
diff --git a/manifests/rules/smtps.pp b/manifests/rules/smtps.pp
new file mode 100644
index 0000000..48183f7
--- /dev/null
+++ b/manifests/rules/smtps.pp
@@ -0,0 +1,10 @@
+class shorewall::rules::smtps {
+ shorewall::rule {'net-me-smtps-tcp':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '465',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}
diff --git a/manifests/rules/smtps/disable.pp b/manifests/rules/smtps/disable.pp
new file mode 100644
index 0000000..24bd21f
--- /dev/null
+++ b/manifests/rules/smtps/disable.pp
@@ -0,0 +1,5 @@
+class shorewall::rules::smtps::disable inherits shorewall::rules::smtps {
+ Shorewall::Rule['net-me-smtps-tcp']{
+ action => 'DROP',
+ }
+}