mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4627] [Feature Request] 希望可以支持wss转发 #3654
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3654
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gladtoeatu on GitHub (Jan 8, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4627
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
@filwu8 commented on GitHub (Jan 15, 2025):
你可以换一种思路,frp要结合 apache来用,内网机器27000端口用frp的 stcp 映射给 公网服务器,公网服务器用apche 升为wss

你内网的机器不用ssl'证书了。通过frp的stcp来确保 内网 和公网机器之间的链路安全。
@github-actions[bot] commented on GitHub (Jan 30, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.