TCP&UDP Proxy issue

Hello.

I have a problem trying to establish a NGINX Proxy for FiveM server using NGINX-Stream.

I use the following configuration, which in fact normally should be enough for TCP and UDP:

stream {
    upstream twh_kunde11-fivem-server {
        server IP:30120;
    }

    server {
        listen 30120;
        proxy_pass twh_kunde11-fivem-server;
    }

    server {
        listen 30120 udp;
        proxy_pass twh_kunde11-fivem-server;
        
    }
}

I have tested it for servers on different other games and works fine.

When trying to connect with FiveM, it does establish a connection showing in console, but it is not able to do UDP it seems.

if using Linux system for proxy check firewall, switch it off as a test to see if it’s that. Also possible it’s nginx itself been blocked by firewall ran into it before myself once

sudo ufw allow ‘Nginx HTTP’ was the fix for me that day

Port wize I be using
sudo ufw allow 30120/tcp
sudo ufw allow 30120/udp

Post your server.cfg