Welcome! Log In Create A New Profile

Advanced

Re: Nginx TCP/UDP Load Balancer

Francis Daly
September 01, 2020 08:14AM
On Mon, Aug 31, 2020 at 06:15:00AM -0400, Dr_tux wrote:

Hi there,

> 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.

I don't know the details of a turn server; but depending on the
overall design of your solution, it is possible that proxy_bind
(http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html#proxy_bind)
will be useful.

You will probably want to make sure that you understand how each packet
will flow from original-client to end-server and back.

You apparently have a working system using AWS ELB, so perhaps watching
the traffic there will show you how it needs to be in order to work.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx TCP/UDP Load Balancer

Dr_tux August 31, 2020 06:15AM

Re: Nginx TCP/UDP Load Balancer

Francis Daly September 01, 2020 08:14AM

Re: Nginx TCP/UDP Load Balancer

Dr_tux September 01, 2020 04:47PM

Re: Nginx TCP/UDP Load Balancer

Francis Daly September 01, 2020 06:22PM

Re: Nginx TCP/UDP Load Balancer

Dr_tux September 02, 2020 01:08AM

Re: Nginx TCP/UDP Load Balancer

Francis Daly September 02, 2020 03:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready