<?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[Internal LANs isolation on transparent bridge mode]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm trying to set up a transparent filtering bridge on a ESX, I have two different VLANs (10 and 20), so I created two different bridge in pfsense. Everything seems to work except the isolation between the internal segments of the LANs. The PCs on different internal LAN can communicate to each other.</p>
<p dir="auto"><img src="https://ibb.co/YBxLxb6" alt="Schematic network topology" class=" img-fluid img-markdown" /></p>
<p dir="auto">===Schematic network topology</p>
<pre><code class="language-java">                                +---------------------------+
                                |                           |
        .10.1                   |          Bridge1          |
        .20.1                   | +------+         +------+ |
       +----+                   | |VLAN10+---------+VLAN10| |
       | GW |                   | +------+         +------+ |
       ++--++                   |                           |
        |  |             +------+                           +-----+
        |  |             |      |          Bridge2          |     |
 .10.2  |  |   .20.2     |      | +------+         +------+ |     |      .10.3       .20.3
+-----+ |  |  +-----+    |      | |VLAN20+---------+VLAN20| |     |     +-----+     +-----+
| PC1 | |  |  | PC2 |    |      | +------+         +------+ |     |     | PC3 |     | PC4 |
+--+--+ |  |  +--+--+    |      |                           |     |     +--+--+     +---+-+
   |    |  |     |       |      +---------------------------+     |        |            |
   |    |  |     |       |                                        |        |            |
+--+----+-++-----+--+----+----+                              +----+----+---+-----+------+--+
|         |         |         |                              |         |         |         |
| VLAN 10 | VLAN 20 |  Trunk  |                              |  Trunk  | VLAN 10 | VLAN 20 |
|         |         |         |                              |         |         |         |
+---------+---------+---------+                              +---------+---------+---------+
           vSwitch1                                                     vSwitch2
</code></pre>
<p dir="auto">===</p>
<p dir="auto">The rules of the bridge interfaces are:<br />
==PASS any from source 192.168.10.0/24 (Bridge1) / 192.168.20.0/24 (Bridge2)<br />
==BLOCK any</p>
<p dir="auto">The PASS rules are necessary to let the packets from the internal segment of the LAN (vSwitch2) reach the external segment of the LAN  (vSwitch1),<br />
but it works in both way in case of bridge interfaces. So there will be also packets flowing througth the external segmet to the internal segment of the LAN,<br />
but this is not an issue at the moment.</p>
<p dir="auto">Promiscuous mode is activated on the "trunk" portgroup of both the vSwitches (this is mandatory in case of bridging two vSwitches in ESX)</p>
<p dir="auto">With the above settings this is what happens:</p>
<p dir="auto">PC1 can ping PC2 (no bridges involved)<br />
PC2 can ping PC1 (no bridges involved)</p>
<p dir="auto">PC1 can ping PC3 but can't ping PC4 (bridges involved and rules functioning)<br />
PC2 can ping PC4 but can't ping PC3 (bridges involved and rules functioning)</p>
<p dir="auto">PC3 can ping PC1 and PC2 (bridges involved and rules functioning)<br />
PC4 can ping PC1 and PC2 (bridges involved and rules functioning)</p>
<p dir="auto">PC3 can ping PC4 (bridges involved and rules NOT functioning)<br />
PC4 can ping PC3 (bridges involved and rules NOT functioning)</p>
<p dir="auto">So the firewall doesn't block the traffic from the internal segment of LAN 10 to the internal segment of LAN 20 and viceversa.</p>
<p dir="auto">I tried to put this rule in both the bridge interfaces:<br />
==BLOCK any from 192.168.10.0/24 (Bridge2) / 192.168.20.0/24 (Bridge1)<br />
but it didn't work.</p>
<p dir="auto">I think this is due to the statefulness of the firewall, once the packet go from the internal LAN to the external LAN to reach the GW it has the permission to came back in the  internal side even if it is on a different LAN.</p>
<p dir="auto">Is there a way to avoid this behaviour? Is it normal in transparent bridge mode or is due to the virtualizzation of the firewall?</p>
]]></description><link>https://forum.netgate.com/topic/185528/internal-lans-isolation-on-transparent-bridge-mode</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 08:50:08 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/185528.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Jan 2024 10:35:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Internal LANs isolation on transparent bridge mode on Tue, 16 Jan 2024 10:55:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dgg">@<bdi>DGG</bdi></a><br />
I found the solution.</p>
<p dir="auto">I need to bound the firewall states to the interfaces.</p>
<p dir="auto">This is the quote from the pf.conf manual page</p>
<p dir="auto">set state-policy<br />
The state-policy option sets the default behaviour	for states:<br />
_	     if-bound	  States are bound to interface.<br />
_	     floating	  States can match packets on any interfaces (the  default).</p>
<p dir="auto">Now I have to figure out if it is possible do it from Web interface, in OPNsense it is. PfSense manual say nothing about it.</p>
]]></description><link>https://forum.netgate.com/post/1148052</link><guid isPermaLink="true">https://forum.netgate.com/post/1148052</guid><dc:creator><![CDATA[DGG]]></dc:creator><pubDate>Tue, 16 Jan 2024 10:55:12 GMT</pubDate></item><item><title><![CDATA[Reply to Internal LANs isolation on transparent bridge mode on Sun, 14 Jan 2024 17:13:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann">@<bdi>viragomann</bdi></a></p>
<p dir="auto">Both bridge interfaces see the ICMP packets, in the firewall states there is the connection between the two PCs, so the packets go througth the firewall</p>
]]></description><link>https://forum.netgate.com/post/1147808</link><guid isPermaLink="true">https://forum.netgate.com/post/1147808</guid><dc:creator><![CDATA[DGG]]></dc:creator><pubDate>Sun, 14 Jan 2024 17:13:37 GMT</pubDate></item><item><title><![CDATA[Reply to Internal LANs isolation on transparent bridge mode on Sun, 14 Jan 2024 15:58:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dgg">@<bdi>DGG</bdi></a> said in <a href="/post/1147756">Internal LANs isolation on transparent bridge mode</a>:</p>
<blockquote>
<p dir="auto">PC3 can ping PC4 (bridges involved and rules NOT functioning)<br />
PC4 can ping PC3 (bridges involved and rules NOT functioning)</p>
</blockquote>
<p dir="auto">I suspect, that pfSense never sees these packets.</p>
<p dir="auto">Run a packet capture on the involved interface to find out if the packets even pass pfSense.</p>
]]></description><link>https://forum.netgate.com/post/1147785</link><guid isPermaLink="true">https://forum.netgate.com/post/1147785</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Sun, 14 Jan 2024 15:58:29 GMT</pubDate></item></channel></rss>