On Mac OS X 10.9.5 I am running boot2docker and would like to temporarily forward a non-privileged UDP port 69 to port 69 of the boot2docker virtual machine. Virtualbox only supports forwarding privileged ports.
I've tried running socat like so:
socat UDP-LISTEN:69,fork,reuseaddr UDP:192.168.59.101:69
It works just fine until I try to make a tftp connection and then it crashes with:
socat[32232] E bind(5, {LEN=16 AF=2 0.0.0.0:69}, 16): Address already in use
Checking netstat -an doesn't show much open as far as UDP:
udp6 0 0 *.58669 *.*
udp4 0 0 *.58669 *.*
The only related thing I could find on the web was not of much help.
How on Mac OS X what is what is a good way to 'mirror' UDP traffic from one port to another?