config zone option name 'lan' option network 'lan' option input 'ACCEPT' option output 'ACCEPT' option forward 'REJECT' # 改成 ACCEPT
设置静态路由
1 2 3 4 5 6 7 8
uci add network route uci set network.@route[-1].interface=lan uci set network.@route[-1].target=192.168.11.0 uci set network.@route[-1].netmask=255.255.255.0 uci set network.@route[-1].gateway=192.168.2.9 uci commit network