Docker Community Forums

Share and learn in the Docker community.

Firewall UDP traffic reach inside Container via Docker Gateway Instead of Firewall IP

Hi ,
I am facing issue in container , in which application is running and getting UDP traffic from External Firewalls.
Ideally traffic should receive inside the container via Firewall IP But after restarting container , container receives traffic via Docker gateway IP instead of Firewall IP .

Example: is firewall IP and is docker gateway IP .
Now , If container is in running mode and if I start sending data to container , container starts receiving UDP traffic via IP which is firewall IP
But If , we restart the container in between , then container start receiving UDP traffc via IP which is docker gateway IP.

Due to this docker gateway IP inside container packets are getting discarded .

Please suggest a way forward.