aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoramontero <amontero@166637.no-reply.drupal.org>2013-06-28 03:05:52 +0200
committeramontero <amontero@166637.no-reply.drupal.org>2013-06-28 03:05:52 +0200
commit95eca7cc0da65be69495fb67b152e678ba6d9c75 (patch)
tree5762013eea7efe0995062c2da6ff7cac6927b591 /templates
parentaf692e5858753ed695043ff8bc1d33f227fb0f85 (diff)
downloadpuppet-tor-95eca7cc0da65be69495fb67b152e678ba6d9c75.tar.gz
puppet-tor-95eca7cc0da65be69495fb67b152e678ba6d9c75.tar.bz2
Add PortForwarding to allow UPnP firewall pf configuration.
Diffstat (limited to 'templates')
-rw-r--r--templates/torrc.relay.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/torrc.relay.erb b/templates/torrc.relay.erb
index 85320d3..74a7c61 100644
--- a/templates/torrc.relay.erb
+++ b/templates/torrc.relay.erb
@@ -13,6 +13,9 @@ Nickname <%= nickname %>
<%- if address != '' then -%>
Address <%= address %>
<%- end -%>
+<%- if portforwarding != '0' then -%>
+PortForwarding <%= portforwarding %>
+<%- end -%>
<%- if bandwidth_rate != '' then -%>
BandwidthRate <%= bandwidth_rate %> KB
<%- end -%>
@@ -41,4 +44,3 @@ MyFamily <%= my_family %>
<%- if bridge_relay != '0' then -%>
BridgeRelay <%= bridge_relay %>
<%- end -%>
-