ProtocolSupport / ProtocolSupportPocketIssues

Issue-tracker for ProtocolSupport pocket edition.
6 stars 0 forks source link

[PSB] PE players have the wrong IP when using IP Forward with PSBungee #51

Closed Artuto closed 5 years ago

Artuto commented 5 years ago

Basically, when using PSPE with PSB the backend server gets the Bungee IP, which can make plugins do weird things.

IMO it should be marked as HIGH priority.

MrPowerGamerBR commented 5 years ago

Update: IP forwarding does work fine, the issue only happens if the BungeeCord server is behind NAT. (example: If BungeeCord is hosted within a container)

When the Bungee server is behind NAT, BungeeCord uses the local IP as the player's IP.

I guess this also affects ProtocolSupportPE itself, so I think the issue lies somewhere else not in PSPE or PSBungee.

https://i.imgur.com/Y2jqOW9.png https://i.imgur.com/ZCSgkvT.png

Artuto commented 5 years ago

Fixed in my PSB PR.