Skip to content
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 Request] 希望可以支持wss转发 #4627

Closed
1 of 11 tasks
gladtoeatu opened this issue Jan 8, 2025 · 2 comments
Closed
1 of 11 tasks

[Feature Request] 希望可以支持wss转发 #4627

gladtoeatu opened this issue Jan 8, 2025 · 2 comments

Comments

@gladtoeatu
Copy link

Describe the feature request

内网开启了一个带ssl证书(mkcert生成的自签名)的wss端口27000,我通过frp将这个端口映射到了远端的27000端口,远端的27000端口又是用域名a.b.com/wss反代的,最终结果希望是可以用wss:/a.b.com/wss访问本地的27000端口的服务。目前这样访问会报400错误,如果把本地的wss改为ws(不要证书),是可以正常访问的

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@filwu8
Copy link

filwu8 commented Jan 15, 2025

你可以换一种思路,frp要结合 apache来用,内网机器27000端口用frp的 stcp 映射给 公网服务器,公网服务器用apche 升为wss
你内网的机器不用ssl'证书了。通过frp的stcp来确保 内网 和公网机器之间的链路安全。
image

Copy link

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants