mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix
This commit is contained in:
parent
f9d813c170
commit
383583d97c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ EOF
|
||||||
# set network.glorytun.netmask=255.255.255.0
|
# set network.glorytun.netmask=255.255.255.0
|
||||||
# set network.glorytun.gateway=10.0.0.1
|
# set network.glorytun.gateway=10.0.0.1
|
||||||
|
|
||||||
if [ "$(uci -q show firewall | grep vpn)" = "" ]; then
|
if [ "$(uci -q show firewall | grep redirect_vpn_to_lan)" = "" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
add firewall zone
|
add firewall zone
|
||||||
set firewall.@zone[-1].name=vpn
|
set firewall.@zone[-1].name=vpn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue