coturn / coturn

coturn TURN server project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support UDP proxy protocol

hakarim740-com-ra opened this issue · comments

If we deploy coturn in managed kubernetes environments, we require a loadbalancer service, which forwards the traffic to coturn. 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.

Hi @hakarim740-com-ra

That's a great suggestion! But maintainer team does not have the capacity to develop it and we welcome contributions.

I have run coturn in managed k8s in the past but having LB was not a requirement. In your case, code changes definitely required though not huge I expect - there is already proxy support for TCP --tcp-proxy-port