Skip to content
Snippets Groups Projects
Commit 14ea7980 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-firewall: enable conntrack on WAN

Otherwise, the state match doesn't work, not allowing replies to outgoing
packets to get in.
parent d3d22a17
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment