summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoro <o@immerda.ch>2013-12-19 19:51:45 +0100
committero <o@immerda.ch>2013-12-19 19:51:45 +0100
commit46c42177cd05e997a89580e3463b2b63ecb2025d (patch)
treeac6fedaea719e13987b15bfae2b67efc626c0f7b
parent288ba2824aa1155a21015b34243371ffc5ba2b1c (diff)
add rule for openvpn
-rw-r--r--manifests/rules/openvpn.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/rules/openvpn.pp b/manifests/rules/openvpn.pp
new file mode 100644
index 0000000..55a20d2
--- /dev/null
+++ b/manifests/rules/openvpn.pp
@@ -0,0 +1,18 @@
+class shorewall::rules::openvpn {
+ shorewall::rule { 'net-me-openvpn-udp':
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => '1194',
+ order => 240,
+ action => 'ACCEPT';
+ }
+ shorewall::rule { 'me-net-openvpn-udp':
+ source => '$FW',
+ destination => 'net',
+ proto => 'udp',
+ destinationport => '1194',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}