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

Add option to restrict or not to LAN fw zone in interface, disabled by default now

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-23 18:00:31 +01:00
parent 8bb06c763b
commit 23556274f0
3 changed files with 15 additions and 1 deletions

View file

@ -153,7 +153,7 @@ set_lan_ips() {
}
config_load network
config_foreach restart_omrtracker interface
config_foreach set_lan_ips interface
[ "$(uci -q get openmptcprouter.settings.restrict_to_lan)" = "1" ] && config_foreach set_lan_ips interface
uci -q commit shadowsocks-libev.ss_rules
uci -q commit shadowsocks-rust.ss_rules
multipath_fix() {