<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Talha Tabak</title><link>https://talhatabak.com/</link><description>Recent content on Talha Tabak</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Talha Tabak</copyright><lastBuildDate>Sat, 21 Nov 2026 00:22:00 +0300</lastBuildDate><atom:link href="https://talhatabak.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Syncthing Setup</title><link>https://talhatabak.com/self-hosting/syncthing/</link><pubDate>Sat, 21 Nov 2026 00:22:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/syncthing/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/post-install-configuration/"&gt;1 Post-Install Configuration&lt;/a&gt; (the EPEL repository), &lt;a href="https://talhatabak.com/self-hosting/firewalld/"&gt;5 Firewalld Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The Syncthing web UI is reached at &lt;code&gt;sync.xenonly.com&lt;/code&gt;, only over the VPN. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;Devices connect to the server at &lt;code&gt;xenonly.com:22000&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Syncthing runs as a separate &lt;code&gt;syncthing&lt;/code&gt; system user whose home directory is &lt;code&gt;/srv/syncthing&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Server commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The device pairing steps are done in the Syncthing UI on the clients.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Usememos Setup</title><link>https://talhatabak.com/self-hosting/memos/</link><pubDate>Sat, 21 Nov 2026 00:21:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/memos/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Memos is reached at &lt;code&gt;memos.xenonly.com&lt;/code&gt;. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;The Memos container uses port &lt;code&gt;127.0.0.1:8001&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Moving an Old WordPress Site into This Setup</title><link>https://talhatabak.com/self-hosting/wordpress-migration/</link><pubDate>Sat, 21 Nov 2026 00:20:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wordpress-migration/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;The MariaDB container from &lt;a href="https://talhatabak.com/self-hosting/wordpress/"&gt;10 WordPress Setup&lt;/a&gt; must be set up and the &lt;code&gt;db&lt;/code&gt; network created.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; must be done (&lt;code&gt;proxy.tmpl&lt;/code&gt; and &lt;code&gt;websocket.conf&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The old server runs WordPress with MariaDB as the database. The example site is &lt;code&gt;example.com&lt;/code&gt;, and the site directory on the old server is &lt;code&gt;/var/www/example&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Our user on the new server can connect to the old server over SSH (its SSH key is allowed on the old server).&lt;/li&gt;&#10;&lt;li&gt;The moved site uses port &lt;code&gt;8031&lt;/code&gt; (pick a free port from the &lt;code&gt;8030&lt;/code&gt;–&lt;code&gt;8049&lt;/code&gt; range set aside for WordPress).&lt;/li&gt;&#10;&lt;li&gt;The server each command runs on is written before it. On the new server, commands that need root rights are written with &lt;code&gt;sudo&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>WordPress Setup</title><link>https://talhatabak.com/self-hosting/wordpress/</link><pubDate>Sat, 21 Nov 2026 00:19:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wordpress/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;For the sites to send mail, &lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;To finish the setup wizard behind the VPN, &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The example site is &lt;code&gt;example.com&lt;/code&gt;, and the site&amp;rsquo;s short name is &lt;code&gt;example&lt;/code&gt;. The short name is used in directory, container and database names; for each site, replace every &lt;code&gt;example&lt;/code&gt; with the site&amp;rsquo;s name.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for &lt;code&gt;example.com&lt;/code&gt; and &lt;code&gt;www.example.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;The port range &lt;code&gt;8030&lt;/code&gt;–&lt;code&gt;8049&lt;/code&gt; is set aside for WordPress sites; the first site uses port &lt;code&gt;8030&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Vaultwarden Setup</title><link>https://talhatabak.com/self-hosting/vaultwarden/</link><pubDate>Sat, 21 Nov 2026 00:18:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/vaultwarden/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/fail2ban/"&gt;6 Fail2Ban Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Vaultwarden is reached at &lt;code&gt;password.xenonly.com&lt;/code&gt;. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;The Vaultwarden container uses port &lt;code&gt;127.0.0.1:8004&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Vault Setup</title><link>https://talhatabak.com/self-hosting/vault/</link><pubDate>Sat, 21 Nov 2026 00:17:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/vault/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done (the &lt;code&gt;vpn-only&lt;/code&gt; template is used).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Vault is reached at &lt;code&gt;vault.xenonly.com&lt;/code&gt;, only over the VPN. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;The install commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The &lt;code&gt;vault&lt;/code&gt; CLI commands are run on the server as the normal user.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>WireGuard: Possible Problems</title><link>https://talhatabak.com/self-hosting/wireguard-troubleshooting/</link><pubDate>Sat, 21 Nov 2026 00:16:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wireguard-troubleshooting/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The desktop has the two profiles created in &lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt;: &lt;code&gt;xenternet&lt;/code&gt; (full tunnel) and &lt;code&gt;xentranet&lt;/code&gt; (split tunnel).&lt;/li&gt;&#10;&lt;li&gt;The commands in this part are run on the Linux desktop (the client) that uses NetworkManager.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Putting Services Behind the VPN</title><link>https://talhatabak.com/self-hosting/services-behind-vpn/</link><pubDate>Sat, 21 Nov 2026 00:15:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/services-behind-vpn/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt; must be done; you must be able to connect to the VPN from your personal computer.&lt;/li&gt;&#10;&lt;li&gt;For the NGINX part, &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The VPN networks are &lt;code&gt;10.8.0.0/24&lt;/code&gt; and &lt;code&gt;fd42:8::/64&lt;/code&gt;, and the server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;SSH is allowed in the &lt;code&gt;vpn&lt;/code&gt; zone (&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;Server commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The tests with &lt;code&gt;ssh&lt;/code&gt; and &lt;code&gt;curl&lt;/code&gt; are done from a personal computer.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Adding WireGuard Clients</title><link>https://talhatabak.com/self-hosting/wireguard-clients/</link><pubDate>Sat, 21 Nov 2026 00:14:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wireguard-clients/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt;; clients connect to the VPN through &lt;code&gt;xenonly.com:51820&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Server-side commands are run on the server, client-side commands on a Linux desktop that uses NetworkManager. Commands that need root rights are written with &lt;code&gt;sudo&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;The desktop uses two VPN profiles: &lt;code&gt;xenternet&lt;/code&gt; (full tunnel), which sends all traffic through the tunnel, and &lt;code&gt;xentranet&lt;/code&gt; (split tunnel), which sends only the traffic for the VPN network through the tunnel.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>WireGuard Setup</title><link>https://talhatabak.com/self-hosting/wireguard/</link><pubDate>Sat, 21 Nov 2026 00:13:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wireguard/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/firewalld/"&gt;5 Firewalld Configuration&lt;/a&gt; must be done (this part changes the configuration of both).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The outside network interface is &lt;code&gt;eth0&lt;/code&gt;, it is managed by NetworkManager, and its IPv6 address is set statically.&lt;/li&gt;&#10;&lt;li&gt;The VPN networks are &lt;code&gt;10.8.0.0/24&lt;/code&gt; (IPv4) and &lt;code&gt;fd42:8::/64&lt;/code&gt; (IPv6); the server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt; / &lt;code&gt;fd42:8::1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;WireGuard listens on port &lt;code&gt;51820/udp&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Fail2Ban Configuration</title><link>https://talhatabak.com/self-hosting/fail2ban/</link><pubDate>Sat, 21 Nov 2026 00:12:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/fail2ban/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done (Fail2Ban is installed together with iRedMail).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The VPN networks are &lt;code&gt;10.8.0.0/24&lt;/code&gt; and &lt;code&gt;fd42:8::/64&lt;/code&gt; from &lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt;; these networks are never banned.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Firewalld Configuration</title><link>https://talhatabak.com/self-hosting/firewalld/</link><pubDate>Sat, 21 Nov 2026 00:11:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/firewalld/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Firewalld was turned off in &lt;a href="https://talhatabak.com/self-hosting/post-install-configuration/"&gt;1 Post-Install Configuration&lt;/a&gt;, and iRedMail&amp;rsquo;s Firewalld configuration was not applied during the installation.&lt;/li&gt;&#10;&lt;li&gt;The outside network interface is &lt;code&gt;eth0&lt;/code&gt;, and SSH runs on the default port, 22.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>A Ready Template for Docker Containers</title><link>https://talhatabak.com/self-hosting/docker-template/</link><pubDate>Sat, 21 Nov 2026 00:10:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/docker-template/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Container ports are published in the compose files as &lt;code&gt;127.0.0.1:&amp;lt;HOST_PORT&amp;gt;:&amp;lt;CONTAINER_PORT&amp;gt;&lt;/code&gt; and opened to the outside only through NGINX. The settings in &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; also bind ports published without an IP address to &lt;code&gt;127.0.0.1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Docker Setup</title><link>https://talhatabak.com/self-hosting/docker/</link><pubDate>Sat, 21 Nov 2026 00:09:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/docker/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/post-install-configuration/"&gt;1 Post-Install Configuration&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Containers are reached through the NGINX configured in &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li&gt;Firewalld is still off. Docker&amp;rsquo;s Firewalld integration is finished in &lt;a href="https://talhatabak.com/self-hosting/firewalld/"&gt;5 Firewalld Configuration&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>NGINX Configuration</title><link>https://talhatabak.com/self-hosting/nginx/</link><pubDate>Sat, 21 Nov 2026 00:08:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/nginx/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/mail-server-ssl/"&gt;2.1 Setting Up SSL for the Mail Server&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;NGINX was installed and configured by iRedMail (version 1.26 from the Rocky Linux 10 repository).&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for &lt;code&gt;mail.xenonly.com&lt;/code&gt; and &lt;code&gt;iredadmin.xenonly.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Mail Server: Extra Settings</title><link>https://talhatabak.com/self-hosting/mail-server-extras/</link><pubDate>Sat, 21 Nov 2026 00:07:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-server-extras/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The example alias forwards &lt;code&gt;abuse@xenonly.com&lt;/code&gt; to the &lt;code&gt;info@xenonly.com&lt;/code&gt; account.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Moving the Mail Server</title><link>https://talhatabak.com/self-hosting/mail-server-migration/</link><pubDate>Sat, 21 Nov 2026 00:06:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-server-migration/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done on the new server.&lt;/li&gt;&#10;&lt;li&gt;You must have root access to the old server.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The old server was also set up with iRedMail (MariaDB + &lt;code&gt;/var/vmail&lt;/code&gt;).&lt;/li&gt;&#10;&lt;li&gt;There is no valuable data on the new server yet; the &lt;code&gt;vmail&lt;/code&gt; database of the new installation can be overwritten.&lt;/li&gt;&#10;&lt;li&gt;Commands are run with root rights (&lt;code&gt;sudo&lt;/code&gt;). The server each command runs on is written before it.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Mail Server: Using a Mail Client</title><link>https://talhatabak.com/self-hosting/mail-clients/</link><pubDate>Sat, 21 Nov 2026 00:05:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-clients/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/mail-server-ssl/"&gt;2.1 Setting Up SSL for the Mail Server&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The mail server&amp;rsquo;s name is &lt;code&gt;mail.xenonly.com&lt;/code&gt; and the example user is &lt;code&gt;info@xenonly.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;The settings in this part are made in the mail client on a personal computer or phone, not on the server.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Adding a New Domain to the Mail Server</title><link>https://talhatabak.com/self-hosting/mail-server-new-domain/</link><pubDate>Sat, 21 Nov 2026 00:04:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-server-new-domain/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The main mail server is &lt;code&gt;mail.xenonly.com&lt;/code&gt;; the example domain we add is &lt;code&gt;example.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;You can edit the DNS records of &lt;code&gt;example.com&lt;/code&gt;. The mail records it needs are explained in this part.&lt;/li&gt;&#10;&lt;li&gt;iRedAdmin is reached at &lt;code&gt;https://xenonly.com/iredadmin&lt;/code&gt; before &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt;, and at &lt;code&gt;https://iredadmin.xenonly.com&lt;/code&gt; after it (only over the VPN after &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Setting Up SSL for the Mail Server</title><link>https://talhatabak.com/self-hosting/mail-server-ssl/</link><pubDate>Sat, 21 Nov 2026 00:03:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-server-ssl/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records of &lt;code&gt;mail.xenonly.com&lt;/code&gt; point to the server.&lt;/li&gt;&#10;&lt;li&gt;Port 80 (HTTP) of the server is reachable from the internet (Firewalld is still off).&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Mail Server Setup</title><link>https://talhatabak.com/self-hosting/mail-server/</link><pubDate>Sat, 21 Nov 2026 00:02:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-server/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/post-install-configuration/"&gt;1 Post-Install Configuration&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;iRedMail must be installed on a freshly installed server; this part installs the first service on the server.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The name of the mail server (hostname) is set to &lt;code&gt;mail.xenonly.com&lt;/code&gt; and the first mail domain is &lt;code&gt;xenonly.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for &lt;code&gt;xenonly.com&lt;/code&gt; and &lt;code&gt;mail.xenonly.com&lt;/code&gt;. The other records mail needs (MX, SPF, DKIM, DMARC, PTR) are added in this part.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The DNS checks with &lt;code&gt;dig&lt;/code&gt; are done from a personal computer.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Post-Install Configuration</title><link>https://talhatabak.com/self-hosting/post-install-configuration/</link><pubDate>Sat, 21 Nov 2026 00:01:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/post-install-configuration/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;A server (VPS) with Rocky Linux 10 installed and open to the internet&lt;/li&gt;&#10;&lt;li&gt;A normal user with &lt;code&gt;sudo&lt;/code&gt; rights, created during the installation, and an SSH key added for this user&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;You can connect to the server over SSH with this user and get root rights with &lt;code&gt;sudo&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;All commands are run on the server as this user. Commands that need root rights are written with &lt;code&gt;sudo&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Planning and Architecture</title><link>https://talhatabak.com/self-hosting/planning-and-architecture/</link><pubDate>Sat, 21 Nov 2026 00:00:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/planning-and-architecture/</guid><description>&lt;p&gt;In this series I&amp;rsquo;ll look at what you can self-host on a &lt;a class="term" data-term="vps" href="https://talhatabak.com/glossary/#vps" aria-describedby="term-def-vps"&gt;VPS&lt;/a&gt; and how to do it, in a technical and hands-on way.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Server and Environment&#10; &lt;div id="server-and-environment" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#server-and-environment" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;This is the server I used while preparing these documents:&lt;/p&gt;</description></item><item><title>About</title><link>https://talhatabak.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://talhatabak.com/about/</guid><description>&lt;p&gt;Hi, I&amp;rsquo;m Talha.&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;m actively interested in technology, and I use this blog to:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Take notes on what I do and document it.&lt;/li&gt;&#10;&lt;li&gt;Understand my work better while I write about it, and research it more so it is good enough to share.&lt;/li&gt;&#10;&lt;li&gt;Show readers what I did and how to do it, and maybe help them see the bigger picture.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Contact&#10; &lt;div id="contact" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#contact" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;If you find a mistake in a post or want to ask something, you can write to me.&lt;/p&gt;</description></item><item><title>Glossary</title><link>https://talhatabak.com/glossary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://talhatabak.com/glossary/</guid><description/></item><item><title>Posts</title><link>https://talhatabak.com/posts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://talhatabak.com/posts/</guid><description/></item></channel></rss>