<?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[Enable Matrix Federation on same Cludron server]]></title><description><![CDATA[<p dir="auto">I'd like to propose a change to the default synapse config file. Currently, the federation blacklist blocks any connections from another Matrix instance on the same server:</p>
<pre><code>federation_ip_range_blacklist:
  - '127.0.0.0/8'
  - '10.0.0.0/8'
  - '172.16.0.0/12' # this is blocking the internal conections
  - '192.168.0.0/16'
  - '100.64.0.0/10'
  - '169.254.0.0/16'
  - '::1/128'
  - 'fe80::/64'
  - 'fc00::/7'
</code></pre>
<p dir="auto">Synapse supports additional whitelisting which overrides the blacklist:</p>
<pre><code>ip_range_whitelist:
  - '172.18.0.0/16' # Whitelist the Cloudron's docker network
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/13821/enable-matrix-federation-on-same-cludron-server</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 20:25:07 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13821.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 May 2025 13:33:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Enable Matrix Federation on same Cludron server on Sat, 24 May 2025 07:37:35 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://git.cloudron.io/packages/synapse-app/-/merge_requests/23" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/packages/synapse-app/-/merge_requests/23</a></p>
]]></description><link>https://forum.cloudron.io/post/107624</link><guid isPermaLink="true">https://forum.cloudron.io/post/107624</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 24 May 2025 07:37:35 GMT</pubDate></item><item><title><![CDATA[Reply to Enable Matrix Federation on same Cludron server on Sat, 24 May 2025 06:09:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andreasdueren" aria-label="Profile: andreasdueren">@<bdi>andreasdueren</bdi></a> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f633.png?v=11345d81604" class="not-responsive emoji emoji-android emoji--flushed" style="height:23px;width:auto;vertical-align:middle" title=":flushed:" alt="😳" /> Will sync the configs to upstream ones and add the whitelist ...</p>
]]></description><link>https://forum.cloudron.io/post/107612</link><guid isPermaLink="true">https://forum.cloudron.io/post/107612</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 24 May 2025 06:09:14 GMT</pubDate></item><item><title><![CDATA[Reply to Enable Matrix Federation on same Cludron server on Fri, 23 May 2025 17:14:43 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure, there might be a good argument made fore the existing blocklist. However it made me troubleshoot a federation issue much longer than I wish it would, hence my request here to have the whitelist included if the blacklist is because others might run into similar issues.</p>
]]></description><link>https://forum.cloudron.io/post/107606</link><guid isPermaLink="true">https://forum.cloudron.io/post/107606</guid><dc:creator><![CDATA[andreasdueren]]></dc:creator><pubDate>Fri, 23 May 2025 17:14:43 GMT</pubDate></item><item><title><![CDATA[Reply to Enable Matrix Federation on same Cludron server on Fri, 23 May 2025 15:28:26 GMT]]></title><description><![CDATA[<p dir="auto">Right, easy to overlook those in the ranges.</p>
<p dir="auto">Given that we just pre-provision the package with a template of the sample config when we packaged the app, it is safe to adjust those values. In fact the current sample file at <a href="https://github.com/element-hq/synapse/blob/develop/docs/sample_config.yaml" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/element-hq/synapse/blob/develop/docs/sample_config.yaml</a> does not even mention any block/allow listing at all.</p>
]]></description><link>https://forum.cloudron.io/post/107603</link><guid isPermaLink="true">https://forum.cloudron.io/post/107603</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 23 May 2025 15:28:26 GMT</pubDate></item><item><title><![CDATA[Reply to Enable Matrix Federation on same Cludron server on Fri, 23 May 2025 13:55:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a></p>
<ol>
<li>
<p dir="auto"><strong>The <code>172.16.0.0/12</code> Range:</strong></p>
<ul>
<li>This CIDR block represents IP addresses from <code>172.16.0.0</code> to <code>172.31.255.255</code>.</li>
<li>The <code>/12</code> means the first 12 bits are fixed for the network portion, leaving 20 bits for host addresses.</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Cloudron's Docker Network <code>172.18.0.0/16</code>:</strong></p>
<ul>
<li>This CIDR block represents IP addresses from <code>172.18.0.0</code> to <code>172.18.255.255</code>.</li>
</ul>
</li>
</ol>
<p dir="auto">The range <code>172.18.0.0</code> to <code>172.18.255.255</code> (Cloudron's Docker network) <strong>is a sub-range within</strong> <code>172.16.0.0</code> to <code>172.31.255.255</code>.<br />
Since <code>16 &lt;= 18 &lt;= 31</code>, any IP in <code>172.18.x.y</code> falls into the <code>172.16.0.0/12</code> block.</p>
<p dir="auto">You are likely looking at <code>172.18.x.x</code> and <code>172.16.x.x</code> and thinking they are distinct because the second octet is different. However, the <code>/12</code> subnet mask on <code>172.16.0.0</code> makes it a much larger range that also encompasses <code>172.18.0.0/16</code>.</p>
]]></description><link>https://forum.cloudron.io/post/107600</link><guid isPermaLink="true">https://forum.cloudron.io/post/107600</guid><dc:creator><![CDATA[andreasdueren]]></dc:creator><pubDate>Fri, 23 May 2025 13:55:28 GMT</pubDate></item><item><title><![CDATA[Reply to Enable Matrix Federation on same Cludron server on Fri, 23 May 2025 08:50:08 GMT]]></title><description><![CDATA[<p dir="auto">Cloudron's docker network is in 172.18.0.0/16 which afaict is not in the federation_ip_range_blacklist . What am I missing?</p>
]]></description><link>https://forum.cloudron.io/post/107581</link><guid isPermaLink="true">https://forum.cloudron.io/post/107581</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 23 May 2025 08:50:08 GMT</pubDate></item></channel></rss>