ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
29.75k stars 5.37k forks source link

Tcp模式,多条TCP隧道 #1148

Open liuxianyi opened 1 year ago

liuxianyi commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 在客户端npc.conf中

[tcp]
mode=tcp
target_addr=127.0.0.1:22
server_port=9000

目前测试只支持设置一个TCP隧道,目前只能在页面内加入多个tcp隧道,但是服务端停止后,这些配置回重置。 Describe the solution you'd like A clear and concise description of what you want to happen. 是否可以支持在npc.conf中设置多条tcp隧道。

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. no Additional context Add any other context or screenshots about the feature request here. no

GreenHatHG commented 1 year ago

请问下现在这个实现了吗