Welcome! Log In Create A New Profile

Advanced

Re: How to configure nginx fort UDP and TCP

Francis Daly
February 15, 2021 06:18PM
On Tue, Feb 09, 2021 at 04:43:28AM -0500, bibi93 wrote:

Hi there,

> I would like to put 4 server behind one NGINX server. these servers are not
> WEB sites but for deployment of packages, supervision, antivirus. therefore
> we do not access sites. So these are servers that discuss with other servers
> by agent bias under TCP and UDP ports.

It sounds like you may want to use the nginx "stream" module, which has
documentation and some examples at

http://nginx.org/en/docs/stream/ngx_stream_core_module.html

> Is it possible to make these agents call an alias to a public IP which would
> be the NGINX server which would dispatch the flows according to the alias
> called to the servers in question only with the defined ports

Note that you will probably need to distinguish your back-end servers
by TCP or UDP port, because the nginx server will not (in general)
know which hostname the client used originally; nginx will know which
IP address and port it connected to.

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

How to configure nginx fort UDP and TCP

bibi93 February 09, 2021 04:43AM

Re: How to configure nginx fort UDP and TCP

Francis Daly February 15, 2021 06:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready