summaryrefslogtreecommitdiff
path: root/puppet/modules/obfsproxy/templates/etc_conf.erb
diff options
context:
space:
mode:
authorirregulator <irregulator@riseup.net>2014-05-28 17:35:12 +0300
committerelijah <elijah@riseup.net>2014-07-01 16:05:41 -0700
commit791e22b136910ecfa204eb78be747baed2b02590 (patch)
tree4f47b0ee88d8ebd07d62ae840854fc7e0c435fa1 /puppet/modules/obfsproxy/templates/etc_conf.erb
parent08f4c51cbbf9a4307375278ab42d31aa65d57645 (diff)
Make obfsproxy daemon bind to specific address rather than 0.0.0.0
If obfsproxy is spawned alongside eip service, make it listen to the gateway_adress IP. If obfsproxy is running standalone listen to ip_address.
Diffstat (limited to 'puppet/modules/obfsproxy/templates/etc_conf.erb')
-rw-r--r--puppet/modules/obfsproxy/templates/etc_conf.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/modules/obfsproxy/templates/etc_conf.erb b/puppet/modules/obfsproxy/templates/etc_conf.erb
index d9938e1a..10f6a7f7 100644
--- a/puppet/modules/obfsproxy/templates/etc_conf.erb
+++ b/puppet/modules/obfsproxy/templates/etc_conf.erb
@@ -8,4 +8,5 @@ PARAM=--password=<%= @param %>
PARAM=<%= @param %>
<% end %>
LOG=<%= @log_level %>
+BINDADDR=<%= @bind_address %>