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

Fix omr-6in4 add in VPN firewall zone

This commit is contained in:
Ycarus 2018-06-09 19:29:02 +02:00
parent 286c6e25ed
commit 9c3ed6acc9

View file

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