[GH-ISSUE #3054] external IP forward UDP #2443

Closed
opened 2026-05-05 13:34:16 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @lootoos on GitHub (Aug 10, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3054

Describe the feature request

The frp server will take the external IP of the connected player and transfer it to the frp client so that the players have the correct IP on the Minecraft game server

The function will be useful for game servers\various sites.

Why can't implement Ip forward for UDP protocol?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @lootoos on GitHub (Aug 10, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3054 ### Describe the feature request The frp server will take the external IP of the connected player and transfer it to the frp client so that the players have the correct IP on the Minecraft game server The function will be useful for game servers\various sites. Why can't implement Ip forward for UDP protocol? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [X] Server Plugin - [X] Extensions - [X] Others
gitea-mirror 2026-05-05 13:34:16 -06:00
Author
Owner

@fatedier commented on GitHub (Aug 11, 2022):

PRs are welcome.

<!-- gh-comment-id:1211484248 --> @fatedier commented on GitHub (Aug 11, 2022): PRs are welcome.
Author
Owner

@lootoos commented on GitHub (Aug 11, 2022):

I don't understand what you're talking about, I'm mostly Russian

<!-- gh-comment-id:1211490237 --> @lootoos commented on GitHub (Aug 11, 2022): I don't understand what you're talking about, I'm mostly Russian
Author
Owner

@fatedier commented on GitHub (Aug 11, 2022):

Anyone needs this feature can contribute to this project.

<!-- gh-comment-id:1211492722 --> @fatedier commented on GitHub (Aug 11, 2022): Anyone needs this feature can contribute to this project.
Author
Owner

@Becods commented on GitHub (Aug 11, 2022):

Are you a be player?

Currently, the proxy protocol of frp only supports tcp (I guess so).

So you need to use other methods to get the player's ip.

For example DSR or IP address pass-through.

But I don't know much about this, you might google for information on it

<!-- gh-comment-id:1211539994 --> @Becods commented on GitHub (Aug 11, 2022): Are you a be player? Currently, the proxy protocol of frp only supports tcp (I guess so). So you need to use other methods to get the player's ip. For example DSR or IP address pass-through. But I don't know much about this, you might google for information on it
Author
Owner

@lootoos commented on GitHub (Aug 11, 2022):

Are you a be player?

Currently, the proxy protocol of frp only supports tcp (I guess so).

So you need to use other methods to get the player's ip.

For example DSR or IP address pass-through.

But I don't know much about this, you might google for information on it

I am the creator of the server.
all players on the server have Ip 10.228.228.1 - to avoid this, add support the proxy protocol or support IP forward in frp.
for example nginx supports proxy_protocol:https://imgbb.com/FnpFhPk.
DSR or IP address pass-through. - are there articles on setting this up?

<!-- gh-comment-id:1211549970 --> @lootoos commented on GitHub (Aug 11, 2022): > Are you a be player? > > Currently, the proxy protocol of frp only supports tcp (I guess so). > > So you need to use other methods to get the player's ip. > > For example DSR or IP address pass-through. > > But I don't know much about this, you might google for information on it I am the creator of the server. all players on the server have Ip 10.228.228.1 - to avoid this, add support the proxy protocol or support IP forward in frp. for example nginx supports proxy_protocol:https://imgbb.com/FnpFhPk. DSR or IP address pass-through. - are there articles on setting this up?
Author
Owner

@github-actions[bot] commented on GitHub (Sep 11, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1242826935 --> @github-actions[bot] commented on GitHub (Sep 11, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2443
No description provided.