From 210c761331a33265c64a534a8a143ec8f2b16235 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 3 Oct 2009 15:33:23 +0200 Subject: add postgres rules --- manifests/rules/out/postgres.pp | 11 +++++++++++ manifests/rules/postgres.pp | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 manifests/rules/out/postgres.pp create mode 100644 manifests/rules/postgres.pp diff --git a/manifests/rules/out/postgres.pp b/manifests/rules/out/postgres.pp new file mode 100644 index 0000000..a62d75d --- /dev/null +++ b/manifests/rules/out/postgres.pp @@ -0,0 +1,11 @@ +class shorewall::rules::out::postgres { + shorewall::rule { + 'me-net-tcp_postgres': + source => '$FW', + destination => 'net', + proto => 'tcp', + destinationport => '5432', + order => 240, + action => 'ACCEPT'; + } +} diff --git a/manifests/rules/postgres.pp b/manifests/rules/postgres.pp new file mode 100644 index 0000000..1a22027 --- /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'; + } +} -- cgit v1.2.3