如何实现 SSH、HTTP 和 HTTPS 复用端口 自动分流?
参考 Python 脚本如下, ``` # -*- coding: utf-8 -*- # 2023/2/7 # create by: snower import sevent PORT = 80 SSH_ADDRES = ("127.0.0.1", 2222) HTTP_ADDRES = ("127.0.0.1", 8080) HTTPS_ADDRES = ("127.0.0.1", 4443) async def do_tcp_port_forward(conn): buffer = await conn.recv() data = buffer.join() forward_address = HTTP_ADDRES...阅读全文