mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3207] 客户端获取HTTP_X_FORWARDED_FOR并非用户的IP #2574
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#2574
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 @flystarme on GitHub (Dec 13, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3207
Bug Description
客户端获取HTTP_X_FORWARDED_FOR并非用户的IP,而是frp服务端的IP,这个是bug还是我配置不对呢
frpc Version
0.45
frps Version
0.45
System Architecture
linux/amd64
Configurations
[common]
bind_port = 7200
vhost_http_port = 80
vhost_https_port = 443
dashboard_addr = 0.0.0.0
dashboard_port = 7800
dashboard user and passwd for basic auth protect
dashboard_user = test
dashboard_pwd = test2234
token = iL43243421432rew
上面为服务端配置
下面为客户端配置
[common]
server_addr = 111.111.11.11
server_port = 7200
token = iL43243421432rew
[synology]
type = http
local_ip = 192.168.10.20
local_port = 80
custom_domains = www.zhngsd.me
use_encryption = true
use_compression = true
Logs
No response
Steps to reproduce
No response
Affected area