<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Firewall rule processing order whith multiple interface groups]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have several LANs and DMZs in my network for different purposes (using VLANs to separate them).</p>
<p dir="auto">So I created a bunch of <strong>interface groups</strong>  that sometimes overlap (that is, the same interface can be in more than one interface group.</p>
<p dir="auto">According to the <a href="https://docs.netgate.com/pfsense/en/latest/interfaces/groups.html" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a>, interface group rules are processed <em>before</em> interface rules, my question is, how can I control (or at least know) in which order are group interface rules processed.</p>
<p dir="auto">For instance, if interface LAN3 belongs to interface groups LANs_ALL and INTERNAL_ALL, how do I know if rules in INTERNAL_ALL are applied before or after LANs_ALL, or, better yet, could I control this order?</p>
<p dir="auto">Any help is appreciated.</p>
]]></description><link>https://forum.netgate.com/topic/190288/firewall-rule-processing-order-whith-multiple-interface-groups</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 01:56:15 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/190288.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Sep 2024 12:47:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Firewall rule processing order whith multiple interface groups on Fri, 07 Aug 2026 14:50:31 GMT]]></title><description><![CDATA[<p dir="auto">I just hit this issue with my interface groups. And thanks for the explanation.</p>
<p dir="auto">Opened a feature request here, if anyone wants to check.</p>
<p dir="auto"><a href="https://redmine.pfsense.org/issues/17001" target="_blank" rel="noopener noreferrer nofollow ugc">https://redmine.pfsense.org/issues/17001</a></p>
]]></description><link>https://forum.netgate.com/post/1246290</link><guid isPermaLink="true">https://forum.netgate.com/post/1246290</guid><dc:creator><![CDATA[Laxarus]]></dc:creator><pubDate>Fri, 07 Aug 2026 14:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to Firewall rule processing order whith multiple interface groups on Thu, 03 Oct 2024 18:41:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann" aria-label="Profile: viragomann">@<bdi>viragomann</bdi></a>, thanx for your suggestion.</p>
<p dir="auto">I didn't answer earlier because just today I had access again to the firewall.<br />
I did a few tests with some rules in every interface group and I could verify that interface groups are sorted alphabetically by name and rules are applied in that order.</p>
<p dir="auto">This may have a subtle (and possibly dangerous) side effect if you rename an interface group after rules in that and other groups exist:</p>
<p dir="auto">Suppose you have group name GROUP1 with RULE1 in it, and group name GROUP2 with RULE2 in it.</p>
<p dir="auto">Once you apply the rules, RULE1 applies before RULE2.</p>
<p dir="auto">If later on, you rename GROUP2 and call it GROUP0 without further changes, rules stay as they are.</p>
<p dir="auto"><strong>BUT</strong> if you later on create, modify or delete a rule (maybe unrelated to either group), once you reapply the rules, RULE2 will be applied before RULE1 (which <em>might</em> have security or functional consequences).</p>
]]></description><link>https://forum.netgate.com/post/1186952</link><guid isPermaLink="true">https://forum.netgate.com/post/1186952</guid><dc:creator><![CDATA[el_baby]]></dc:creator><pubDate>Thu, 03 Oct 2024 18:41:37 GMT</pubDate></item><item><title><![CDATA[Reply to Firewall rule processing order whith multiple interface groups on Fri, 27 Sep 2024 13:22:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/el_baby" aria-label="Profile: el_baby">@<bdi>el_baby</bdi></a><br />
Run</p>
<pre><code>cat /tmp/rules.debug
</code></pre>
<p dir="auto">For overlapping conditions, the first one wins.</p>
]]></description><link>https://forum.netgate.com/post/1186185</link><guid isPermaLink="true">https://forum.netgate.com/post/1186185</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Fri, 27 Sep 2024 13:22:38 GMT</pubDate></item></channel></rss>