1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Use firewall zone name

This commit is contained in:
Ycarus 2018-06-07 16:53:08 +02:00
parent c9a0334afe
commit bda4d2d5a8

View file

@ -12,7 +12,7 @@ if [ "$(uci -q show network | grep omr6in4)" = "" ]; then
set network.omr6in4.peeraddr=10.0.0.1
set network.omr6in4.gateway=fe80::a00:1
commit network
add_list firewall.@zone[2].network=omr6in4
add_list firewall.zone_vpn.network=omr6in4
commit firewall
EOF
rm -f /tmp/luci-indexcache