summaryrefslogtreecommitdiff
path: root/manifests/rules/postgres.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rules/postgres.pp')
-rw-r--r--manifests/rules/postgres.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/rules/postgres.pp b/manifests/rules/postgres.pp
new file mode 100644
index 00000000..1a22027e
--- /dev/null
+++ b/manifests/rules/postgres.pp
@@ -0,0 +1,10 @@
+class shorewall::rules::postgres {
+ shorewall::rule { 'net-me-tcp_postgres':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '5432',
+ order => 250,
+ action => 'ACCEPT';
+ }
+}