Determine Broadcast address of kubernetes cluster exposed as NodePort

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:
Cloud being used: bare-metal
Installation method: Deployed through mininkube
Host OS: Windows 11
CNI and version:
CRI and version:
Hello everyone,
I wanted to know if the services running inside a k8s cluster can receive a UDP broadcast message from an external client not part of the k8s cluster.
So I wrote a small test echo server application and exposed it externally to the cluster using a NodePort, and my chat client application was able to send and receive regular UDP packets.
However, is it possible to conflgure the pod or the NodePort to receive UDP broadcasts? Reason is because my client needs to send a UDP broadcast packets which the pod running in my cluster would listen to and then responds with a specific IP-address to the client. Is there a way of configuring this in configuration files?
So when I use 255.255.255.0 as the broadcast ip-address, the pod running in my k8s cluster doesn’t get any packets. Are there other ways of configuring this?
Appreciate your help in this regard.
Thanks,
Asheesh
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.