summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/stunnel/foreground.erb1
-rw-r--r--templates/stunnel/service.erb6
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/stunnel/foreground.erb b/templates/stunnel/foreground.erb
new file mode 100644
index 0000000..2ceff96
--- /dev/null
+++ b/templates/stunnel/foreground.erb
@@ -0,0 +1 @@
+foreground = <%= @foreground %>
diff --git a/templates/stunnel/service.erb b/templates/stunnel/service.erb
new file mode 100644
index 0000000..b707444
--- /dev/null
+++ b/templates/stunnel/service.erb
@@ -0,0 +1,6 @@
+[<%= @name %>]
+client = <%= @client %>
+accept=<%= @accept_host %>:<%= @accept_port %>
+connect=<%= @connect_host %>:<%= @connect_port %>
+cert=<%= @certificate %>
+key=<%= @key %>