yisier / nps

基于NPS 0.29.10 版本二开而来,NPS接力项目。公益云NPS:https://natnps.com
https://ehang-io.github.io/nps/
GNU General Public License v3.0
2.32k stars 302 forks source link

支持类似FRP的TCPMUX端口复用功能 #211

Open weicao0 opened 1 month ago

weicao0 commented 1 month 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 [...] TCP连接可以通过http connect方式进行端口复用,相比于当前的http连接,可以少一个域名绑定的过程。 FRP里已经实现了这个功能,可以参考https://gofrp.org/zh-cn/docs/examples/multiple-ssh-over-same-port/ 目前对比了nps和frp的功能,感觉就是这个tcpmux的理解不太一致,其他功能nps的设计大多更为优雅。如果能支持这个功能,就更加强大了。

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

1115714829 commented 1 month ago

确实 ,我也看了半天没找到类似功能 因为这样 可以集群管理, 比如我设置固定域名.xxx.com 我可以在A客户端设置a.xxx.com B客户端设置b.xxx.com 然后我的SSH客户端连接的时候选择http代理到服务端,然后链接地址就写具体的每个设备的子域名就行,端口可以都是22,这样就很省心。