Just checked the sources of bash 4.2
: the proxy support for /dev/tcp
and /dev/udp
is not implemented.
The only option you have is to start a copy of bash
with tsocks library preloaded (see man tsocks
for details)
So, you would also need to set up a socks proxy server.