Explorar o código

gluon-core: firewall: move VXLAN rules to the top

Evaluating these rules before all the ICMPv6 rules improves wired mesh
throughput measurably.
Matthias Schiffer %!s(int64=6) %!d(string=hai) anos
pai
achega
e54b37d835

+ 1 - 0
package/gluon-core/luasrc/lib/gluon/upgrade/140-firewall-rules

@@ -95,6 +95,7 @@ for _, zone in ipairs({'wired_mesh', 'wan'}) do
 		dest_port = '4789',
 		target = 'ACCEPT',
 	})
+	uci:reorder('firewall', zone .. '_vxlan', 0)
 end