UDP Load balancing - [Solved]

deprito nginx-forum at forum.nginx.org
Wed Apr 22 01:22:35 UTC 2020

Hello @arigatox,

do you mind share with me, how to LB UDP protocol like wireguard?

My nginx.conf 
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

stream {

upstream syslog_udp {
	server x.x.x.x:51820;
	server x.x.x.x:51820;

server {
	listen 51820 udp;
	proxy_pass syslog_udp;
	proxy_responses 0;


	worker_rlimit_nofile 1000000;

events {

	worker_connections 20000;


my nginx :
nginx version: nginx/1.16.1

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

More information about the nginx mailing list