shithub: riscv

ref: 98aefdfc7862e39b7b8fa1aefe9d7af3b676da36
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 &