sni proxy
http proxy
https proxy
port forward
npm i uglify-es -g
npm i rollup -g
make dev
make build
single js file , no dependencies
env
PORT
tcp listen port
SSLPORT
default ssl connection port
ECHOPORT
flag run as echo server
FORWARD_HOST
ip or domain , flag run as port forward server
FORWARD_PORT
port
make it executeable directly
echo '#!/usr/bin/env node' | cat - bundle.js > sproxy && chmod +x sproxy