How could I passthrough all the LAN network traffic through a socks5 proxy

Hello everyboday I have a MT1300 router, I could configure the system to make all the LAN traffice passthrough the socks5 proxy before it go to WAN port