summaryrefslogtreecommitdiffstats
path: root/shib_secondary/remote/dnbd3-ssl-out.service
diff options
context:
space:
mode:
Diffstat (limited to 'shib_secondary/remote/dnbd3-ssl-out.service')
-rw-r--r--shib_secondary/remote/dnbd3-ssl-out.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/shib_secondary/remote/dnbd3-ssl-out.service b/shib_secondary/remote/dnbd3-ssl-out.service
new file mode 100644
index 0000000..4db4c22
--- /dev/null
+++ b/shib_secondary/remote/dnbd3-ssl-out.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=SSL Proxy for DNBD3 [OUT]
+Wants=dnbd3-server.service
+
+[Service]
+DynamicUser=true
+ExecStart=/usr/bin/socat tcp-listen:5005,bind=127.0.0.1,fork,reuseaddr openssl-connect:%DOMAIN%:5006,capath=/etc/ssl/certs/
+Restart=always
+
+[Install]
+WantedBy=multi-user.target