shithub: riscv

ref: 0e96985e12d03ea0dcc9a82a5e4f307b80aca93d
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 &