Hi everyone,

I would understand if it's possible, and if yes how, to convert the
following rules to OpenWRT UCI format using the "rule" directive:

ip rule add to all table 111 pref 4
ip rule add from 10.0.0.1/24 lookup 113 pref 32768
ip rule add iif lo lookup 113 pref 32768
ip rule add from all lookup 112 pref 32769

I also have a default route to add to a spefic table, I guess for this
one I will have to use the "route" directive:

ip route add default via 10.0.0.1 dev br-lan table 113

I'm just not sure how and I will like to familiarize more with the UCI
way of doing this.

Thanks
Federico
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to