Greetings, dear ones
In Office, a router that has 3 fixed internets, in 3 user categories with different IP ranges that connect to different Virtual Wireless routers.
I have a VPN server with a public IP, which is connected to the office router by the VPN protocol.
I want to implement the scenario of separating internal and external traffic for each user group by its own VPN path related to the Internet.
That is, I want to create 3 routes (VPN) different from the existing internets from the Office router to the external VPN server.
In single internet mode, the problem is solved with a VPN, a Default Route and a Mangle.
But when we have several internets, several routing tables, several VPNs, and several mangles are needed. I create three VPNs by creating routing/table/add and mangles.
But the problem that exists is that all the traffic of 3 different user ranges from VPN is related to itself, but from a fixed internet (main).
How to tell the router to remove the traffic of each user category from the VPN path with its own internet.
If possible, please advise.
Thanks