In this scenario, the client does:
ssh -X -f -L 3333:localhost:3333 user@server gnome-terminal
socat -v -d -d udp4-listen:53,reuseaddr,fork tcp:localhost:3333
Server runs DNS on 127.0.0.3 and does:
socat tcp4-listen:3333,reuseaddr,fork UDP:127.0.0.3:53
Tiger complains that the listeners listen on every interface.
I would be cool to be able to do:
client: socat -v -d -d udp4-listen:localhost:53,reuseaddr,fork tcp:localhost:3333
server: socat tcp4-listen:localhost:3333,reuseaddr,fork UDP:127.0.0.3:53
HTH. --m--