title: Forward UDP with ssh tunnel using socat and PuTTy
body: <p>i'm trying to use UDP protocol, with ssh tunnel.
  I have these 2 machine, with these configurations:</p>
  
  <p>1) Workstation a with windows 7, with putty and socat with cygwin.</p>
  
  <p>2) RaspberryPi with raspbian.</p>
  
  <p>Just for test (i need UDP for other programs, but if this not work is useless test other things), i'm trying to use from Workstation the DNS server of my router that's behind RaspberryPi.</p>
  
  <p><strong>After googling around and seen a lot of examples i have done this:</strong></p>
  
  <p>1) I use PuTTy to connect Workstation to RaspberryPi, and open on Workstation local TCP port 50053 and forwarded it to RasberryPI local TCP 50053. (L50053 to 127.0.0.1:50053)</p>
  
  <p>2) On my cygwin shell on Workstation i run:
  <strong>socat udp-recvfrom:53,reuseaddr,bind=127.0.0.1,fork tcp:127.0.0.1:50053</strong></p>
  
  <p>3) On my RaspberryPI i run:
  <strong>socat tcp4-listen:50053,reuseaddr,fork,bind=127.0.0.1 UDP:192.168.1.1:53</strong> (tested even with 8.8.8.8:53)</p>
  
  <p>I have seen in every guide that this must work, but, well for me doesn't.</p>
  
  <p>Any suggestion?</p>
  
  <p>There is any way to see if socat is working right?</p>