Roman Arutyunyan
April 26, 2017 11:56AM
On Wed, Apr 26, 2017 at 09:42:22AM -0400, akb-nginx wrote:
> Thanks for your responce. I think I am out of luck then as far as proxying
> UDP openvpn is concerned. Any particular reason that Nginx took this
> approach instead of how very basic load balancers like "Pen" etc do it.
>
> I was able to proxy using simpler tools like pen and nc but a more loaded
> Nginx fails for the reasons you mentioned.

When operating in multi-worker mode, a UDP packet from a client may be received
by any worker. Using SO_REUSEPORT can help with that on Linux, but not always.
Proxying becomes complicated if every packet of a UDP packet sequence is
received by a different worker.

--
Roman Arutyunyan
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

UDP reverse proxying for OpenVPN isn't working using Nginx streams

akb-nginx April 26, 2017 08:32AM

Re: UDP reverse proxying for OpenVPN isn't working using Nginx streams

Roman Arutyunyan April 26, 2017 09:34AM

Re: UDP reverse proxying for OpenVPN isn't working using Nginx streams

akb-nginx April 26, 2017 09:42AM

Re: UDP reverse proxying for OpenVPN isn't working using Nginx streams

Roman Arutyunyan April 26, 2017 11:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
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