I have a bit special setup where I route all my traffic from one network card of a device via a vpn tunnel ...
I have added route 210 to the config and then use these commands on the cli after each reboot of the router:
ip route add default via 192.168.34.71 dev wg1 table 210
ip rule add from 192.168.47.31 lookup 210 prio 210
Goal is, to have the OpenWrt routing all pakets from 192.168.47.31 via wg1 to 192.168.34.71 without changing source or destination address of the packets.
It works fine so far but I wonder:
Is there a way to do this with luci?
And how is the similar setup for IPv6 (assuming fd47::31 as device address and fd34::71 as target)?
Any help appreciated.