I have freeradius inside a docker container (in docker-machine on osx) that's sending a UDP packet on a particular port (1812). My logs inside the container show sending on 1812, but when I sniff the packet on the host (OSX) it's on some random UDP port.
Is there a way to control the outgoing port in docker-machine? ie -> container sends on 1812 also leaves the host on 1812.
Should I be using virtualbox port fowarding for this?