Browse Source

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

Evaluating these rules before all the ICMPv6 rules improves wired mesh
throughput measurably.
Matthias Schiffer 6 years ago
parent
commit
e54b37d835
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/gluon-core/luasrc/lib/gluon/upgrade/140-firewall-rules

+ 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