shithub: riscv

ref: 6c7d0aeb7d937a3dcf924f1ef2952ee6c7aa9eb3
dir: /rc/bin/tlssrvtunnel/

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