OpenWRT Config allowDefault


I’m setting up an OpenWRT router with ZeroTier. I’m trying to route all traffic through my VPN by following docs:

I have managed to work it. But I have to manually ssh into the router and add the setting
zerotier-cli set <network-id> allowDefault=1

for zerotier to accept the default routing every time I boot up.

Is there a way to persist this in any config file? I tried to uci it but I’m not able to make it work:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.