summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/rules/ipsec.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/rules/ipsec.pp b/manifests/rules/ipsec.pp
new file mode 100644
index 0000000..c609d0a
--- /dev/null
+++ b/manifests/rules/ipsec.pp
@@ -0,0 +1,18 @@
+class shorewall::rules::ipsec {
+ shorewall::rule { 'net-me-ipsec-udp':
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => '500',
+ order => 240,
+ action => 'ACCEPT';
+ }
+ shorewall::rule { 'me-net-ipsec-udp':
+ source => '$FW',
+ destination => 'net',
+ proto => 'udp',
+ destinationport => '500',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}