processone / eturnal

STUN / TURN standalone server
https://eturnal.net
Apache License 2.0
225 stars 22 forks source link

Support UDP proxy protocol #59

Open sando38 opened 7 months ago

sando38 commented 7 months ago

If we deploy eturnal in managed kubernetes environments, we require a loadbalancer service, which forwards the traffic to eturnal. These traffic will not have the real IP address of the connecting clients but from the loadbalancer. Loadbalancer usually support proxy protocol though, therefore, having proxy protocol for UDP transports would solve the problem.

Nodeport is not a suitable solution, because we will always lose the IP addresses here as well, because the connecting IP address will be the kubernetes local gateway.