summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2017-07-19 17:05:48 +0200
committermh <mh@immerda.ch>2017-07-19 17:05:48 +0200
commitb92b6930ca6c10c89b8f59cce393643eb32248e5 (patch)
treef563b12b239ca11d41773c815512c1e942451e85 /manifests
parentaa9d865f8d9a841cc7d4bef70aa5481816a9649e (diff)
add mosh support
Diffstat (limited to 'manifests')
-rw-r--r--manifests/rules/mosh.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/rules/mosh.pp b/manifests/rules/mosh.pp
new file mode 100644
index 0000000..1cd3486
--- /dev/null
+++ b/manifests/rules/mosh.pp
@@ -0,0 +1,11 @@
+# enable mosh support
+class shorewall::rules::mosh {
+ shorewall::rule { 'net-me-mosh-udp':
+ source => 'net',
+ destination => '$FW',
+ proto => 'udp',
+ destinationport => '60000:61000',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}