summaryrefslogtreecommitdiff
path: root/manifests/rules/openvpn.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2018-01-13 11:13:23 -0500
committerMicah Anderson <micah@riseup.net>2018-01-13 11:13:23 -0500
commit4cf7030c0c1f9977d297d502f736029e57e36d40 (patch)
treec2219300400d0a455e8e0aba0df19c83a6de8121 /manifests/rules/openvpn.pp
parent7332777829c19a63ce3d9bc50a2ddd40b940743a (diff)
parentfab57483f46bab58275063081c5e4e6f7db9d2ab (diff)
Merge remote-tracking branch 'immerda/master' into immerda_merge
Diffstat (limited to 'manifests/rules/openvpn.pp')
-rw-r--r--manifests/rules/openvpn.pp26
1 files changed, 10 insertions, 16 deletions
diff --git a/manifests/rules/openvpn.pp b/manifests/rules/openvpn.pp
index 55a20d2..842e276 100644
--- a/manifests/rules/openvpn.pp
+++ b/manifests/rules/openvpn.pp
@@ -1,18 +1,12 @@
+# openvpn incoming
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';
- }
+ shorewall::rule {
+ 'net-me-openvpn-udp':
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => '1194',
+ order => 240,
+ action => 'ACCEPT';
+ }
}