Show Status >Routes
Main table:
D    XXX.XXX.199.137   wan1         80
D    XXX.XXX.199.141   dmz         80
   YYY.YYY.165.26   core   (Iface IP)   0
   YYY.YYY.165.27   core   (Iface IP)   0
   YYY.YYY.165.28   VLANDMZWAN2      0
   YYY.YYY.165.29   core   (Iface IP)   0
   XXX.XXX.199.138   core   (Iface IP)   0
   XXX.XXX.199.139   core   (Iface IP)   0
   XXX.XXX.199.142   core   (Iface IP)   0
   192.168.100.10   core   (Iface IP)   0
   10.24.76.10   core   (Iface IP)   0
   127.0.0.1   core   (Iface IP)   0
   XXX.XXX.199.140   dmz         60
   XXX.XXX.199.136/29   switched   80
   192.168.100.0/24   VLanWiFi   100
   10.24.76.0/22   lan         100
   224.0.0.0/4   core   (Iface IP)   0
M    0.0.0.0/0   wan1   XXX.XXX.199.137   80
   0.0.0.0/0   wan2   YYY.YYY.165.25   90
Wan2ReturnTraffic table(ordering First):
0.0.0.0/0   wan2   YYY.YYY.165.25      60
I have routing rule:
ReturnRouteWan2      wan2/all-nets  any/all-nets    all_services   
>I'm asking because I want to have 2 different VPN user groups with different lan access
Your way is possible
But you can assign address for each user statically and make IP rules on the base of user groups (source address)
But I want to have one static user db and second radius. So I have to use two seperate servers.
>Could You write a little bit more ?
What do you want to know more? As fact it's solution for processing of incoming packets from each wan interface separately
So in my case there would be 3 routing tables? Main +Returnwan2(only) +returnwan1(only) ??