plan9fox/rc/bin/tlssrvtunnel
2011-03-30 18:29:07 +00:00

8 lines
175 B
Bash
Executable file

#!/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 &