frp icon indicating copy to clipboard operation
frp copied to clipboard

external IP forward UDP

Open lootoos opened this issue 3 years ago • 5 comments

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

lootoos avatar Aug 10 '22 21:08 lootoos

PRs are welcome.

fatedier avatar Aug 11 '22 02:08 fatedier

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

lootoos avatar Aug 11 '22 02:08 lootoos

Anyone needs this feature can contribute to this project.

fatedier avatar Aug 11 '22 02:08 fatedier

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

Becods avatar Aug 11 '22 04:08 Becods

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?

lootoos avatar Aug 11 '22 04:08 lootoos

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

github-actions[bot] avatar Sep 11 '22 00:09 github-actions[bot]