How do you get all whonix traffic to connect to a proxy after the tor network

I’d like to get all Whonix traffic to connect to a free socks5 proxy after it leaves the Tor network. I’d like to do it in the whonix gateway qube if possible so I don’t have to dedicate more resources to a new qube.