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:
parent
286c6e25ed
commit
9c3ed6acc9
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ if [ "$(uci -q show network | grep omr6in4)" = "" ]; then
|
|||
set network.omr6in4.peeraddr=10.255.255.1
|
||||
set network.omr6in4.gateway=fe80::a00:1
|
||||
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
|
||||
commit firewall
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue