mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-18 05:03:58 +02:00
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
cbb2beeae9
commit
7004c12983
|
@ -9,6 +9,7 @@ local c = uci.cursor()
|
||||||
local function reject_input_on_wan(zone)
|
local function reject_input_on_wan(zone)
|
||||||
if zone.name == 'wan' then
|
if zone.name == 'wan' then
|
||||||
c:set('firewall', zone['.name'], 'input', 'REJECT')
|
c:set('firewall', zone['.name'], 'input', 'REJECT')
|
||||||
|
c:set('firewall', zone['.name'], 'conntrack', '1')
|
||||||
end
|
end
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user