fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
86.46k stars 13.37k forks source link

external IP forward UDP #3054

Closed lootoos closed 2 years ago

lootoos commented 2 years ago

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

fatedier commented 2 years ago

PRs are welcome.

lootoos commented 2 years ago

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

fatedier commented 2 years ago

Anyone needs this feature can contribute to this project.

Becods commented 2 years ago

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

lootoos commented 2 years ago

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?

github-actions[bot] commented 2 years ago

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