mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3591] [Feature Request] Restore Original IP address using iptables/masquerade #2867
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#2867
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 @xorweak on GitHub (Aug 29, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3591
Describe the feature request
Hey there,
So, I'm using this reverse proxy to kinda "mask" the real IP address of a game server, and it's working like a charm. But, there's this one little hiccup: the players' IP addresses show up as "127.0.0.1" instead of their actual IPs.
Any idea what might be causing this glitch? Is there a way to get back the players' original IP addresses? I used to pull this off before with a VPN Server + iptables combo, but man, the connection was terrible. Tons of lag inside the server, which totally killed the gaming experience.
Not sure if this is tied directly to the reverse proxy setup. If there's a different approach to sort this out without messing with the proxy, could someone point me in the right direction?
Thanks a ton.
Describe alternatives you've considered
Affected area
@fatedier commented on GitHub (Aug 30, 2023):
If your service is using TCP protocol, you can refer to the documentation at https://github.com/fatedier/frp#proxy-protocol to enable Proxy Protocol and obtain the real IP.
If it is UDP, currently it is not supported, but there is a possibility of support in the future.
iptablesreleated feature is not used.@github-actions[bot] commented on GitHub (Sep 30, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.