mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2408] http映射URL变成访问内网IP地址 #1915
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#1915
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 @galaxyskyknight on GitHub (May 21, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2408
版本0.36.2一条普通的http映射,服务器8080 子域名映射内网一台netgear 6150的管理后台页面80端口,勾选加密和压缩。每次在公网用http://子域名:8080访问的时候,浏览器就变成了跳转访问http://10.0.0.3:80了,10.0.0.3是内网netgear的内部IP(我在公网,应该不是dns问题,感觉是frp吧10.0.0.3返回给了浏览器),结果当然是无法打开访问失败了。 请问是什么原因,如何解决?同一个内网下其他的设备同样的http映射又是好的,就这台设备特殊。
@galaxyskyknight commented on GitHub (May 23, 2021):
谁遇到相似问题吗
@fatedier commented on GitHub (May 24, 2021):
这种一般是前端的问题,前端返回的路径可能就是绝对路径。
@galaxyskyknight commented on GitHub (May 24, 2021):
那我要怎么弄,穿透不就是解决这个问题的吗,frps上有没有什么workaround?
@fatedier commented on GitHub (May 24, 2021):
将你的内网服务的路径修改为相对路径即可,或者设置成你通过外网访问的 Host。这个具体和你的服务相关,frp 不会修改这个中间的内容。
@github-actions[bot] commented on GitHub (Jul 9, 2021):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.