mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2874] TCP转发支持HTTPS #2292
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#2292
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 @zyppe on GitHub (Mar 28, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2874
Describe the feature request
我不确定这个功能是否支持。有两个地方希望能直接使用HTTPS。我现在域名已经完成了HTTPS签名了,但是FRP管理页面以及使用TCP转发的页面都无法使用HTTPS。
Describe alternatives you've considered
举个例子:虽然管理页面运行在7500端口,但因为我的域名已经进行签名了,按道理可以用https://域名:7500 访问页面的,实际上报错。我也尝试过配置,以失败告终。另外,比如我需要将本地运行在8888端口的网页暴露在公网上,运行在40000端口,实际上用TCP配置就行,http://域名:40000端口 是可以访问,但是不能使用 https://域名:40000 。还请告诉我这个是没有实现还是我配置有问题。
如果可以支持,主要的优势是密码等传输可以在TLS下。另外只需要一个子域名有证书就可以反复复用他的证书。
Affected area
@Becods commented on GitHub (Mar 29, 2022):
dashboard暂时不支持https (应该)
https请本地反代后使用tcp映射出去
@zyppe commented on GitHub (Mar 30, 2022):
后者我不是需要本地的https,而是使用服务器已经有的https
@Becods commented on GitHub (Mar 30, 2022):
frp的tcp转发目前只支持纯转发,https请自行解决
或者使用http2https插件
@MMMMMoris commented on GitHub (Apr 24, 2022):
我的理解是,你的https请求需要本地服务进行解密,而你的web的请求要么是通过nginx要么是apache来解密,你访问https://域名:7500 的请求用什么解密?如果没有的话当然会出错。你可以尝试在nginx里面进行转发服务器设置,也由nginx解密https请求,然后将请求转发到7500端口。以上个人实践成功后的意见。
@MMMMMoris commented on GitHub (Apr 24, 2022):
请注意,你的DNS解析服务还必须支持对7500端口的https解析才能够成功访问,例如clodflare的https解析服务只支持443、8443等端口
@github-actions[bot] commented on GitHub (May 25, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@liov commented on GitHub (May 30, 2022):
他的意思所有流量直接转发到本地解密,不需要中间解密
@github-actions[bot] commented on GitHub (Jul 1, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.