mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4782] host parse error, real ip can't parse #3772
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#3772
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 @Lioncky on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4782
Bug Description
example.com dns = 207.55.123.1
hk.example.com dns = 8.12.11.7
frpc设置http 880 自定义域 hk.example.com
访问hk.example.com:880/api 正常 但"X-Forwarded-For" =[]string len: 1, cap: 1, ["207.55.123.1 "]
子域名和主域名dns不相同 应该配置什么就是什么 主域名完全不相关也把ip传过来了
配置会报错
start error: '.' and '*' are not supported in subdomain使用宝塔反代127.0.0.1:880直接报错404都不带解析过去的 第一次用这个 (ngix问题)proxyproto 配置比如go的可以放文档里
tcp测试了没问题 http我是走的ngix反代 XRIP 也是可以获取到的
走反代的情况会对比host host必须设置proxy_host 这个强校验是否可以关掉?
ngrok随手就配好了 这个真的不要太复杂 奇怪的姿势太多了点
frpc Version
0.51.3
frps Version
0.51.3
System Architecture
linux/amd64
Configurations
Logs
Steps to reproduce
OpenWRT Docs 感觉不太完整 找问题太费劲了
@Lioncky commented on GitHub (May 3, 2025):
都配置好了 没啥问题 说的就是个小bug 感谢项目组