$port = 0,
$listen_addresses = [],
+$portforwarding = 0, # PortForwarding 0|1, set for opening ports at the router via UPnP.
+ # Requires 'tor-fw-helper' binary present.
$bandwidth_rate = '', # KB/s, defaulting to using tor's default: 5120KB/s
$bandwidth_burst = '', # KB/s, defaulting to using tor's default: 10240KB/s
$relay_bandwidth_rate = 0, # KB/s, 0 for no limit.
$port = 0,
$listen_addresses = [],
$outbound_bindaddresses = [],
+ $portforwarding = 0,
# KB/s, defaulting to using tor's default: 5120KB/s
$bandwidth_rate = '',
# KB/s, defaulting to using tor's default: 10240KB/s
<%- if address != '' then -%>
Address <%= address %>
<%- end -%>
+<%- if portforwarding != '0' then -%>
+PortForwarding <%= portforwarding %>
+<%- end -%>
<%- if bandwidth_rate != '' then -%>
BandwidthRate <%= bandwidth_rate %> KB
<%- end -%>
<%- if bridge_relay != '0' then -%>
BridgeRelay <%= bridge_relay %>
<%- end -%>
-