Nginx TCP/UDP Load Balancer

Dr_tux nginx-forum at forum.nginx.org
Mon Aug 31 10:15:00 UTC 2020


Hi, I have 2 turn server. I would like to use Nginx for load balancer them.
But I have a problem. When I use the AWS ELB it works perfectly. If I try
with Nginx, I got an error. 

Remote addr should be client_ip. Nginx, send itself IP address to coturn
server. 

There are 2 output from AWS ELB and Nginx

AWS Output:

13: handle_udp_packet: New UDP endpoint: local addr coturn_ip:3478 coturn,
remote addr client_ip:54203 

Nginx Output:

96: handle_udp_packet: New UDP endpoint: local addr coturn_ip:3478, remote
addr nginx_ip:59902

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289231,289231#msg-289231



More information about the nginx mailing list