how do i mark routing for proxy connections?

on the router, the proxy is running, the proxy uses default route for internet connection, i wish to reroute it to another marked route, how to do so? prerouting mangle doesn’t work.

anyone help please?

Use the ‘output’ chain.