plan9/rc/bin/tlssrvtunnel
2014-02-08 22:26:48 -08: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 &