<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=OPNsense_Regeln</id>
	<title>OPNsense Regeln - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=OPNsense_Regeln"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;action=history"/>
	<updated>2026-11-02T23:16:54Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;diff=74059&amp;oldid=prev</id>
		<title>Thomas.will@claude: Filtern genauer erklärt: Feld/Methode/[+], UND/ODER, nur erstes Paket je Zustand</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;diff=74059&amp;oldid=prev"/>
		<updated>2026-10-31T08:27:38Z</updated>

		<summary type="html">&lt;p&gt;Filtern genauer erklärt: Feld/Methode/[+], UND/ODER, nur erstes Paket je Zustand&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2026, 08:27 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot;&gt;Zeile 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Häkchen „Log“ pro Regel: Treffer erscheinen in Firewall → Log Files → Live View (standardmäßig aus, sonst bei viel Verkehr schnell unübersichtlich)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Häkchen „Log“ pro Regel: Treffer erscheinen in Firewall → Log Files → Live View (standardmäßig aus, sonst bei viel Verkehr schnell unübersichtlich)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Jede Zeile der Live View zeigt: Zeit, Interface, Richtung (in/out), Aktion, Quelle:Port, Ziel:Port und die Regel (Label), die gegriffen hat&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Jede Zeile der Live View zeigt: Zeit, Interface, Richtung (in/out), Aktion, Quelle:Port, Ziel:Port und die Regel (Label), die gegriffen hat&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Filtern: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nach jedem dieser Felder möglich&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;auch kombiniert &lt;/del&gt;– &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Interface&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Richtung&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IP-Version&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Protokoll&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Quelle&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ziel&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Aktion&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Filtern: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;oben links eine Bedingung bauen aus Feld (z. B. Label&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Quelle, Ziel &lt;/ins&gt;– &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;host&#039;&#039; und &#039;&#039;port&#039;&#039; treffen dabei Quelle UND Ziel)&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Methode (&#039;&#039;contains&#039;&#039;&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;is&#039;&#039;, &#039;&#039;is not&#039;&#039;, &#039;&#039;does not contain&#039;&#039;) und Wert, mit dem Button &#039;&#039;&#039;[+]&#039;&#039;&#039; zur Ansicht hinzufügen&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Mehrere Bedingungen kombinierbar: Voreinstellung UND (alle müssen zutreffen)&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;umschaltbar auf ODER (z. B. mehrere Hosts gleichzeitig im Blick behalten)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Wichtig: die Live View zeigt nur Verkehr&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;der gegen eine Regel MIT Log-Häkchen lief&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;und bei einer neuen Verbindung nur das erste Paket&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;das den Zustand anlegt – nicht jedes einzelne Paket. Für jedes Paket: Interfaces → Diagnostics → Packet Capture&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Analyse: die Spalte „Regel“ zeigt, WELCHE Regel wirklich getroffen hat – im Beispiel von oben steht beim nicht gesperrten PC „Pass / allow (Default allow LAN to any)“ statt „Block“, das bestätigt sofort die Diagnose aus dem Abschnitt „Der Klassiker“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Analyse: die Spalte „Regel“ zeigt, WELCHE Regel wirklich getroffen hat – im Beispiel von oben steht beim nicht gesperrten PC „Pass / allow (Default allow LAN to any)“ statt „Block“, das bestätigt sofort die Diagnose aus dem Abschnitt „Der Klassiker“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Nach dem Korrigieren der Reihenfolge zeigt dieselbe Verbindung „Block / block (eigene Regel)“ – das Log bestätigt live, dass die Korrektur wirkt&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Nach dem Korrigieren der Reihenfolge zeigt dieselbe Verbindung „Block / block (eigene Regel)“ – das Log bestätigt live, dass die Korrektur wirkt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff:1.41:old-74057:rev-74059:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will@claude</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;diff=74057&amp;oldid=prev</id>
		<title>Thomas.will@claude: Live Log, Filter und Analyse ergänzt</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;diff=74057&amp;oldid=prev"/>
		<updated>2026-10-31T08:23:31Z</updated>

		<summary type="html">&lt;p&gt;Live Log, Filter und Analyse ergänzt&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2026, 08:23 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Zeile 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* WAN: keine „allow any“-Regel, zusätzlich Block private networks / Bogon networks als Voreinstellung&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* WAN: keine „allow any“-Regel, zusätzlich Block private networks / Bogon networks als Voreinstellung&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Fehlersuche ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Fehlersuche&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: Live Log, Filter, Analyse &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Häkchen „Log“ pro Regel: Treffer erscheinen in Firewall → Log Files → Live View (standardmäßig aus, sonst bei viel Verkehr schnell unübersichtlich)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Jede Zeile der Live View zeigt: Zeit, Interface, Richtung (in/out), Aktion, Quelle:Port, Ziel:Port und die Regel (Label), die gegriffen hat&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Filtern: nach jedem dieser Felder möglich, auch kombiniert – Interface, Richtung, IP-Version, Protokoll, Quelle, Ziel, Aktion&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Analyse: die Spalte „Regel“ zeigt, WELCHE Regel wirklich getroffen hat – im Beispiel von oben steht beim nicht gesperrten PC „Pass / allow (Default allow LAN to any)“ statt „Block“, das bestätigt sofort die Diagnose aus dem Abschnitt „Der Klassiker“&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Nach dem Korrigieren der Reihenfolge zeigt dieselbe Verbindung „Block / block (eigene Regel)“ – das Log bestätigt live, dass die Korrektur wirkt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Firewall → Rules, Spalte Hits: zeigt, ob eine Regel überhaupt getroffen wird&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Firewall → Rules, Spalte Hits: zeigt, ob eine Regel überhaupt getroffen wird&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Häkchen „Log“ pro Regel: Treffer erscheinen in Firewall → Log Files → Live View&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Diagnostics → States: zeigt laufende Zustände (Quelle, Ziel, Dauer)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Diagnostics → States: zeigt laufende Zustände (Quelle, Ziel, Dauer)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff:1.41:old-74054:rev-74057:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will@claude</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;diff=74054&amp;oldid=prev</id>
		<title>Thomas.will@claude: Neue Seite mit Animation: OPNsense-Regeln</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=OPNsense_Regeln&amp;diff=74054&amp;oldid=prev"/>
		<updated>2026-10-31T08:16:23Z</updated>

		<summary type="html">&lt;p&gt;Neue Seite mit Animation: OPNsense-Regeln&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= OPNsense Regeln – Reihenfolge, Floating und Fehlerbilder =&lt;br /&gt;
&lt;br /&gt;
* Animation: [https://xinux.org/opnsense-regeln.html OPNsense-Regeln richtig verstehen] ([https://xinux.org/opnsense-regeln-einfach.html einfach]), mit Reihenfolge, Floating vs. Interface, Default-Regeln, Log/Hits und Fehlerbildern&lt;br /&gt;
&lt;br /&gt;
== Grundprinzip ==&lt;br /&gt;
&lt;br /&gt;
* Jedes Interface (LAN, WAN, OPT1, …) hat einen eigenen Reiter unter Firewall → Rules&lt;br /&gt;
* Eine Regel gilt für Verkehr, der an genau diesem Interface ankommt&lt;br /&gt;
* Regeln werden von oben nach unten geprüft&lt;br /&gt;
* Die erste passende Regel entscheidet, danach wird nicht weiter geprüft (intern „quick“)&lt;br /&gt;
&lt;br /&gt;
== Aktionen ==&lt;br /&gt;
&lt;br /&gt;
* Pass – lässt das Paket durch&lt;br /&gt;
* Block – verwirft ohne Antwort&lt;br /&gt;
* Reject – verwirft mit Antwort (TCP: RST, ICMP: unreachable)&lt;br /&gt;
&lt;br /&gt;
== Der Klassiker: falsche Reihenfolge ==&lt;br /&gt;
&lt;br /&gt;
* Beispiel: eine Block-Regel für einen einzelnen PC steht unter der breiten „Default allow LAN to any“-Regel&lt;br /&gt;
* Die breite Regel passt zuerst → Pass → Stopp&lt;br /&gt;
* Die Block-Regel darunter wird nie erreicht (Hits bleibt bei 0)&lt;br /&gt;
* Lösung: spezifische Regeln vor allgemeine Regeln stellen&lt;br /&gt;
&lt;br /&gt;
== Floating Rules vs. Interface-Regeln ==&lt;br /&gt;
&lt;br /&gt;
* Interface-Regeln: gelten nur für ein Interface, immer „quick“&lt;br /&gt;
* Floating Rules: gelten für mehrere Interfaces/Richtungen gleichzeitig&lt;br /&gt;
* Floating Rules zeigen die quick-Checkbox:&lt;br /&gt;
** angehakt → erste passende Regel gewinnt&lt;br /&gt;
** abgewählt → letzte passende Regel gewinnt (klassisches pf-Verhalten)&lt;br /&gt;
* Verarbeitungsreihenfolge: zuerst Floating Rules mit quick, danach die Regeln des passenden Interface-Reiters&lt;br /&gt;
&lt;br /&gt;
== Was von Anfang an da ist ==&lt;br /&gt;
&lt;br /&gt;
* Anti-Lockout-Regel: unsichtbare automatische Regel, erlaubt Zugriff auf GUI/SSH am LAN-Interface (System → Settings → Administration zum Abschalten)&lt;br /&gt;
* Default allow LAN to any: wird beim Ersteinrichten angelegt, für den Produktivbetrieb meist zu großzügig&lt;br /&gt;
* WAN: keine „allow any“-Regel, zusätzlich Block private networks / Bogon networks als Voreinstellung&lt;br /&gt;
&lt;br /&gt;
== Fehlersuche ==&lt;br /&gt;
&lt;br /&gt;
* Firewall → Rules, Spalte Hits: zeigt, ob eine Regel überhaupt getroffen wird&lt;br /&gt;
* Häkchen „Log“ pro Regel: Treffer erscheinen in Firewall → Log Files → Live View&lt;br /&gt;
* Diagnostics → States: zeigt laufende Zustände (Quelle, Ziel, Dauer)&lt;br /&gt;
&lt;br /&gt;
== Fehlerbilder ==&lt;br /&gt;
&lt;br /&gt;
* Regel wirkt nicht, keine Fehlermeldung → allgemeinere Regel greift zuerst → spezifische Regel nach oben, Hits prüfen&lt;br /&gt;
* Pass-Regel wirkt gar nicht → falscher Interface-Reiter → Richtung/Interface prüfen&lt;br /&gt;
* Management-Zugriff plötzlich weg → Anti-Lockout deaktiviert, eigene Regel fehlerhaft → über die Konsole wieder herein&lt;br /&gt;
* Floating-Regel verhält sich unerwartet → quick abgewählt → quick anhaken&lt;br /&gt;
* Testlabor mit privaten Adressen am WAN ohne Verkehr → Block private networks/Bogon aktiv → gezielt abschalten&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://docs.opnsense.org/manual/firewall.html offizielle OPNsense-Dokumentation: Firewall]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:OPNsense]]&lt;/div&gt;</summary>
		<author><name>Thomas.will@claude</name></author>
	</entry>
</feed>