<rss
      xmlns:atom="http://www.w3.org/2005/Atom"
      xmlns:media="http://search.yahoo.com/mrss/"
      xmlns:content="http://purl.org/rss/1.0/modules/content/"
      xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      version="2.0"
    >
      <channel>
        <title><![CDATA[freedomfete@npub.cash]]></title>
        <description><![CDATA[Onchain
Layer-2
Liquid
Accepted
☆.𓋼𓍊 𓆏 𓍊𓋼𓍊.☆
Passionate about Learninglanguages and writing, I'm dedicated to programming and literature adjunction. With a background in web development, I thrive on the moments when I discover my spontaneity.

🌐 Let's Connect:

Npub Address: freedomfete@npub.cash
Email Address: https://flowcrypt.com/me/parityday
Lightning Address: parityday@vlt.ge

Feel free to reach out for collaboration opportunities, inquiries, or just to say hello! 🚀✨]]></description>
        <link>https://npub.libretechsystems.xyz/tag/matrix-privacy-selfhosting-encryptedchat-censorshipresistance/</link>
        <atom:link href="https://npub.libretechsystems.xyz/tag/matrix-privacy-selfhosting-encryptedchat-censorshipresistance/rss/" rel="self" type="application/rss+xml"/>
        <itunes:new-feed-url>https://npub.libretechsystems.xyz/tag/matrix-privacy-selfhosting-encryptedchat-censorshipresistance/rss/</itunes:new-feed-url>
        <itunes:author><![CDATA[▄︻デʟɨɮʀɛȶɛֆƈɦ-ֆʏֆȶɛʍֆ══━一,]]></itunes:author>
        <itunes:subtitle><![CDATA[Onchain
Layer-2
Liquid
Accepted
☆.𓋼𓍊 𓆏 𓍊𓋼𓍊.☆
Passionate about Learninglanguages and writing, I'm dedicated to programming and literature adjunction. With a background in web development, I thrive on the moments when I discover my spontaneity.

🌐 Let's Connect:

Npub Address: freedomfete@npub.cash
Email Address: https://flowcrypt.com/me/parityday
Lightning Address: parityday@vlt.ge

Feel free to reach out for collaboration opportunities, inquiries, or just to say hello! 🚀✨]]></itunes:subtitle>
        <itunes:type>episodic</itunes:type>
        <itunes:owner>
          <itunes:name><![CDATA[▄︻デʟɨɮʀɛȶɛֆƈɦ-ֆʏֆȶɛʍֆ══━一,]]></itunes:name>
          <itunes:email><![CDATA[▄︻デʟɨɮʀɛȶɛֆƈɦ-ֆʏֆȶɛʍֆ══━一,]]></itunes:email>
        </itunes:owner>
            
      <pubDate>Fri, 21 Feb 2025 04:00:00 GMT</pubDate>
      <lastBuildDate>Fri, 21 Feb 2025 04:00:00 GMT</lastBuildDate>
      
      <itunes:image href="https://image.nostr.build/4b98ff743d2220977596fa08663e1e3d56680e7d19738fbaeb20743d2703cac0.jpg" />
      <image>
        <title><![CDATA[freedomfete@npub.cash]]></title>
        <link>https://npub.libretechsystems.xyz/tag/matrix-privacy-selfhosting-encryptedchat-censorshipresistance/</link>
        <url>https://image.nostr.build/4b98ff743d2220977596fa08663e1e3d56680e7d19738fbaeb20743d2703cac0.jpg</url>
      </image>
      <item>
      <title><![CDATA[How to Run a Local Matrix Server for Secure Communications]]></title>
      <description><![CDATA[Recently I made the switch from a home phone to Session, XMPP and Matrix. In this short zettel, i explore my personal installation method.]]></description>
             <itunes:subtitle><![CDATA[Recently I made the switch from a home phone to Session, XMPP and Matrix. In this short zettel, i explore my personal installation method.]]></itunes:subtitle>
      <pubDate>Fri, 21 Feb 2025 04:00:00 GMT</pubDate>
      <link>https://npub.libretechsystems.xyz/post/encryptedchatvoip/</link>
      <comments>https://npub.libretechsystems.xyz/post/encryptedchatvoip/</comments>
      <guid isPermaLink="false">naddr1qqg52mnrwfuhqar9v3pksct52e85j5qzyrf5aqedg2kchy7p58pussqfx3q97v9uh7zh7w029uqgcf3c8audqqcyqqq823c0lzn00</guid>
      <category>#Matrix #Privacy #SelfHosting #EncryptedChat #CensorshipResistance</category>
      
        <media:content url="https://aws.wideinfo.org/wideinfo.org/wp-content/uploads/2017/08/28015536/privacy-please-1.jpg" medium="image"/>
        <enclosure 
          url="https://aws.wideinfo.org/wideinfo.org/wp-content/uploads/2017/08/28015536/privacy-please-1.jpg" length="0" 
          type="image/jpeg" 
        />
      <noteId>naddr1qqg52mnrwfuhqar9v3pksct52e85j5qzyrf5aqedg2kchy7p58pussqfx3q97v9uh7zh7w029uqgcf3c8audqqcyqqq823c0lzn00</noteId>
      <npub>npub16d8gxt2z4k9e8sdpc0yyqzf5gp0np09ls4lnn630qzxzvwpl0rgq5h4rzv</npub>
      <dc:creator><![CDATA[▄︻デʟɨɮʀɛȶɛֆƈɦ-ֆʏֆȶɛʍֆ══━一,]]></dc:creator>
      <content:encoded><![CDATA[<p>npub16d8gxt2z4k9e8sdpc0yyqzf5gp0np09ls4lnn630qzxzvwpl0rgq5h4rzv</p>
<h3><strong>How to Run a Local Matrix Server for Secure Communications</strong></h3>
<p>Running a self-hosted Matrix server allows you to take control of your communications, ensuring privacy and sovereignty. By hosting your own homeserver, you eliminate reliance on centralized services while maintaining encrypted, federated messaging. This guide covers the full installation process for setting up a Matrix homeserver using <strong>Synapse</strong>, the official reference implementation.  </p>
<hr>
<h2><strong>1. Prerequisites</strong></h2>
<h3><strong>Hardware &amp; System Requirements</strong></h3>
<ul>
<li>A dedicated or virtual server running <strong>Ubuntu 22.04 LTS</strong> (or Debian-based OS)  </li>
<li>Minimum <strong>2GB RAM</strong> (4GB+ recommended for production)  </li>
<li>At least <strong>10GB disk space</strong> (more if storing media)  </li>
<li><strong>A public domain name</strong> (optional for federation)</li>
</ul>
<h3><strong>Dependencies</strong></h3>
<p>Ensure your system is updated and install required packages:  </p>
<pre><code class="language-sh">sudo apt update &amp;&amp; sudo apt upgrade -y
sudo apt install -y curl wget gnupg2 lsb-release software-properties-common python3-pip virtualenv
</code></pre>
<hr>
<h2><strong>2. Install Matrix Synapse</strong></h2>
<h3><strong>Step 1: Add Matrix Repository</strong></h3>
<pre><code class="language-sh">sudo apt install -y lsb-release wget apt-transport-https
sudo wget -O /usr/share/keyrings/matrix-keyring.asc https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/matrix-keyring.asc] https://packages.matrix.org/debian/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/matrix-org.list
sudo apt update
</code></pre>
<h3><strong>Step 2: Install Synapse</strong></h3>
<pre><code class="language-sh">sudo apt install -y matrix-synapse-py3
</code></pre>
<p>During installation, enter your desired <strong>domain name</strong> (e.g., <code>matrix.example.com</code>).  </p>
<h3><strong>Step 3: Start and Enable Synapse</strong></h3>
<pre><code class="language-sh">sudo systemctl enable --now matrix-synapse
</code></pre>
<hr>
<h2><strong>3. Configure Matrix Homeserver</strong></h2>
<h3><strong>Step 1: Edit the Configuration File</strong></h3>
<pre><code class="language-sh">sudo nano /etc/matrix-synapse/homeserver.yaml
</code></pre>
<ul>
<li>Set <code>server_name</code> to your domain (<code>example.com</code>)  </li>
<li>Enable <strong>registration</strong> if needed (<code>enable_registration: true</code>)  </li>
<li>Configure <strong>log level</strong> (<code>log_level: INFO</code>)</li>
</ul>
<p>Save and exit (<code>CTRL+X</code>, then <code>Y</code>).  </p>
<h3><strong>Step 2: Restart Synapse</strong></h3>
<pre><code class="language-sh">sudo systemctl restart matrix-synapse
</code></pre>
<hr>
<h2><strong>4. Set Up a Reverse Proxy (NGINX + Let’s Encrypt SSL)</strong></h2>
<h3><strong>Step 1: Install NGINX and Certbot</strong></h3>
<pre><code class="language-sh">sudo apt install -y nginx certbot python3-certbot-nginx
</code></pre>
<h3><strong>Step 2: Obtain SSL Certificate</strong></h3>
<pre><code class="language-sh">sudo certbot --nginx -d matrix.example.com
</code></pre>
<h3><strong>Step 3: Configure NGINX</strong></h3>
<p>Create a new file:  </p>
<pre><code class="language-sh">sudo nano /etc/nginx/sites-available/matrix
</code></pre>
<p>Paste the following configuration:  </p>
<pre><code class="language-nginx">server {
    listen 80;
    server_name matrix.example.com;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl;
    server_name matrix.example.com;

    ssl_certificate /etc/letsencrypt/live/matrix.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/matrix.example.com/privkey.pem;

    location /_matrix/ {
        proxy_pass http://localhost:8008;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
</code></pre>
<p>Save and exit.</p>
<h3><strong>Step 4: Enable the Configuration</strong></h3>
<pre><code class="language-sh">sudo ln -s /etc/nginx/sites-available/matrix /etc/nginx/sites-enabled/
sudo systemctl restart nginx
</code></pre>
<hr>
<h2><strong>5. Create an Admin User</strong></h2>
<p>Run the following command:  </p>
<pre><code class="language-sh">register_new_matrix_user -c /etc/matrix-synapse/homeserver.yaml http://localhost:8008
</code></pre>
<p>Follow the prompts to create an <strong>admin</strong> user.</p>
<hr>
<h2><strong>6. Test Your Matrix Server</strong></h2>
<ul>
<li>Open a browser and go to: <code>https://matrix.example.com/_matrix/client/versions</code>  </li>
<li>You should see a JSON response indicating your homeserver is running.  </li>
<li>Use <strong>Element</strong> (<a href="https://element.io">https://element.io</a>) to log in with your new user credentials.</li>
</ul>
<hr>
<h2><strong>7. Federation (Optional)</strong></h2>
<p>To allow federation, ensure your DNS has an <strong>SRV record</strong>:  </p>
<pre><code>_matrix._tcp.example.com. 3600 IN SRV 10 5 443 matrix.example.com.
</code></pre>
<p>You can check your federation status at:<br><np-embed url="https://federationtester.matrix.org/"><a href="https://federationtester.matrix.org/">https://federationtester.matrix.org/</a></np-embed>  </p>
<hr>
<h2><strong>8. Additional Features</strong></h2>
<h3><strong>Bridges (Connect to Other Platforms)</strong></h3>
<ul>
<li><strong>Discord Bridge</strong>: <np-embed url="https://github.com/Half-Shot/matrix-appservice-discord"><a href="https://github.com/Half-Shot/matrix-appservice-discord">https://github.com/Half-Shot/matrix-appservice-discord</a></np-embed>  </li>
<li><strong>Telegram Bridge</strong>: <np-embed url="https://github.com/tulir/mautrix-telegram"><a href="https://github.com/tulir/mautrix-telegram">https://github.com/tulir/mautrix-telegram</a></np-embed></li>
</ul>
<h3><strong>Hosting a TURN Server (For Calls &amp; Video)</strong></h3>
<p>Install <strong>coturn</strong> for improved call reliability:  </p>
<pre><code class="language-sh">sudo apt install -y coturn
</code></pre>
<p>Edit <code>/etc/turnserver.conf</code> to include:  </p>
<pre><code>listening-port=3478
fingerprint
use-auth-secret
static-auth-secret=your-random-secret
realm=matrix.example.com
</code></pre>
<p>Enable and start the service:  </p>
<pre><code class="language-sh">sudo systemctl enable --now coturn
</code></pre>
<hr>
<h2><strong>9. Backup &amp; Maintenance</strong></h2>
<h3><strong>Database Backup</strong></h3>
<pre><code class="language-sh">sudo systemctl stop matrix-synapse
sudo tar -czvf matrix-backup.tar.gz /var/lib/matrix-synapse/
sudo systemctl start matrix-synapse
</code></pre>
<h3><strong>Updating Synapse</strong></h3>
<pre><code class="language-sh">sudo apt update &amp;&amp; sudo apt upgrade -y matrix-synapse-py3
sudo systemctl restart matrix-synapse
</code></pre>
<hr>
<h2><strong>Connections</strong></h2>
<ul>
<li><strong>Self-Hosting for Digital Sovereignty</strong>  </li>
<li><strong>Nostr and Matrix Integration for Decentralized Messaging</strong></li>
</ul>
<h2><strong>Donations via</strong></h2>
<ul>
<li><a href="mailto:lightninglayerhash@getalby.com">lightninglayerhash@getalby.com</a></li>
</ul>
]]></content:encoded>
      <itunes:author><![CDATA[▄︻デʟɨɮʀɛȶɛֆƈɦ-ֆʏֆȶɛʍֆ══━一,]]></itunes:author>
      <itunes:summary><![CDATA[<p>npub16d8gxt2z4k9e8sdpc0yyqzf5gp0np09ls4lnn630qzxzvwpl0rgq5h4rzv</p>
<h3><strong>How to Run a Local Matrix Server for Secure Communications</strong></h3>
<p>Running a self-hosted Matrix server allows you to take control of your communications, ensuring privacy and sovereignty. By hosting your own homeserver, you eliminate reliance on centralized services while maintaining encrypted, federated messaging. This guide covers the full installation process for setting up a Matrix homeserver using <strong>Synapse</strong>, the official reference implementation.  </p>
<hr>
<h2><strong>1. Prerequisites</strong></h2>
<h3><strong>Hardware &amp; System Requirements</strong></h3>
<ul>
<li>A dedicated or virtual server running <strong>Ubuntu 22.04 LTS</strong> (or Debian-based OS)  </li>
<li>Minimum <strong>2GB RAM</strong> (4GB+ recommended for production)  </li>
<li>At least <strong>10GB disk space</strong> (more if storing media)  </li>
<li><strong>A public domain name</strong> (optional for federation)</li>
</ul>
<h3><strong>Dependencies</strong></h3>
<p>Ensure your system is updated and install required packages:  </p>
<pre><code class="language-sh">sudo apt update &amp;&amp; sudo apt upgrade -y
sudo apt install -y curl wget gnupg2 lsb-release software-properties-common python3-pip virtualenv
</code></pre>
<hr>
<h2><strong>2. Install Matrix Synapse</strong></h2>
<h3><strong>Step 1: Add Matrix Repository</strong></h3>
<pre><code class="language-sh">sudo apt install -y lsb-release wget apt-transport-https
sudo wget -O /usr/share/keyrings/matrix-keyring.asc https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/matrix-keyring.asc] https://packages.matrix.org/debian/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/matrix-org.list
sudo apt update
</code></pre>
<h3><strong>Step 2: Install Synapse</strong></h3>
<pre><code class="language-sh">sudo apt install -y matrix-synapse-py3
</code></pre>
<p>During installation, enter your desired <strong>domain name</strong> (e.g., <code>matrix.example.com</code>).  </p>
<h3><strong>Step 3: Start and Enable Synapse</strong></h3>
<pre><code class="language-sh">sudo systemctl enable --now matrix-synapse
</code></pre>
<hr>
<h2><strong>3. Configure Matrix Homeserver</strong></h2>
<h3><strong>Step 1: Edit the Configuration File</strong></h3>
<pre><code class="language-sh">sudo nano /etc/matrix-synapse/homeserver.yaml
</code></pre>
<ul>
<li>Set <code>server_name</code> to your domain (<code>example.com</code>)  </li>
<li>Enable <strong>registration</strong> if needed (<code>enable_registration: true</code>)  </li>
<li>Configure <strong>log level</strong> (<code>log_level: INFO</code>)</li>
</ul>
<p>Save and exit (<code>CTRL+X</code>, then <code>Y</code>).  </p>
<h3><strong>Step 2: Restart Synapse</strong></h3>
<pre><code class="language-sh">sudo systemctl restart matrix-synapse
</code></pre>
<hr>
<h2><strong>4. Set Up a Reverse Proxy (NGINX + Let’s Encrypt SSL)</strong></h2>
<h3><strong>Step 1: Install NGINX and Certbot</strong></h3>
<pre><code class="language-sh">sudo apt install -y nginx certbot python3-certbot-nginx
</code></pre>
<h3><strong>Step 2: Obtain SSL Certificate</strong></h3>
<pre><code class="language-sh">sudo certbot --nginx -d matrix.example.com
</code></pre>
<h3><strong>Step 3: Configure NGINX</strong></h3>
<p>Create a new file:  </p>
<pre><code class="language-sh">sudo nano /etc/nginx/sites-available/matrix
</code></pre>
<p>Paste the following configuration:  </p>
<pre><code class="language-nginx">server {
    listen 80;
    server_name matrix.example.com;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl;
    server_name matrix.example.com;

    ssl_certificate /etc/letsencrypt/live/matrix.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/matrix.example.com/privkey.pem;

    location /_matrix/ {
        proxy_pass http://localhost:8008;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
</code></pre>
<p>Save and exit.</p>
<h3><strong>Step 4: Enable the Configuration</strong></h3>
<pre><code class="language-sh">sudo ln -s /etc/nginx/sites-available/matrix /etc/nginx/sites-enabled/
sudo systemctl restart nginx
</code></pre>
<hr>
<h2><strong>5. Create an Admin User</strong></h2>
<p>Run the following command:  </p>
<pre><code class="language-sh">register_new_matrix_user -c /etc/matrix-synapse/homeserver.yaml http://localhost:8008
</code></pre>
<p>Follow the prompts to create an <strong>admin</strong> user.</p>
<hr>
<h2><strong>6. Test Your Matrix Server</strong></h2>
<ul>
<li>Open a browser and go to: <code>https://matrix.example.com/_matrix/client/versions</code>  </li>
<li>You should see a JSON response indicating your homeserver is running.  </li>
<li>Use <strong>Element</strong> (<a href="https://element.io">https://element.io</a>) to log in with your new user credentials.</li>
</ul>
<hr>
<h2><strong>7. Federation (Optional)</strong></h2>
<p>To allow federation, ensure your DNS has an <strong>SRV record</strong>:  </p>
<pre><code>_matrix._tcp.example.com. 3600 IN SRV 10 5 443 matrix.example.com.
</code></pre>
<p>You can check your federation status at:<br><np-embed url="https://federationtester.matrix.org/"><a href="https://federationtester.matrix.org/">https://federationtester.matrix.org/</a></np-embed>  </p>
<hr>
<h2><strong>8. Additional Features</strong></h2>
<h3><strong>Bridges (Connect to Other Platforms)</strong></h3>
<ul>
<li><strong>Discord Bridge</strong>: <np-embed url="https://github.com/Half-Shot/matrix-appservice-discord"><a href="https://github.com/Half-Shot/matrix-appservice-discord">https://github.com/Half-Shot/matrix-appservice-discord</a></np-embed>  </li>
<li><strong>Telegram Bridge</strong>: <np-embed url="https://github.com/tulir/mautrix-telegram"><a href="https://github.com/tulir/mautrix-telegram">https://github.com/tulir/mautrix-telegram</a></np-embed></li>
</ul>
<h3><strong>Hosting a TURN Server (For Calls &amp; Video)</strong></h3>
<p>Install <strong>coturn</strong> for improved call reliability:  </p>
<pre><code class="language-sh">sudo apt install -y coturn
</code></pre>
<p>Edit <code>/etc/turnserver.conf</code> to include:  </p>
<pre><code>listening-port=3478
fingerprint
use-auth-secret
static-auth-secret=your-random-secret
realm=matrix.example.com
</code></pre>
<p>Enable and start the service:  </p>
<pre><code class="language-sh">sudo systemctl enable --now coturn
</code></pre>
<hr>
<h2><strong>9. Backup &amp; Maintenance</strong></h2>
<h3><strong>Database Backup</strong></h3>
<pre><code class="language-sh">sudo systemctl stop matrix-synapse
sudo tar -czvf matrix-backup.tar.gz /var/lib/matrix-synapse/
sudo systemctl start matrix-synapse
</code></pre>
<h3><strong>Updating Synapse</strong></h3>
<pre><code class="language-sh">sudo apt update &amp;&amp; sudo apt upgrade -y matrix-synapse-py3
sudo systemctl restart matrix-synapse
</code></pre>
<hr>
<h2><strong>Connections</strong></h2>
<ul>
<li><strong>Self-Hosting for Digital Sovereignty</strong>  </li>
<li><strong>Nostr and Matrix Integration for Decentralized Messaging</strong></li>
</ul>
<h2><strong>Donations via</strong></h2>
<ul>
<li><a href="mailto:lightninglayerhash@getalby.com">lightninglayerhash@getalby.com</a></li>
</ul>
]]></itunes:summary>
      <itunes:image href="https://aws.wideinfo.org/wideinfo.org/wp-content/uploads/2017/08/28015536/privacy-please-1.jpg"/>
      </item>
      
      </channel>
      </rss>
    