Routing All Traffic Through Arti SOCKS Proxy

I recently compiled and ran Arti (the new implementation of Tor) on my Linux machine, and I successfully created a SOCKS proxy using the arti proxy command.

In the past, when I was using cTor, I was able to route all my traffic through a specified port using the trans_port option via iptables. I would like to achieve a similar setup with Arti.

Could anyone guide me on how to route all traffic through the SOCKS proxy created by Arti? Any tips or configurations that I need to be aware of would be greatly appreciated!