快速自建ngrok
快速自建ngrok
安装
git clone git@github.com:inconshreveable/ngrok.git
cd ngrok && make
运行
运行服务端
./bin/ngrokd -domain linsl2018.top -httpAddr "" -httpsAddr ""
客户端
test.config
server_addr: linsl2018.top:4443
tunnels:
test:
proto:
tcp: 22
运行客户端
./bin/ngrok -config=debug.yml -log=ngrok.log start test