I just wondered what's the best way to socksify an application, e.g. to tell it to use a SOCKS5 proxy. I see redsocks is available in OpenWrt but that's a bit heavyweight as I only need a single application to be redirected, and I couldn't get it working anyway. Then I tried socksify and that didn't work either, that problem seems to be described here.
Then of course, you setup redsocks config to point to your proxy, and accept connection on the <redsocks port>
I am using Dante proxy (running external to OpenWrt).
I would have preferred to get intercept for just the ssh application. I'm not sure whether the problem with socksify + ssh is about the libc used by ssh or the problem is with socksify, but this is working for now, so...