mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #127] 如何把客户IP地址转发给frp后面的网站? #71
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#71
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 @mbj2014 on GitHub (Oct 8, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/127
因为是代理机制,所以有没有什么办法可以让后台程序可以拿到客户端IP?
@fatedier commented on GitHub (Oct 10, 2016):
目前还不能,不过 http 的话可以考虑通过 header 字段的 X-Forwarded-For 和 x-real-ip 来传递这些信息。
@yydcool commented on GitHub (Feb 16, 2017):
越来越像Nginx了
@fatedier commented on GitHub (Feb 17, 2017):
应该是越来越像一个反向代理了。
@xhinker commented on GitHub (Mar 13, 2017):
@fatedier http 拿不到ip 地址,那么tcp 呢? response 是怎么知道 返回给那个ip 地址的呢