summaryrefslogtreecommitdiff
path: root/rc/bin/tlssrvtunnel
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/tlssrvtunnel')
-rwxr-xr-xrc/bin/tlssrvtunnel7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc/bin/tlssrvtunnel b/rc/bin/tlssrvtunnel
new file mode 100755
index 000000000..a9e79a658
--- /dev/null
+++ b/rc/bin/tlssrvtunnel
@@ -0,0 +1,7 @@
+#!/bin/rc
+
+if(! ~ $#* 3){
+ echo 'usage: tlssrvtunnel plainaddr cryptaddr cert.pem' >[1=2]
+ exit usage
+}
+aux/listen1 -tv $2 /bin/tlssrv -c $3 -llisten /bin/aux/trampoline $1 &