I have 2 ISP, what I would like to do is ISP 1 in port 1 will be the default and can be used by all. while ISP 2 in Port 2 will be dedicated for online games like CS:GO, dota 2, LoL, Wild Rift, ML and can only be used by specific mac address or devices like computer and mobile phones.
Much easier if you can dedicate a specific subnets, vlans, to use ISP 2. (no mangling required)
If you want to do it by individual IIP addresses its harder but doable (mangling required)
Dont recommend trying stuff by mac address gets complex.
The first method allows some flexibility in that all traffic will go to the default ISP, unless someone logs into the router within a specific subnet (s) or vlan(s).
For example if I have two ethernet jacks by my computer , I can use the upper for regular work ISP1, and the lower jack for gaming.
What do I mean.
Well This is the regular setup
MAIN ISP route distance=5
SECONDARY ISP route distance=10
Based on the above routes all outbound traffic will go out ISP1
Now add a third route for the Secondary ISP
SECONDARY ISP route distance=10 ROUTING MARK=gamers
Now add a route rule.
Source address=subnet_of_your choosing such as 192.168.10.0/24
[OR]
interface=vlan20 (as an example)
ACTION: Lookup Only in Table
TABLE: gamers
In this way telling the router any traffic coming from source subnet or vlan interface should go out ISP1
You can make more rules for each subnet or vlan that this applies too…
No mangling rules required.