routing by userid
by Skaperen from LinuxQuestions.org on (#58972)
i have been told this is possible by someone who clearly has no idea how so i have not become aware how and am not even sure it can be done. i tried a few searches on google an duckduckgo but just get basic networking info. what i want to do is route by userid. that is, regardless of the destination IP, i want traffic to go by way of a specific gateway for a particular userid. i have about 5 VPNs running to various places and about 18 logged in userids and want specific userids to use a specific VPN. how would something like this be set up?

