mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
netmode: disable firewall for l2 netmode
since the intent for l2 netmode is to accept all traffic, hence, disable firewall on top of zone lan's input/output/forward being ACCEPT/ACCEPT/ACCEPT Please note: when firewall is disabled, it esentially set's input to ACCEPT, it does not stop or disable fw3.
This commit is contained in:
parent
2a9012763e
commit
72f6521710
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ l2_network_config() {
|
|||
# Update CWMP Agent WAN Interface
|
||||
uci -q set cwmp.cpe.default_wan_interface="lan"
|
||||
uci -q commit cwmp
|
||||
|
||||
# disable firewall
|
||||
uci -q set firewall.globals.enabled="0"
|
||||
uci -q commit firewall
|
||||
}
|
||||
|
||||
network_mode="$(fw_printenv -n netmode 2>/dev/null)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue