diff options
author | mh <mh@immerda.ch> | 2016-09-23 23:58:27 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2016-09-23 23:58:27 +0200 |
commit | 8b20a24773e646a827f5bd9eb6030bfcbf12137d (patch) | |
tree | 91ab01ca2b4d4d566909e39634f404a50f404316 /manifests/rules/out | |
parent | caadcdbd3be5c32120b0cbe5071cb702330a0243 (diff) |
add tor out rule
Diffstat (limited to 'manifests/rules/out')
-rw-r--r-- | manifests/rules/out/tor.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/rules/out/tor.pp b/manifests/rules/out/tor.pp new file mode 100644 index 0000000..b4128d0 --- /dev/null +++ b/manifests/rules/out/tor.pp @@ -0,0 +1,11 @@ +# open outgoing port to connect to the network +class shorewall::rules::out::tor { + shorewall::rule{'me-net-tor-tcp': + source => '$FW', + destination => 'net', + proto => 'tcp', + destinationport => '9001', + order => 240, + action => 'ACCEPT'; + } +} |