After investigating this for a while, I found out there's a misunderstanding:
you are trying to use the policy routing feature (ip rule) instead of the firewall feature (which is basically a wrapper to iptables), but the firewall feature is not supported in netjsonconfig yet (you can use the advanced mode and use the custom syntax to achieve what you need <http://netjsonconfig.openwisp.org/en/stable/backends/openwrt.html#all-the-other-settings> ). If you take a look at the documentation for ip rules in /etc/config/network you will see that srcand dest are expected to be "*subnet to match (CIDR notation)*". That said, it's still not good that the system fails with an exception, so I will address that issue for now. -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
