We have UDP file transfer server with web UI, and have 3 backend servers serving the same.
want to load-balance those servers with OPNsense plugins Nginx and Haproxy.
My question is:
Can I use TCP and web server load-balancing with Haproxy and nginx only for UDP load-balancing. Will combination of these 2 work. How do I configure the same?
I don't see why not.
but why not to use nginx for both?
More familiar with Haproxy. But as it doesn't allow UDP load-balancing so for that purpose only will be using Nginx.
got it. there should be no problem with nginx. no http-server - no port usage)