mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2995] Getting Real IP Addresses for Port Forwarding or P2P #2394
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#2394
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 @EMREOYUN on GitHub (Jun 27, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2995
Describe the feature request
While using port forwarding with frp, all connections reach to client shows as came from localhost, not from real address. Is it possible to enable real addresses?
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Jun 27, 2022):
https://github.com/fatedier/frp#get-real-ip
@EMREOYUN commented on GitHub (Jun 27, 2022):
Doesn't work on TCP connections & clients also receive unsupported protocol errors and can't connect to the forwarded server as well.
@Becods commented on GitHub (Jun 28, 2022):
You need to make sure that the server software you are using supports Proxy Protocol and turn it on.
@EMREOYUN commented on GitHub (Jun 28, 2022):
Alright, it seems we need to develop an implementation for the server as a plugin. Thanks for the answer.