I am running some services on some different Docker containers. As a simple example:
docker run -it -p 123:123/udp ubuntu /bin/bash
this -p 123:123/udp
causes that all incomming connections to my container to have the IP address of Docker container's host and NOT the source's real IP (I don't know if it is important to mention that I am using udp).
How can I make the incomming connections to have their real source IP address?
That's because docker uses nat by default for networking. You should start your docker in bridge mode. See docker bridge