summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/torrc.exit_policy.erb3
-rw-r--r--templates/torrc.relay.erb3
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb
index 4732ad6..92367c2 100644
--- a/templates/torrc.exit_policy.erb
+++ b/templates/torrc.exit_policy.erb
@@ -1,4 +1,7 @@
# exit policies: <%= name %>
+<%- if reject_private != 1 then -%>
+ExitPolicyRejectPrivate <%= reject_private %>
+<%- end -%>
<%- for policy in accept -%>
ExitPolicy accept <%= policy %>
<%- end -%>
diff --git a/templates/torrc.relay.erb b/templates/torrc.relay.erb
index 4754859..2ab34bf 100644
--- a/templates/torrc.relay.erb
+++ b/templates/torrc.relay.erb
@@ -4,6 +4,9 @@ ORPort <%= port %>
<%- for listen_address in listen_addresses -%>
ORListenAddress <%= listen_address %>
<%- end -%>
+<%- for outbound_bindaddress in outbound_bindaddresses -%>
+OutboundBindAddress <%= outbound_bindaddress %>
+<%- end -%>
<%- if nickname != '' then -%>
Nickname <%= nickname %>
<%- end -%>