It doesn't prefer VPN's routing table when I set my computer's gateway IP address to 192.168.1.2. But It works well when I add my computer's ip address to rule list like ip rule add from 192.168.1.25 lookup cfwg.
How can I use this setup fluently (without adding client's ip address to the rule list). I was considering to add fwmark to secondary ip address 192.168.1.2 then use it in ip rule list but I could not find any source for this.
Both gateway ip addresses (192.168.1.1 and 192.168.1.2) use same interface br-lan as you can see on top of the image. I tried to create another bridge interface br-lan2 and I assigned secondary ip address 192.168.1.2 but it is not getting up. It is failing.
There are some options in MAC VLAN device type but I don't have an idea how they are works.