aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/torify/user.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rules/torify/user.pp')
-rw-r--r--manifests/rules/torify/user.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/rules/torify/user.pp b/manifests/rules/torify/user.pp
index 49c0b34..5caccfd 100644
--- a/manifests/rules/torify/user.pp
+++ b/manifests/rules/torify/user.pp
@@ -7,6 +7,10 @@ define shorewall::rules::torify::user(
include shorewall::rules::torify::allow_tor_transparent_proxy
+ if $originaldest == '-' and $user == '-' {
+ include shorewall::rules::torify::allow_tor_user
+ }
+
shorewall::rules::torify::redirect_tcp_to_tor {
"redirect-to-tor-user=${user}-to=${originaldest}":
user => $user,