summaryrefslogtreecommitdiff
path: root/puppet/modules/obfsproxy/templates/etc_conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/obfsproxy/templates/etc_conf.erb')
-rw-r--r--puppet/modules/obfsproxy/templates/etc_conf.erb11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/obfsproxy/templates/etc_conf.erb b/puppet/modules/obfsproxy/templates/etc_conf.erb
new file mode 100644
index 00000000..8959ef78
--- /dev/null
+++ b/puppet/modules/obfsproxy/templates/etc_conf.erb
@@ -0,0 +1,11 @@
+TRANSPORT=<%= @transport %>
+PORT=<%= @port %>
+DEST_IP=<%= @dest_ip %>
+DEST_PORT=<%= @dest_port %>
+<% if @transport == "scramblesuit" -%>
+PARAM=--password=<%= @param %>
+<% else -%>
+PARAM=<%= @param %>
+<% end -%>
+LOG=<%= @log_level %>
+BINDADDR=<%= @bind_address %>