diff options
author | Andreas <andreas@immerda.ch> | 2010-10-21 18:55:32 -0500 |
---|---|---|
committer | Andreas <andreas@immerda.ch> | 2010-10-21 18:55:32 -0500 |
commit | a1739cacce6c17e9244c3c6d5b5838e331265490 (patch) | |
tree | bb32cdd09a9ebaff6e82c788c152467b767f2200 /manifests/rules | |
parent | 079a8e915b73b5a969fa4882eba9fe5c814bf4d9 (diff) | |
download | puppet-shorewall-a1739cacce6c17e9244c3c6d5b5838e331265490.tar.gz puppet-shorewall-a1739cacce6c17e9244c3c6d5b5838e331265490.tar.bz2 |
shorewall tinc rules
Diffstat (limited to 'manifests/rules')
-rw-r--r-- | manifests/rules/tinc.pp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/manifests/rules/tinc.pp b/manifests/rules/tinc.pp new file mode 100644 index 0000000..d244ceb --- /dev/null +++ b/manifests/rules/tinc.pp @@ -0,0 +1,34 @@ +class shorewall::rules::tinc { + shorewall::rule { 'net-me-tinc-tcp': + source => 'net', + destination => '$FW', + proto => 'tcp', + destinationport => '655', + order => 240, + action => 'ACCEPT'; + } + shorewall::rule { 'me-net-tinc-tcp': + source => '$FW', + destination => 'net', + proto => 'tcp', + destinationport => '655', + order => 240, + action => 'ACCEPT'; + } + shorewall::rule { 'net-me-tinc-udp': + source => 'net', + destination => '$FW', + proto => 'tcp', + destinationport => '655', + order => 240, + action => 'ACCEPT'; + } + shorewall::rule { 'me-net-tinc-udp': + source => '$FW', + destination => 'net', + proto => 'tcp', + destinationport => '655', + order => 240, + action => 'ACCEPT'; + } +} |