mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5159] [Feature Request] 更便捷的内网直接访问 #4035
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#4035
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 @fingerart on GitHub (Feb 5, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5159
Describe the feature request
首先,感谢frp项目帮助我在没有公网IP的情况下便捷的访问内网服务❤️。
我有一个场景请教一下是否有更便捷的方式实现。当我在外面的时候通过域名(https)访问家里的服务,但回到家的时候想不改变任何地址和端口(内网有DNS服务器)可以直接走内网,不通过公网的中间服务器,以加快访问速度。目前我能想到的实现方式有:
请问除了以上两种外还有其它方式能实现吗?
Describe alternatives you've considered
No response
Affected area
@wuai1024 commented on GitHub (Feb 15, 2026):
太复杂了,我简单来说这个吧。
即可无感使用,在外使用内网穿透服务,在家自动使用内网服务。
@fingerart commented on GitHub (Feb 16, 2026):
内网服务基本上都没配https,我想大部分使用场景都不会直接配置到内部服务上吧?最便捷的是统一配置到nginx之类的代理上,另外端口也不可能专门跟公网一致。
@wuai1024 commented on GitHub (Feb 19, 2026):
方法我已经说了,我也是那样做的,我的 https 都在内网环境,外面只需要端口映射就行,我有公网,也有 frps。
@fingerart commented on GitHub (Feb 20, 2026):
@wuai1024 谢谢你的建议。
我尝试了内部再创建一个frps,之前的frpc使用--config-dir同时连接本地和远程服务,能达到我的预期