Redirection thru redsocks connecting but not responding

Solution 1:

I replaced the redsocks with transocks and now I can use one config to both "http" and "https" redirect (in my IP table I redirect all the traffic to the transocks)

https://github.com/cybozu-go/transocks