我发现https://github.com/anderspitman/SirTunnel
这是用法:
How do you use it?
If you have:
A SirTunnel server instance listening on port 443 of example.com.
A copy of the sirtunnel.py script available on the PATH of the server.
An SSH server running on port 22 of example.com.
A webserver running on port 8080 of your laptop.
And you run the following command on your laptop:
ssh -tR 9001:localhost:8080 example.com sirtunnel.py sub1.example.com 9001
Now any requests to https://sub1.example.com will be proxied to your local webserver.
因为我已经在 Node.js 上的网络服务器上使用了端口 443,所以我不确定如何让它们协同工作。
有什么建议吗?