Say if I have a process that I want to redirect all the traffic to a proxy while not effecting other processes (let's say if I run multiple node applications and I only want one of them to go through a proxy). Is it possible? How?
If you haven't started this process yet, or can restart it, you can use
socksify to make its network I/O go through a SOCKS server.