Skip to content
Snippets Groups Projects
Unverified Commit 8ea5810b authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: firewall: allow inbound ICMPv4 ping on local_node

parent 39284f00
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,17 @@ for _, zone in ipairs({ 'wan', 'local_client', 'mesh' }) do ...@@ -36,7 +36,17 @@ for _, zone in ipairs({ 'wan', 'local_client', 'mesh' }) do
end end
-- allow icmp in/out on all relevant zones
uci:section('firewall', 'rule', 'local_client_ICMPv4_in', {
src = 'local_client',
proto = 'icmp',
icmp_type = {
'echo-request',
},
family = 'ipv4',
target = 'ACCEPT',
})
for _, zone in ipairs ({ 'mesh', 'local_client' } ) do for _, zone in ipairs ({ 'mesh', 'local_client' } ) do
uci:section('firewall', 'rule', zone .. '_ICMPv6_in', { uci:section('firewall', 'rule', zone .. '_ICMPv6_in', {
src = zone, src = zone,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment