1
0
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:
Matthias Schiffer 2014-06-13 21:56:32 +02:00
parent cbb2beeae9
commit 7004c12983

View File

@ -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