gluon-firewall: enable conntrack on WAN
Otherwise, the state match doesn't work, not allowing replies to outgoing packets to get in.
This commit is contained in:
parent
d3d22a17d1
commit
14ea7980f6
@ -9,6 +9,7 @@ local c = uci.cursor()
|
||||
local function reject_input_on_wan(zone)
|
||||
if zone.name == 'wan' then
|
||||
c:set('firewall', zone['.name'], 'input', 'REJECT')
|
||||
c:set('firewall', zone['.name'], 'conntrack', '1')
|
||||
end
|
||||
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user