Separate routing for a service

Colleagues, tell me how to make a separate default routing for a specific daimon in OWRT?

I want to run a separate proxy server for guest users, and have it send all its traffic to a separate provider via his network interface.

Can I make own routing table for one daemon?


Look at policy based routing.


You could match with uidrange from the ip_rules wiki page that @lleachii posted.

1 Like

Did I understand you correctly, if I want to use this mechanism, then I need to run a guest proxy from another uid?

If it is running by default as root, then yes.