-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] tcp/up端口转发是否有排期? #5135
Comments
麻烦再详细描述一下具体使用场景。 |
通过公网映射转发到内网其他机器端口; |
收到,我们先本地调研一下实现方案。 |
这个功能宝塔有,宝塔看上去是面板做了个网络包转发,有点像路由器上的端口映射功能,NAT映射,把一台机器上的包全部转发到目标机器的端口去,openresty的stream功能可以实现类似的功能,如果能网站管理能集成一个端口转发的配置那应该是最简单的实现了吧 |
直接修改配置文件就行,我之前用的nginx,把stream粘过来就能用,可惜要是页面能集成stream就好了,用这个建站就寻思的有个能看的地方,直接修改配置文件感觉不符合使用这个软件的初衷,但是目前这样应该是最好的解决办法了。 |
可以分享一下使用场景和具体的配置,方便我们在后续的实现中参考,谢谢🙏 |
和nginx一样,我在 设置 -> 配置修改 中在http下面添加 |
1Panel 版本
v1.10.7-lts
请描述您的需求或者改进建议
OpenResty 默认也不支持stream,用起来费劲,升级的话也不能升
请描述你建议的实现方案
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: