<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stefan Sabolowitsch</title>
    <description>The latest articles on DEV Community by Stefan Sabolowitsch (@stefan_sabolowitsch_3bd10).</description>
    <link>https://dev.to/stefan_sabolowitsch_3bd10</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2288152%2F2a45461c-1384-4511-b499-3ea2a0240780.png</url>
      <title>DEV Community: Stefan Sabolowitsch</title>
      <link>https://dev.to/stefan_sabolowitsch_3bd10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stefan_sabolowitsch_3bd10"/>
    <language>en</language>
    <item>
      <title>Self-Hosted Zero Trust – Getting Started with Pangolin (Part 2)</title>
      <dc:creator>Stefan Sabolowitsch</dc:creator>
      <pubDate>Thu, 03 Dec 2026 07:45:05 +0000</pubDate>
      <link>https://dev.to/stefan_sabolowitsch_3bd10/self-hosted-zero-trust-getting-started-with-pangolin-part-2-2nb0</link>
      <guid>https://dev.to/stefan_sabolowitsch_3bd10/self-hosted-zero-trust-getting-started-with-pangolin-part-2-2nb0</guid>
      <description>&lt;p&gt;&lt;em&gt;Part 2 – Getting started with Pangolin&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In &lt;a href="https://dev.to/stefan_sabolowitsch_3bd10/self-hosted-zero-trust-a-journey-not-a-masterclass-57b8"&gt;Part 1&lt;/a&gt;, I described how my homelab ended up with Pangolin, Traefik, CrowdSec and k3s.&lt;/p&gt;

&lt;p&gt;Looking at that setup today, it's quite easy to get the impression that you need all of those components to get started. You don't.&lt;/p&gt;

&lt;p&gt;My own journey started with Docker Compose. If I were setting everything up again, I'd start there too, with one application and a fairly modest goal: being able to access it from outside my home network without forwarding a port on my router for it.&lt;/p&gt;

&lt;p&gt;Everything else can come later.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Pangolin actually does
&lt;/h2&gt;

&lt;p&gt;The thing that appealed to me about Pangolin was that it changed where I had to expose my services.&lt;/p&gt;

&lt;p&gt;Instead of directing internet traffic straight towards my home network, I could put a gateway on a public VPS. A connector at home establishes a tunnel to that gateway, and I decide which applications can be reached through it.&lt;/p&gt;

&lt;p&gt;There are four names you'll come across:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Where it runs&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pangolin&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Manages resources, identities and access policies&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Traefik&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Handles web traffic, reverse proxying and TLS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gerbil&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Provides the WireGuard tunnel endpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Newt&lt;/td&gt;
&lt;td&gt;Home network&lt;/td&gt;
&lt;td&gt;Connects the private network to Pangolin&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A Site is the object you create in Pangolin to represent a network or location. Newt is the software running at that location which connects the Site to your gateway.&lt;/p&gt;

&lt;p&gt;For a first web application, the architecture can be as simple as this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;     Browser
        |
      HTTPS
        |
  +-------------------+
  | Public VPS        |
  | Pangolin          |
  | Traefik + Gerbil  |
  +-------------------+
        ^
        | WireGuard tunnel
        | initiated from home
        |
  +-------------------+
  | Home network      |
  | Newt -&amp;gt; Web app   |
  +-------------------+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The arrow shows Newt initiating the tunnel from home. Requests and responses travel over the established connection.&lt;/p&gt;

&lt;p&gt;For the application in this example, no inbound port forwarding is required at home. The VPS, however, is exposed to the internet and has become part of the security boundary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with a small VPS
&lt;/h2&gt;

&lt;p&gt;I'd suggest a clean Linux VPS, a domain whose DNS records you can manage, and a little time to get familiar with the system.&lt;/p&gt;

&lt;p&gt;You don't need a machine the size of the one I described in Part 1. Mine also runs a number of other workloads. For a small gateway, size the server according to the official &lt;a href="https://docs.pangolin.net/self-host/choosing-a-vps/" rel="noopener noreferrer"&gt;VPS recommendations&lt;/a&gt; and your expected traffic.&lt;/p&gt;

&lt;p&gt;For this article, let's use &lt;code&gt;example.com&lt;/code&gt; rather than a real domain.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;DNS record&lt;/th&gt;
&lt;th&gt;Destination&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;pangolin.example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Public IP of the VPS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;demo.example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Public IP of the VPS&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A wildcard DNS record can save some work later, but it doesn't publish applications on its own. And don't rely on an obscure hostname to keep a service hidden. Publicly trusted certificates issued for individual hostnames can reveal those names in Certificate Transparency logs, searchable through sites such as &lt;a href="https://crt.sh/" rel="noopener noreferrer"&gt;crt.sh&lt;/a&gt;. A wildcard certificate need not list each covered hostname, but neither a wildcard nor an obscure DNS name is access control.&lt;/p&gt;

&lt;p&gt;The standard self-hosted configuration uses TCP 80 and 443 for web traffic and certificate validation, UDP 51820 for site tunnels, and UDP 21820 when clients need the default relay endpoint. Check the &lt;a href="https://docs.pangolin.net/self-host/dns-and-networking" rel="noopener noreferrer"&gt;networking documentation&lt;/a&gt; for your chosen configuration.&lt;/p&gt;

&lt;p&gt;These ports belong on the VPS, not on your home router. I prefer SSH key authentication with password login disabled and SSH access limited by the provider firewall where practical.&lt;/p&gt;

&lt;p&gt;One Docker trap worth knowing about: a published container port can bypass the rules you configured in &lt;code&gt;ufw&lt;/code&gt;. Docker explains why in its &lt;a href="https://docs.docker.com/engine/network/packet-filtering-firewalls/" rel="noopener noreferrer"&gt;firewall documentation&lt;/a&gt;. Check the provider firewall too, and check from outside the VPS rather than relying on &lt;code&gt;ufw status&lt;/code&gt; alone. From another machine, scan only an address you own or are authorised to test:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Replace the documentation address with your own VPS IPv4 address&lt;/span&gt;
nmap -Pn -p- 203.0.113.10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This checks TCP ports. Check IPv6 separately if you use it; for the WireGuard UDP ports, also verify the firewall rules and an actual Newt connection. A silent UDP port is not proof that it is closed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Pangolin
&lt;/h2&gt;

&lt;p&gt;Pangolin has an official installer, and for a new installation I'd use the &lt;a href="https://docs.pangolin.net/self-host/quick-install" rel="noopener noreferrer"&gt;Quick Install Guide&lt;/a&gt; rather than copy a large Compose file from somebody's blog — including mine.&lt;/p&gt;

&lt;p&gt;The installer prepares the container stack and asks for the information needed to configure your server. For our example, choose Community Edition, use &lt;code&gt;example.com&lt;/code&gt; as the base domain and &lt;code&gt;pangolin.example.com&lt;/code&gt; for the dashboard. Enable tunnelling, and provide an email address for certificate registration. Read the installer and its requirements before running it with elevated privileges.&lt;/p&gt;

&lt;p&gt;Once the containers are running, a useful first check from the installation directory is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose ps
docker compose logs --tail=50 pangolin
docker compose logs --tail=50 traefik
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the initial setup token as described in the official guide, create your administrator account and your first organisation. Keep the token and site credentials out of screenshots and shared logs. Use a unique administrator password and enable two-factor authentication (TOTP). Check that the dashboard has a valid HTTPS certificate before entering credentials. If certificate issuance fails, the Traefik log is the first place I would look.&lt;/p&gt;

&lt;p&gt;At this point, resist the temptation to add every service you run. I know that's the interesting part, but one working resource is enough to start with.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting your home network
&lt;/h2&gt;

&lt;p&gt;Create a Pangolin Site in the dashboard and call it something like &lt;code&gt;home-lab&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Pangolin provides the credentials when you create the Site. Install the connector on a machine that can reach the application. I use standalone Newt, which is still supported; the current documentation recommends the Pangolin CLI for new sites. The &lt;a href="https://docs.pangolin.net/manage/sites/install-newt" rel="noopener noreferrer"&gt;Newt installation guide&lt;/a&gt; covers both the recommendation and the standalone installation options.&lt;/p&gt;

&lt;p&gt;Keep the generated site credentials private. They are what allow the connector to establish its connection to your gateway.&lt;/p&gt;

&lt;p&gt;Before adding an application, check that the site is online and that the application is reachable from the connector's network. Those are two separate things: a healthy tunnel doesn't guarantee a healthy backend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Publishing the first application
&lt;/h2&gt;

&lt;p&gt;I'd start with a disposable web application or a simple test page, not an administration interface or a password manager.&lt;/p&gt;

&lt;p&gt;Here is an illustrative resource configuration:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Resource type&lt;/td&gt;
&lt;td&gt;Public HTTP/HTTPS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Public hostname&lt;/td&gt;
&lt;td&gt;&lt;code&gt;demo.example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Site&lt;/td&gt;
&lt;td&gt;&lt;code&gt;home-lab&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;&lt;code&gt;http://192.168.10.20:8080&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Access&lt;/td&gt;
&lt;td&gt;Pangolin authentication required; grant a dedicated test role&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The backend address is just an example. Use an address Newt can actually reach. In a normal Docker bridge network, &lt;code&gt;localhost&lt;/code&gt; inside a container points back to that container, not the host or its neighbours.&lt;/p&gt;

&lt;p&gt;I've hit the same class of problem elsewhere: my Forgejo runner talked to Forgejo via the public URL, although both were on the same Docker network. Switching to &lt;code&gt;http://forgejo:3000/&lt;/code&gt; brought it back online. Before troubleshooting the gateway, establish which network the connecting process is actually using.&lt;/p&gt;

&lt;p&gt;Once the resource is configured, switch off Wi-Fi on your phone and open its HTTPS URL using mobile data. With the access policy enabled, Pangolin should require authentication before allowing the request through to the application.&lt;/p&gt;

&lt;p&gt;I would keep any existing application authentication in place. There is no reason to remove a working security layer merely because we've added another one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Public doesn't necessarily mean anonymous
&lt;/h2&gt;

&lt;p&gt;A public HTTPS resource has a publicly reachable endpoint on the gateway. You can still require a user to authenticate and grant access only to selected users or roles. That is useful when you want browser access without installing a client on every device.&lt;/p&gt;

&lt;p&gt;A private resource, by contrast, is reached through the Pangolin client, with access granted to the relevant users or roles. For something like a private administration service, I'd start by asking whether it needs a public endpoint at all.&lt;/p&gt;

&lt;p&gt;Be particularly careful with raw public TCP and UDP resources. They forward traffic without the identity-aware authentication applied to protected web resources. A tunnel alone doesn't turn an arbitrary protocol into an authenticated web application.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://docs.pangolin.net/manage/resources/understanding-resources" rel="noopener noreferrer"&gt;resource documentation&lt;/a&gt; explains the different access models and supported site types.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test what happens when access is denied
&lt;/h2&gt;

&lt;p&gt;It's tempting to declare the installation finished as soon as the first application loads. I'd spend a few more minutes checking the other side of the access policy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On your phone, using mobile data and a fresh private browser session, open the URL without signing in. Expect a login prompt rather than the test page.&lt;/li&gt;
&lt;li&gt;Sign in as an ordinary test user with the assigned role. The test page should load.&lt;/li&gt;
&lt;li&gt;Sign in as another test user without that role or any direct grant. The test page should remain inaccessible.&lt;/li&gt;
&lt;li&gt;With the first user still signed in, remove their access from a separate administrator session and reload the page, bypassing the cache. I haven't tested how quickly existing sessions lose access, so check it rather than assume it. Explicit &lt;a href="https://docs.pangolin.net/manage/resources/public/resource-sessions" rel="noopener noreferrer"&gt;session revocation&lt;/a&gt; is available in Enterprise Edition and Cloud.&lt;/li&gt;
&lt;li&gt;From an external network, try reaching your own home WAN address on the backend's port rather than using the Pangolin hostname. It should not return the test page. Check the router's port-forwarding rules and, if the backend has a globally routed IPv6 address, test that path too. A successful visit through Pangolin alone tells you nothing about direct exposure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal isn't just to see a successful login. It's to establish that access works for the people who should have it and doesn't work for those who shouldn't.&lt;/p&gt;

&lt;p&gt;If something fails, don't immediately disable authentication. Check DNS, TLS, the site connection, the backend and the access policy separately.&lt;/p&gt;

&lt;p&gt;I learned that lesson again after a VPS reboot during my Docker Compose days. The applications, Pangolin and Gerbil were healthy, but Traefik hadn't restarted. The culprit turned out to be my own log rotation setup: the &lt;code&gt;postrotate&lt;/code&gt; hook in &lt;code&gt;/etc/logrotate.d/traefik&lt;/code&gt; called &lt;code&gt;docker kill --signal=USR1 traefik&lt;/code&gt;. In my setup, Docker had recorded Traefik as manually stopped, so &lt;code&gt;restart: unless-stopped&lt;/code&gt; left it down after the reboot. Nothing was wrong with the tunnel.&lt;/p&gt;

&lt;p&gt;The immediate recovery was simple: &lt;code&gt;docker start traefik&lt;/code&gt;. For the permanent fix, I settled on removing the &lt;code&gt;postrotate&lt;/code&gt; hook that sent the signal, while keeping both &lt;code&gt;copytruncate&lt;/code&gt; and &lt;code&gt;restart: unless-stopped&lt;/code&gt;. There was no need to change the restart policy or restart the whole stack.&lt;/p&gt;

&lt;p&gt;That's why &lt;code&gt;docker compose ps&lt;/code&gt; is still one of my first checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I wouldn't add just yet
&lt;/h2&gt;

&lt;p&gt;My production setup now runs on k3s, with CrowdSec and additional HTTP protection. Those components serve a purpose in my environment, but they aren't prerequisites for this first step.&lt;/p&gt;

&lt;p&gt;I'd establish a working baseline first. Keep the gateway updated and protect the administrator account.&lt;/p&gt;

&lt;p&gt;For the standard Docker Compose installation, Pangolin's persistent data is under &lt;code&gt;config/&lt;/code&gt;, next to &lt;code&gt;docker-compose.yml&lt;/code&gt;. That includes the main configuration, SQLite data, the Gerbil key and Traefik configuration and certificate storage. See the &lt;a href="https://docs.pangolin.net/self-host/manual/docker-compose" rel="noopener noreferrer"&gt;Compose layout&lt;/a&gt; and &lt;a href="https://docs.pangolin.net/self-host/how-to-update" rel="noopener noreferrer"&gt;update guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For a small SQLite-backed installation, I'd schedule a short maintenance window, stop the stack and copy the whole &lt;code&gt;config/&lt;/code&gt; directory, the Compose file and any additional environment or mounted configuration files. Start the stack again afterwards. Keep the backup encrypted and off the VPS, and try restoring it in a separate environment. If you've chosen different mounts or an external database, include those in your backup plan as well. A database copied while writes are in progress isn't something I'd rely on without a consistent backup method.&lt;/p&gt;

&lt;p&gt;There is also a reason I'm working on simplifying my own Helm chart: the more I use this setup, the more I appreciate the difference between options that are useful and options that are essential. I haven't finished that work yet, so for now the official installation path remains my recommendation for getting started.&lt;/p&gt;

&lt;h2&gt;
  
  
  A final thought
&lt;/h2&gt;

&lt;p&gt;One of the pleasant things about this approach is that my applications don't have to move. I can leave them on the machines where they already run, while changing how I reach them from outside.&lt;/p&gt;

&lt;p&gt;But Pangolin hasn't removed the need to secure my applications, my connector or my VPS. It has given me a better place to make decisions about access.&lt;/p&gt;

&lt;p&gt;To me, that's a good first step towards Zero Trust. Not because I've installed something with the right label, but because I can be more deliberate about who gets to reach what.&lt;/p&gt;

&lt;p&gt;You don't have to expose your entire homelab to use one application from outside. Most of mine can simply stay private. I'd start with one application, test it and add the next one when I actually need it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.pangolin.net/about/how-pangolin-works" rel="noopener noreferrer"&gt;Pangolin – How it works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.pangolin.net/self-host/quick-install" rel="noopener noreferrer"&gt;Pangolin – Quick Install Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.pangolin.net/self-host/dns-and-networking" rel="noopener noreferrer"&gt;Pangolin – DNS &amp;amp; Networking&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.pangolin.net/manage/sites/install-newt" rel="noopener noreferrer"&gt;Pangolin – Install Newt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.pangolin.net/manage/resources/understanding-resources" rel="noopener noreferrer"&gt;Pangolin – Understanding Resources&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/fosrl/pangolin" rel="noopener noreferrer"&gt;Pangolin on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.docker.com/engine/network/packet-filtering-firewalls/" rel="noopener noreferrer"&gt;Docker – Packet filtering and firewalls&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://letsencrypt.org/docs/ct-logs/" rel="noopener noreferrer"&gt;Let's Encrypt – Certificate Transparency&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Next in this series: Integrating CrowdSec – because controlling who can reach an application is only one part of dealing with traffic from the internet.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI disclosure: I used AI to help draft and edit this article and to check it against the documentation. The experiences described are from my own homelab. I haven't re-run the example installation for this article, and the session-revocation behaviour is untested.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>security</category>
      <category>homelab</category>
      <category>networking</category>
    </item>
    <item>
      <title>Self-Hosted Zero Trust – A Journey, Not a Masterclass</title>
      <dc:creator>Stefan Sabolowitsch</dc:creator>
      <pubDate>Thu, 26 Nov 2026 08:37:19 +0000</pubDate>
      <link>https://dev.to/stefan_sabolowitsch_3bd10/self-hosted-zero-trust-a-journey-not-a-masterclass-57b8</link>
      <guid>https://dev.to/stefan_sabolowitsch_3bd10/self-hosted-zero-trust-a-journey-not-a-masterclass-57b8</guid>
      <description>&lt;h2&gt;
  
  
  Self-Hosted Zero Trust – A Journey, Not a Masterclass
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Part 1 – How I ended up running Pangolin, CrowdSec and k3s&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I've been working in IT for more than 35 years, and somehow it still hasn't stopped being a hobby. My homelab is probably the best evidence of that.&lt;/p&gt;

&lt;p&gt;What started as a simple self-hosted environment has gradually turned into something more interesting: a combination of Pangolin, Traefik, CrowdSec and k3s, running on a relatively inexpensive VPS and connected to services in my home network.&lt;/p&gt;

&lt;p&gt;Getting there wasn't always easy. Some things worked surprisingly well. Others kept me busy for evenings that I had originally planned to spend doing something completely different. If you run a homelab, you probably know the feeling.&lt;/p&gt;

&lt;p&gt;This is the first in a series of articles about that journey. It's not a reference architecture, and it certainly isn't a Kubernetes masterclass. I simply want to share some of the things I've learned along the way, including the mistakes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem with exposing services
&lt;/h2&gt;

&lt;p&gt;Running a service at home is easy enough these days. A container, a volume, a few environment variables, and you're usually up and running.&lt;/p&gt;

&lt;p&gt;Making that service available from outside your network is where things get interesting. For years, the usual approach was something like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Forward a port on your router.&lt;/li&gt;
&lt;li&gt;Set up a reverse proxy.&lt;/li&gt;
&lt;li&gt;Get a TLS certificate.&lt;/li&gt;
&lt;li&gt;Add authentication if the application needs it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And it works. But as the number of services grows, so does the number of things you need to maintain and protect.&lt;/p&gt;

&lt;p&gt;What happens if an application has an authentication vulnerability? What about an administration interface that was never really intended to face the internet? And how much unwanted traffic is reaching those services in the first place?&lt;/p&gt;

&lt;p&gt;I wanted an alternative that wouldn't require opening incoming ports at home for the applications I wanted to access remotely. I also didn't want to connect to a conventional VPN every time I needed to access a web application.&lt;/p&gt;

&lt;p&gt;That's where Pangolin came into the picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Enter Pangolin
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pangolin.net/" rel="noopener noreferrer"&gt;Pangolin&lt;/a&gt; is a self-hosted remote access platform built around tunnels, identity-aware access and a reverse proxy.&lt;/p&gt;

&lt;p&gt;The idea is simple. You run a gateway on a publicly reachable machine, and a connector inside your private network establishes an outbound connection to it. Your applications stay where they are.&lt;/p&gt;

&lt;p&gt;In my case, the picture looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                        Internet
                            |
            Public VPS (k3s)
     +-----------------------------------------+
     | Traefik &amp;lt;-&amp;gt; CrowdSec + AppSec           |
     | Pangolin                                |
     | Gerbil                                  |
     | Forgejo, inbuxa                         |
     +-----------------------------------------+
                            ^
                            |
              WireGuard tunnel (outbound from home)
                            |
                     +-------------+
                     |    Newt     |
                     +-------------+
                            |
                      Home network
                            |
                   Private applications
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Newt establishes the tunnel from inside the network. There's no need to forward incoming ports on the home router for these tunneled resources. For this setup, the public HTTPS and tunnel endpoints live on the VPS, not at home.&lt;/p&gt;

&lt;p&gt;Depending on the application, I can decide whether it should be publicly accessible, require authentication at the gateway or remain a private resource. For web applications exposed through the gateway, a browser is enough. For private network resources, Pangolin also offers a client – but that's not something I need for every web application.&lt;/p&gt;

&lt;p&gt;That distinction matters. My Git server, for example, has different requirements from an internal administration interface. Treating every application in exactly the same way would make the system either unnecessarily restrictive or unnecessarily exposed.&lt;/p&gt;

&lt;h3&gt;
  
  
  A word on "Zero Trust"
&lt;/h3&gt;

&lt;p&gt;I use the term in a practical sense, not as a NIST 800-207 checklist. No application is trusted just because a request comes from a particular network. Each resource gets its own access policy, and none of my remotely exposed homelab services require incoming ports to be opened on my home router.&lt;/p&gt;

&lt;p&gt;It isn't perfect. The VPS terminates TLS, so it's a component I have to trust – and so is the provider it runs on. Being clear about where trust remains is, I think, more useful than pretending there is none.&lt;/p&gt;

&lt;h2&gt;
  
  
  A gateway is not a complete security solution
&lt;/h2&gt;

&lt;p&gt;Pangolin solved an important part of the problem for me, but it didn't make unwanted internet traffic disappear. Public services still attract scanners, crawlers, bots and automated exploitation attempts.&lt;/p&gt;

&lt;p&gt;Anyone who has looked through reverse proxy logs on a public server will recognise this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GET /.env
GET /.git/config
GET /wp-login.php
GET /xmlrpc.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It doesn't particularly matter whether you're running WordPress. Someone will still come looking for it.&lt;/p&gt;

&lt;p&gt;Most of these requests are simply background noise on today's internet. Some are attempts to exploit known vulnerabilities. Either way, I'd rather not have my applications spend resources dealing with them.&lt;/p&gt;

&lt;p&gt;That's why I added &lt;a href="https://www.crowdsec.net/" rel="noopener noreferrer"&gt;CrowdSec&lt;/a&gt;. CrowdSec analyses logs, identifies suspicious behaviour and shares threat intelligence. Its enforcement components, called bouncers, then act on the resulting security decisions.&lt;/p&gt;

&lt;p&gt;Later, I added CrowdSec AppSec, which inspects HTTP requests before they reach an application. The two approaches complement each other: one looks at behaviour and reputation, the other examines the request itself.&lt;/p&gt;

&lt;p&gt;But there's an important distinction I didn't fully appreciate at the beginning: blocking a malicious request and banning an IP address are not necessarily the same thing.&lt;/p&gt;

&lt;p&gt;I'll come back to that in a later article.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why k3s?
&lt;/h2&gt;

&lt;p&gt;My Pangolin stack originally ran with Docker Compose. There was nothing fundamentally wrong with that, and I still use containers outside Kubernetes where it makes sense.&lt;/p&gt;

&lt;p&gt;Over time, however, I wanted a more consistent way of managing the growing number of components, persistent data, configuration changes and upgrades. I eventually moved the stack to &lt;a href="https://k3s.io/" rel="noopener noreferrer"&gt;k3s&lt;/a&gt;, a lightweight Kubernetes distribution.&lt;/p&gt;

&lt;p&gt;Before anyone closes this article because I mentioned Kubernetes: no, you don't need Kubernetes to run Pangolin or CrowdSec. Docker Compose may be perfectly sufficient for your needs.&lt;/p&gt;

&lt;p&gt;For me, k3s was an opportunity to consolidate the infrastructure and learn something new. Helm became the way to manage the deployment, and over time the configuration became increasingly reproducible.&lt;/p&gt;

&lt;p&gt;The important part isn't Kubernetes itself. It's being able to explain what is running, why it's running, and how to recover it when something goes wrong.&lt;/p&gt;

&lt;p&gt;And something will go wrong eventually.&lt;/p&gt;

&lt;h2&gt;
  
  
  When your security system blocks you
&lt;/h2&gt;

&lt;p&gt;One of the more memorable lessons came from CrowdSec: at one point, it banned my own IP address.&lt;/p&gt;

&lt;p&gt;The trigger was a generic HTTP detection scenario, &lt;code&gt;LePresidente/http-generic-403-bf&lt;/code&gt;, that treated repeated HTTP 403 responses as suspicious behaviour. CrowdSec was doing exactly what it had been configured to do – but the assumptions behind that configuration weren't right for my environment.&lt;/p&gt;

&lt;p&gt;A 403 doesn't necessarily mean someone is attacking your service. It can also be generated by an access policy, an authentication layer or a security component that is temporarily unavailable. In a layered security architecture, there are quite a few places where that can happen.&lt;/p&gt;

&lt;p&gt;The obvious quick fix would have been to allowlist my own IP. That would have stopped the bans, but not the underlying problem: any legitimate user running into an access policy could hit the same pattern.&lt;/p&gt;

&lt;p&gt;Instead, I removed that particular scenario and moved towards a more selective remediation strategy based on what had actually been detected, rather than simply on the HTTP status code.&lt;/p&gt;

&lt;p&gt;It was a useful reminder that adding another security rule is easy. Understanding how that rule interacts with everything else takes considerably more effort.&lt;/p&gt;

&lt;p&gt;Sometimes removing a rule makes the system better.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm running today
&lt;/h2&gt;

&lt;p&gt;At the time of writing, the main components of my gateway are:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Runs on&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pangolin&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Remote access and application access policies&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gerbil&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Tunnel endpoint for connectors&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Newt&lt;/td&gt;
&lt;td&gt;Home network&lt;/td&gt;
&lt;td&gt;Outbound connector to the gateway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Traefik&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Reverse proxy and TLS handling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CrowdSec&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Behaviour-based detection and IP reputation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CrowdSec AppSec&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;HTTP request inspection and protection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;k3s&lt;/td&gt;
&lt;td&gt;VPS&lt;/td&gt;
&lt;td&gt;Container orchestration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Helm&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;td&gt;Deployment and configuration management&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Versions at the time of writing (November 2026): Pangolin EE 1.27.1, Traefik 3.8.0, CrowdSec 1.8.2 and k3s v1.36.5+k3s1.&lt;/p&gt;

&lt;p&gt;The VPS is a Hetzner machine with 8 virtual CPUs and 16 GB of RAM. It doesn't just run the gateway – it also hosts Forgejo and &lt;a href="https://inbuxa.org/" rel="noopener noreferrer"&gt;inbuxa&lt;/a&gt;, a mail and groupware server I contribute to. Both deserve their own articles.&lt;/p&gt;

&lt;p&gt;Not every component is necessary for every installation. I wouldn't suggest starting with the entire stack on day one.&lt;/p&gt;

&lt;p&gt;Start with the problem you actually have.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd like to share in this series
&lt;/h2&gt;

&lt;p&gt;Over the coming articles, I'd like to look at:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Getting started with Pangolin.&lt;/li&gt;
&lt;li&gt;Integrating CrowdSec without making the setup unnecessarily complicated.&lt;/li&gt;
&lt;li&gt;Understanding AppSec, WAF blocks and IP bans.&lt;/li&gt;
&lt;li&gt;Moving from Docker Compose to k3s, if that makes sense for you.&lt;/li&gt;
&lt;li&gt;Backups, upgrades and recovery.&lt;/li&gt;
&lt;li&gt;Running applications such as inbuxa behind the gateway.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm also working towards making my Helm chart easier for others to use. The current chart has grown alongside my infrastructure. It contains quite a few things that make sense in my own environment, but wouldn't necessarily make sense for someone deploying Pangolin for the first time.&lt;/p&gt;

&lt;p&gt;I'd like to change that. Ideally, getting started should require a small configuration file and a Helm command, not an evening spent understanding several hundred lines of YAML. The advanced options can still be there for those who need them.&lt;/p&gt;

&lt;h2&gt;
  
  
  A final thought
&lt;/h2&gt;

&lt;p&gt;Much of what I've learned over the years came from people who took the time to document their work, explain a problem in a forum or publish a solution that saved me hours of troubleshooting.&lt;/p&gt;

&lt;p&gt;This series is my attempt to give a little of that back.&lt;/p&gt;

&lt;p&gt;I'm not claiming to have found the perfect way to secure self-hosted infrastructure. There are other approaches, and some will undoubtedly be better suited to your environment.&lt;/p&gt;

&lt;p&gt;But if something I learned the hard way saves somebody else an evening of troubleshooting, writing these articles will have been worthwhile. And if you've found a better way of doing something, I'd genuinely like to hear about it.&lt;/p&gt;

&lt;p&gt;That's what a community is for.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://pangolin.net/" rel="noopener noreferrer"&gt;Pangolin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/fosrl/pangolin" rel="noopener noreferrer"&gt;Pangolin source code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.crowdsec.net/" rel="noopener noreferrer"&gt;CrowdSec&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.crowdsec.net/" rel="noopener noreferrer"&gt;CrowdSec documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://traefik.io/" rel="noopener noreferrer"&gt;Traefik&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://k3s.io/" rel="noopener noreferrer"&gt;k3s&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://helm.sh/" rel="noopener noreferrer"&gt;Helm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Next in this series: Getting started with Pangolin – and why you don't need to expose your entire homelab to the internet.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>security</category>
      <category>kubernetes</category>
      <category>opensource</category>
    </item>
    <item>
      <title>inbuxa: a Stalwart fork where every "enterprise" feature is in the free install</title>
      <dc:creator>Stefan Sabolowitsch</dc:creator>
      <pubDate>Sat, 14 Nov 2026 09:28:13 +0000</pubDate>
      <link>https://dev.to/stefan_sabolowitsch_3bd10/inbuxa-a-stalwart-fork-where-every-enterprise-feature-is-in-the-free-install-3i39</link>
      <guid>https://dev.to/stefan_sabolowitsch_3bd10/inbuxa-a-stalwart-fork-where-every-enterprise-feature-is-in-the-free-install-3i39</guid>
      <description>&lt;p&gt;If you self-host mail for more than yourself, you know the moment: the server is great, then you need multi-tenancy, SCIM provisioning from Entra ID, or undelete for the colleague who emptied the wrong folder. And that's where the license key starts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://inbuxa.org/" rel="noopener noreferrer"&gt;inbuxa&lt;/a&gt;&lt;/strong&gt; takes a different route. It's a fork of the Stalwart mail server, and every one of those features ships in the one AGPL-3.0 edition. There's no license key, no per-seat fee, no paid tier, and nothing phones home.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I'm not part of Coffey Labs, but I've contributed several pull requests to inbuxa and to the Bulwark webmail client. I run Windows and Linux infrastructure for a living, and this is the mail server I wish I'd had years ago.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One Rust binary for &lt;strong&gt;JMAP, IMAP, POP3, SMTP, CalDAV, CardDAV, WebDAV, Sieve/ManageSieve&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Admin console and webmail are &lt;strong&gt;separate programs&lt;/strong&gt; that sign in with OAuth over JMAP. The mail host serves no web UI at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Included:&lt;/strong&gt; multi-tenancy, masked addresses, undelete, SCIM 2.0, per-domain directories (LDAP/SQL/OIDC), branding, monitoring with live tracing, scale-out storage&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Also included, beyond Stalwart's public feature list:&lt;/strong&gt; DLP, journaling, legal holds, a tamper-evident audit log, locked accounts, shared mailboxes&lt;/li&gt;
&lt;li&gt;License: &lt;strong&gt;AGPL-3.0&lt;/strong&gt;, one edition&lt;/li&gt;
&lt;li&gt;Try it: &lt;a href="https://demo.inbuxa.org" rel="noopener noreferrer"&gt;demo.inbuxa.org&lt;/a&gt; · Docs: &lt;a href="https://docs.inbuxa.org" rel="noopener noreferrer"&gt;docs.inbuxa.org&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why fork a good mail server?
&lt;/h2&gt;

&lt;p&gt;Stalwart is excellent software, and inbuxa's author, John Coffey, says so openly: he ran it in production. In his &lt;a href="https://jcoffey.dev/articles/inbuxa-is-here/" rel="noopener noreferrer"&gt;launch post&lt;/a&gt; he gives three reasons for forking anyway:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Security.&lt;/strong&gt; No web interface on the mail host. &lt;code&gt;/admin&lt;/code&gt; and &lt;code&gt;/account&lt;/code&gt; return 404, and even the first boot runs entirely over JMAP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Topology.&lt;/strong&gt; Server, console and webmail really are separate, so each can sit on a different machine or network. You can't get that by patching a monolith.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feature gating.&lt;/strong&gt; The features you need to host mail &lt;em&gt;for other people&lt;/em&gt; (multi-tenancy, directory integration, provisioning, audit, monitoring, scale-out storage) shouldn't sit behind a paywall.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The fork went public on 20 September 2026. inbuxa's own mail moved over in a &lt;strong&gt;78-second cutover window&lt;/strong&gt; with no rollback.&lt;/p&gt;

&lt;h2&gt;
  
  
  The suite
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;inbuxa Server&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;JMAP, IMAP, SMTP, POP3 and DAV, plus storage, delivery, spam filtering and the admin API, in one Rust binary or container image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;inbuxa Admin&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Tenants, domains, accounts, queue, certificates, metrics, live delivery tracing, guided jobs such as DNS publishing. Its screens are generated from the server's own description of its settings.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;inbuxa Webmail&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Mail, calendar, contacts and files on desktop and mobile, with helpdesk account management. Built on ihasmail.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;inbuxa installer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sets up all three, completes first boot and writes your DNS records&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;inbuxa-migrate&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Moves accounts from IMAP, JMAP, DAV, Maildir, Google Takeout, Exchange or Stalwart&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The deployment model deserves a closer look. Only &lt;strong&gt;port 25&lt;/strong&gt; has to be reachable from everywhere. The console and webmail can sit behind an allowlist or on a private network, from one box up to a three-way split for multi-tenant setups. If your admin UI has ever shown up in a Shodan search, you'll see why that matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's in the box
&lt;/h2&gt;

&lt;p&gt;All of this works in a standard install, with no license check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-tenancy:&lt;/strong&gt; per-tenant domains, accounts, admins and resource limits, with tenants isolated from each other&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Masked addresses&lt;/strong&gt; you can cut off one by one&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Undelete&lt;/strong&gt; for mail, files, events, contacts and filters, with a configurable retention period&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SCIM 2.0 provisioning&lt;/strong&gt; from Entra ID, Okta, Keycloak and others&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-domain sign-in:&lt;/strong&gt; each domain can have its own LDAP, SQL or OpenID Connect directory&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branding:&lt;/strong&gt; logos and email templates at server, tenant or domain level&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability:&lt;/strong&gt; traced and retained deliveries, searchable metrics history, alerts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email authentication:&lt;/strong&gt; per-domain DKIM, SPF/DKIM/DMARC checks, automatic Let's Encrypt certificates, generated DNS records&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scaling:&lt;/strong&gt; read replicas and distributed message storage&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Compliance features you won't find on Stalwart's feature list
&lt;/h3&gt;

&lt;p&gt;This is where inbuxa goes past being "Stalwart Enterprise for free." It adds features that schools, SMBs and regulated organizations ask for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Data loss prevention&lt;/strong&gt; with 49 identifier detectors (card numbers, ID numbers, keys, custom terms), which can warn, hold for review or block&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Journaling&lt;/strong&gt;, with optional archiving to an outside system&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legal holds&lt;/strong&gt;, exportable as a verifiable ZIP&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit log&lt;/strong&gt; of admin changes, checked for tampering&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Locked accounts&lt;/strong&gt; that keep receiving mail while a colleague takes over&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legacy protocols&lt;/strong&gt; you can switch off per tenant or server-wide, plus a security to-do list in the console&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;GDPR-oriented data inventory&lt;/strong&gt; in the docs&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  More than a rebranded fork
&lt;/h2&gt;

&lt;p&gt;Forking takes an afternoon. A fork that strangers can install, trust with their mail and still upgrade a year later takes a lot more. Coffey Labs &lt;a href="https://coffeylabs.org/news/making-a-fork-a-product/" rel="noopener noreferrer"&gt;published the numbers&lt;/a&gt; as of 26 October 2026:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;77 fixes&lt;/strong&gt; to inherited code (PKCE handling, DNSSEC/TLSA rechecks, audit logging for cross-account access, cluster role changes without restarts, better search on PostgreSQL and MySQL, and more)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;128 reworked&lt;/strong&gt; inherited features, five of them performance improvements&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5,329 tests&lt;/strong&gt;: 3,449 new, 1,880 inherited, 1,725 of which run unchanged&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;433 documentation pages&lt;/strong&gt;, covering install, operations and migration&lt;/li&gt;
&lt;li&gt;About &lt;strong&gt;123k lines&lt;/strong&gt; of new server code, &lt;strong&gt;81k&lt;/strong&gt; in the console, &lt;strong&gt;108k&lt;/strong&gt; in the webmail&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;43 server releases&lt;/strong&gt; so far&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Coffey Labs runs its own mail on a three-node inbuxa cluster and deploys every release there first.&lt;/p&gt;

&lt;h3&gt;
  
  
  Clean-room, and documented
&lt;/h3&gt;

&lt;p&gt;This is the part I trust most. The nine features that only exist in Stalwart's separately licensed edition were &lt;strong&gt;rebuilt clean-room&lt;/strong&gt; from written specs that were committed &lt;em&gt;before&lt;/em&gt; the implementation started. You can read them in the repo under &lt;code&gt;docs/spec/features/&lt;/code&gt;, alongside strip reports in &lt;code&gt;docs/fork/strip-reports/&lt;/code&gt;. Upstream copyright notices are kept, and changed files say so in their headers.&lt;/p&gt;

&lt;p&gt;The server and console are AGPL-3.0-only, the same as upstream. The webmail is AGPL-3.0-or-later. inbuxa is not affiliated with or endorsed by Stalwart Labs LLC, which owns the Stalwart trademark.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI: one feature, off by default
&lt;/h2&gt;

&lt;p&gt;You won't find an AI buzzword on every screen. There's one AI feature: the spam filter can use a language model as &lt;em&gt;one&lt;/em&gt; signal, and a Sieve function can query a model. It's &lt;strong&gt;off by default&lt;/strong&gt; and designed for a &lt;strong&gt;local, auditable model&lt;/strong&gt;. It only sees the subject and text, doesn't log that content, and skips models that are slow or failing. If you point it at a remote endpoint, mail content leaves your network, and the docs say so plainly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bring your own webmail: Bulwark
&lt;/h2&gt;

&lt;p&gt;Prefer &lt;a href="https://bulwarkmail.org/" rel="noopener noreferrer"&gt;Bulwark&lt;/a&gt;, the popular JMAP webmail built for Stalwart? It works with inbuxa too, and as of early November it supports inbuxa's extensions natively. I wrote two pull requests for it, and both were merged into &lt;code&gt;main&lt;/code&gt; on 7 November 2026:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/bulwarkmail/webmail/pull/1522" rel="noopener noreferrer"&gt;#1522&lt;/a&gt;: account security management.&lt;/strong&gt; inbuxa advertises its account security controls under its own JMAP capability, &lt;code&gt;urn:inbuxa:jmap:registry&lt;/code&gt;, while Stalwart uses &lt;code&gt;urn:stalwart:jmap&lt;/code&gt;. Bulwark used to know only the Stalwart one. Now it picks the namespace from the capabilities the account advertises, never from the server's name or branding. So the Security settings, including API keys and mobile QR pairing, now work against inbuxa.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/bulwarkmail/webmail/pull/1534" rel="noopener noreferrer"&gt;#1534&lt;/a&gt;: masked addresses.&lt;/strong&gt; This adds a new section under &lt;em&gt;Settings → Security&lt;/em&gt; where you can list, create, describe, enable, disable and delete masked addresses. Deleting one requires an address-specific confirmation. The same UI works on both servers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That second one shows the whole point of inbuxa nicely. On Stalwart, masked addresses are an Enterprise feature, so Bulwark hides the section on Community-edition servers, which is what most Stalwart installs run. On inbuxa the same feature is just there.&lt;/p&gt;

&lt;p&gt;Because everything goes over JMAP and OAuth, there's nothing to configure: no separate credentials and no extra backend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Local trial&lt;/strong&gt; (the whole suite on one machine, on loopback):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;inbuxa survey                     &lt;span class="c"&gt;# check the host first&lt;/span&gt;
inbuxa install --local --domain example.test --install-deps --yes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Container image:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker pull registry.coffeylabs.org/inbuxa/inbuxa-server:2026.11.11
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;From source:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo build --release -p inbuxa
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A server with no configuration starts in &lt;strong&gt;bootstrap mode&lt;/strong&gt;. The setup wizard in inbuxa Admin then takes care of the admin account, first domain, DKIM keys, ACME certificates and first mailbox, all over JMAP. The &lt;a href="https://docs.inbuxa.org/install/quick-start/" rel="noopener noreferrer"&gt;quick start&lt;/a&gt; puts a single-machine install for a household or small office at about half an hour.&lt;/p&gt;

&lt;p&gt;If you'd rather look around first, the &lt;strong&gt;&lt;a href="https://demo.inbuxa.org" rel="noopener noreferrer"&gt;demo&lt;/a&gt;&lt;/strong&gt; has 16 domains and 241 accounts with made-up traffic.&lt;/p&gt;

&lt;h3&gt;
  
  
  Coming from Stalwart?
&lt;/h3&gt;

&lt;p&gt;inbuxa inherits Stalwart's data format, so moving a Stalwart 0.16 server is an export and import, not a conversion. Accounts, passwords, sessions, certificates, tenants and mail all come across. The &lt;a href="https://docs.inbuxa.org/install/migrating/" rel="noopener noreferrer"&gt;migration guide&lt;/a&gt; lists which install steps you can skip, which is most of them. Keep the old install around for rollback, because &lt;strong&gt;mail store upgrades are one-way&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;There are also guides for Postfix + Dovecot, iRedMail, Zimbra, Exchange Server and Open-Xchange.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest part
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It's young.&lt;/strong&gt; The fork is two months old, and Coffey Labs describes adoption as "a handful of adopters." Test it before you put it in production, as you would any mail server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's a small company.&lt;/strong&gt; Coffey Labs LLC builds it. There's no foundation and no formal governance model yet. The author has publicly committed to not abandoning the project.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-assisted development.&lt;/strong&gt; The project says openly that parts of the code and site were written with AI help, and that a person reviews every contribution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's not for everyone.&lt;/strong&gt; The inbuxa site itself recommends Mailcow, Mailu, Mail-in-a-Box or mox if you only host mail for yourself or a few domains. If your organization depends on Office co-editing or Exchange-only features, a hosted suite may still suit you better.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But if you host mail for a school, a company, a club or several tenants, and you're tired of hitting license walls, inbuxa is worth an afternoon.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Website: &lt;a href="https://inbuxa.org/" rel="noopener noreferrer"&gt;inbuxa.org&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Docs: &lt;a href="https://docs.inbuxa.org/" rel="noopener noreferrer"&gt;docs.inbuxa.org&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://git.coffeylabs.org/inbuxa/inbuxa-server" rel="noopener noreferrer"&gt;git.coffeylabs.org/inbuxa/inbuxa-server&lt;/a&gt; (mirrored on GitHub)&lt;/li&gt;
&lt;li&gt;Demo: &lt;a href="https://demo.inbuxa.org" rel="noopener noreferrer"&gt;demo.inbuxa.org&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Community forum: &lt;a href="https://community.coffeylabs.org/c/inbuxa" rel="noopener noreferrer"&gt;community.coffeylabs.org/c/inbuxa&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Launch post: &lt;a href="https://jcoffey.dev/articles/inbuxa-is-here/" rel="noopener noreferrer"&gt;jcoffey.dev: inbuxa is here&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Engineering write-up: &lt;a href="https://coffeylabs.org/news/making-a-fork-a-product/" rel="noopener noreferrer"&gt;Making a fork a product&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Author on Mastodon: &lt;a href="https://linuxexpert.org/@jcoffey" rel="noopener noreferrer"&gt;@jcoffey@linuxexpert.org&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sponsor: &lt;a href="https://coffeylabs.org/support" rel="noopener noreferrer"&gt;coffeylabs.org/support&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Running inbuxa already, or migrating from Stalwart? Tell me in the comments. I'm especially interested in multi-tenant setups and in AD/Entra ID integration via SCIM.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>email</category>
      <category>rust</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Stop testing your flow collector with random NetFlow tuples</title>
      <dc:creator>Stefan Sabolowitsch</dc:creator>
      <pubDate>Fri, 10 Jul 2026 10:31:11 +0000</pubDate>
      <link>https://dev.to/stefan_sabolowitsch_3bd10/stop-testing-your-flow-collector-with-random-netflow-tuples-4c</link>
      <guid>https://dev.to/stefan_sabolowitsch_3bd10/stop-testing-your-flow-collector-with-random-netflow-tuples-4c</guid>
      <description>&lt;p&gt;If you have ever built or operated a flow collector, you know the problem: the&lt;br&gt;
usual test generators emit random tuples. Random source IP, random destination,&lt;br&gt;
random ports, random counters. That is fine for a parser smoke test — and&lt;br&gt;
useless for everything after the parser. Dashboards look like noise, enrichment&lt;br&gt;
has nothing meaningful to enrich, and "does my Top-Talkers panel actually make&lt;br&gt;
sense?" is a question random data cannot answer.&lt;/p&gt;

&lt;p&gt;I ran into this while building my own collector stack (flow collector →&lt;br&gt;
VictoriaLogs → Grafana) and converting ElastiFlow dashboards to LogsQL. I&lt;br&gt;
needed traffic that &lt;em&gt;behaves&lt;/em&gt; like an enterprise network — repeatably, at a&lt;br&gt;
controlled rate, without pointing test tooling at production. So I built one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://forgejo.sabolowitsch.org/StefanSA/flowsimulator-go" rel="noopener noreferrer"&gt;flowsimulator-go&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
is an open-source enterprise flow simulation platform written in Go. MIT&lt;br&gt;
licensed, single static binary, one dependency.&lt;/p&gt;

&lt;h2&gt;
  
  
  The core idea: simulate sessions, not tuples
&lt;/h2&gt;

&lt;p&gt;Instead of rolling dice per record, &lt;code&gt;flowsimulator-go&lt;/code&gt; models an enterprise&lt;br&gt;
network in YAML — sites, VLANs, address pools, endpoint personas&lt;br&gt;
(&lt;code&gt;windows_client&lt;/code&gt;, &lt;code&gt;domain_controller&lt;/code&gt;, &lt;code&gt;firewall&lt;/code&gt;, …), applications, and&lt;br&gt;
services — and then plays &lt;strong&gt;ordered session chains&lt;/strong&gt; on top of it.&lt;/p&gt;

&lt;p&gt;The built-in &lt;code&gt;windows-login&lt;/code&gt; template is a good example. One session produces&lt;br&gt;
six flow records, in order:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3lywrcuug8x1ww3vvosd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3lywrcuug8x1ww3vvosd.png" alt="windows-login session template: dns_query and dns_response to the DNS server, kerberos and ldap to the domain controller, smb_read and tcp_disconnect to the file server — each event emits one flow record" width="800" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;DNS before Kerberos, Kerberos before LDAP, LDAP before SMB — the way a real&lt;br&gt;
Windows logon looks on the wire. Web browsing resolves DNS before opening TLS.&lt;br&gt;
Backups authenticate before they transfer. A behaviour profile&lt;br&gt;
(&lt;code&gt;interactive-tcp&lt;/code&gt;, &lt;code&gt;bulk-transfer&lt;/code&gt;, &lt;code&gt;asymmetric-download&lt;/code&gt;, …) shapes bytes,&lt;br&gt;
packets, duration, and TCP flags per event.&lt;/p&gt;

&lt;p&gt;There are ~30 built-in templates, including security patterns: port scans,&lt;br&gt;
SSH/RDP brute force, SMB enumeration, beaconing, DNS tunneling, exfiltration,&lt;br&gt;
and lateral movement. Crucially, these run as &lt;em&gt;low-weight&lt;/em&gt; scenarios blended&lt;br&gt;
into dominant normal traffic — because a detection dashboard tested against&lt;br&gt;
100% attack traffic tells you nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  One neutral core, four wire protocols
&lt;/h2&gt;

&lt;p&gt;Architecturally, everything funnels through a protocol-neutral &lt;code&gt;FlowRecord&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhqyc8pc4ylb13tsmkqyj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhqyc8pc4ylb13tsmkqyj.png" alt="Architecture: YAML config feeds the scenario engine, which produces protocol-neutral FlowRecords that per-exporter encoders serialize as NetFlow v5, NetFlow v9, IPFIX, or sFlow v5 and send over UDP to a flow collector" width="800" height="319"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The scenario engine knows nothing about wire formats; the encoders (NetFlow v5,&lt;br&gt;
NetFlow v9, IPFIX, sFlow v5) know nothing about scenarios. Each exporter keeps&lt;br&gt;
its own encoder state — sequence numbers, NetFlow v9/IPFIX template&lt;br&gt;
refresh/cache, sFlow sample pools — so a mixed-protocol simulation behaves like&lt;br&gt;
a fleet of independent devices. Templates are derived from a central,&lt;br&gt;
source-backed IANA/IPFIX information element registry; custom enterprise IEs&lt;br&gt;
can be added via registry files.&lt;/p&gt;

&lt;p&gt;Runs are deterministic: same seed + same config = same dataset. That makes&lt;br&gt;
regression testing across collector versions actually meaningful.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quickstart
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://forgejo.sabolowitsch.org/StefanSA/flowsimulator-go.git
&lt;span class="nb"&gt;cd &lt;/span&gt;flowsimulator-go
go run ./cmd/flowsimulator-go run &lt;span class="nt"&gt;-c&lt;/span&gt; configs/examples/minimal-netflow5.yaml &lt;span class="nt"&gt;--duration&lt;/span&gt; 5s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That sends five seconds of NetFlow v5 to &lt;code&gt;127.0.0.1:2055&lt;/code&gt;. Minimal configs&lt;br&gt;
exist for all four protocols, enterprise examples model HQ/campus/datacenter/&lt;br&gt;
hybrid-cloud topologies, and a continuous lab config runs all four protocols&lt;br&gt;
until SIGTERM — useful as a permanent telemetry source for an observability&lt;br&gt;
lab or collector burn-in. A JSON status endpoint reports records, packets,&lt;br&gt;
bytes, per-protocol counters, and current rate while it runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it deliberately does NOT do
&lt;/h2&gt;

&lt;p&gt;A few honest boundaries, because I think tooling should state them up front:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No invented vendor fields.&lt;/strong&gt; Cisco/Palo Alto/Fortinet enterprise IEs only
enter the registry with a documented source. No made-up field numbers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No payloads, no PCAP replay, no fuzzing.&lt;/strong&gt; It serializes flow records,
nothing else. The security scenarios are synthetic flow &lt;em&gt;patterns&lt;/em&gt; for
testing detection pipelines — they do not perform attacks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IPv4 only for now.&lt;/strong&gt; IPv6, IPFIX Options Templates, and richer
NAT/MPLS/VXLAN/SD-WAN records are on the roadmap.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Repo: &lt;a href="https://forgejo.sabolowitsch.org/StefanSA/flowsimulator-go" rel="noopener noreferrer"&gt;https://forgejo.sabolowitsch.org/StefanSA/flowsimulator-go&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Docs: session template library, scenario model, protocol coverage plan, and
integration test strategy are all in &lt;code&gt;docs/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;License: MIT&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build or operate flow collectors — or you just want realistic NetFlow/&lt;br&gt;
IPFIX/sFlow data for a Grafana lab — I would genuinely like to hear what breaks&lt;br&gt;
and what is missing. Issues and feedback welcome.&lt;/p&gt;

</description>
      <category>go</category>
      <category>networking</category>
      <category>opensource</category>
      <category>observability</category>
    </item>
    <item>
      <title>Vaultwarden-Plus v1.36.3: Organization Account Recovery — without breaking zero-knowledge</title>
      <dc:creator>Stefan Sabolowitsch</dc:creator>
      <pubDate>Fri, 03 Jul 2026 09:17:16 +0000</pubDate>
      <link>https://dev.to/stefan_sabolowitsch_3bd10/vaultwarden-plus-v1363-organization-account-recovery-without-breaking-zero-knowledge-144</link>
      <guid>https://dev.to/stefan_sabolowitsch_3bd10/vaultwarden-plus-v1363-organization-account-recovery-without-breaking-zero-knowledge-144</guid>
      <description>&lt;p&gt;Every operator who runs Vaultwarden for a team eventually hits the same wall: &lt;strong&gt;a member forgets their master password.&lt;/strong&gt; In a zero-knowledge system that's supposed to be a dead end by design — the server can't just "reset" what it never had access to.&lt;/p&gt;

&lt;p&gt;Bitwarden solves this upstream with &lt;strong&gt;Organization Account Recovery&lt;/strong&gt;: enrolled members hand the org an encrypted recovery blob, and an admin can trigger a recovery that forces a password reset — all without the server ever seeing a plaintext password or vault key. That capability has been on the operator wishlist for Vaultwarden for a long time.&lt;/p&gt;

&lt;p&gt;As of &lt;strong&gt;v1.36.3&lt;/strong&gt;, it's integrated into Vaultwarden-Plus.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually shipped
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Admin-triggered recovery&lt;/strong&gt; for enrolled organization members, driven through the official Web Vault Admin Console.&lt;/li&gt;
&lt;li&gt;Forced password-reset flow for the affected member on next login (&lt;code&gt;update-temp-password&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Support for both &lt;strong&gt;legacy&lt;/strong&gt; and &lt;strong&gt;V2&lt;/strong&gt; password payloads, plus &lt;strong&gt;2FA-only&lt;/strong&gt; recovery requests.&lt;/li&gt;
&lt;li&gt;A Web Vault adapter that handles the older &lt;code&gt;/reset-password&lt;/code&gt; path &lt;em&gt;and&lt;/em&gt; the current &lt;code&gt;/recover-account&lt;/code&gt; calls, so official-client compatibility stays intact.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The part I care about most: the security model didn't move
&lt;/h2&gt;

&lt;p&gt;Account recovery is exactly the kind of feature that's easy to ship &lt;em&gt;badly&lt;/em&gt; — by quietly weakening the threat model. So the hard constraint was: &lt;strong&gt;zero-knowledge stays zero-knowledge.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The server still never stores plaintext master passwords, plaintext vault keys, plaintext org private keys, passkey PRF secrets, trusted-device material, or decrypted vault contents. Recovery only works when org policy, enrollment, authorization, &lt;em&gt;and&lt;/em&gt; a valid recovery payload all line up — and credential mutation stays &lt;strong&gt;fail-closed&lt;/strong&gt; if a request is malformed or incomplete. Recovery material, tokens and mail links are never logged.&lt;/p&gt;

&lt;p&gt;In other words: an admin can get a locked-out colleague back into their vault, but "admin" never becomes "can read everyone's passwords."&lt;/p&gt;

&lt;h2&gt;
  
  
  Operator notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;No database or config migration required — drop-in for existing deployments.&lt;/li&gt;
&lt;li&gt;You'll need SMTP / sendmail / SES configured for recovery notification mail.&lt;/li&gt;
&lt;li&gt;The bundled Web Vault is &lt;strong&gt;intentionally pinned to 2026.4.1&lt;/strong&gt; (validated against this recovery flow); upgrades beyond it wait until an upstream artifact is available &lt;em&gt;and&lt;/em&gt; separately validated.&lt;/li&gt;
&lt;li&gt;Validated end-to-end on an isolated stack (SQLite + Maildev): policy → enrollment → admin recovery → forced reset → completion.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;vaultwarden&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;forgejo.sabolowitsch.org/stefansa/vaultwarden-plus:1.36.3&lt;/span&gt;
    &lt;span class="na"&gt;container_name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;vaultwarden&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
    &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;DOMAIN&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://vw.domain.tld"&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./vw-data/:/data/&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;127.0.0.1:8000:80&lt;/span&gt;   &lt;span class="c1"&gt;# TLS terminates at your reverse proxy&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Release &amp;amp; full notes: &lt;a href="https://forgejo.sabolowitsch.org/StefanSA/vaultwarden-plus/releases/tag/v1.36.3" rel="noopener noreferrer"&gt;https://forgejo.sabolowitsch.org/StefanSA/vaultwarden-plus/releases/tag/v1.36.3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you run Vaultwarden for an organization, I'd love to hear how you currently handle lost-master-password situations — and whether this matches what you'd need. 🔐&lt;/p&gt;

</description>
      <category>vaultwarden</category>
      <category>selfhosted</category>
      <category>security</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Vaultwarden-Plus: A Password Manager Built for Operators</title>
      <dc:creator>Stefan Sabolowitsch</dc:creator>
      <pubDate>Wed, 24 Jun 2026 11:29:39 +0000</pubDate>
      <link>https://dev.to/stefan_sabolowitsch_3bd10/vaultwarden-plus-a-password-manager-built-for-operators-621</link>
      <guid>https://dev.to/stefan_sabolowitsch_3bd10/vaultwarden-plus-a-password-manager-built-for-operators-621</guid>
      <description>&lt;p&gt;If you search dev.to for Vaultwarden, you'll find dozens of excellent guides: how to deploy it with Docker, how to put it behind a reverse proxy, how to back it up, how to do it for $3 a month. They all answer the same question — &lt;em&gt;how do I stand this up?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This article answers a different one: &lt;strong&gt;what happens after it's running, for years, for other people?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's the question behind Vaultwarden-Plus.&lt;/p&gt;

&lt;h2&gt;
  
  
  First, the obvious disclaimer
&lt;/h2&gt;

&lt;p&gt;Vaultwarden has been my password manager of choice for years. It's lightweight, fast, reliable, and one of the best examples of what a community-driven open source project can achieve. Thousands of people use it every day to self-host their passwords while staying fully compatible with the official Bitwarden clients.&lt;/p&gt;

&lt;p&gt;So why a fork?&lt;/p&gt;

&lt;p&gt;The honest answer surprised even me: &lt;strong&gt;I wasn't looking for more features. I was looking for a project that prioritizes long-term operation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Vaultwarden-Plus is &lt;em&gt;not&lt;/em&gt; a replacement for upstream, and it's &lt;em&gt;not&lt;/em&gt; an attempt to compete. Upstream is excellent and keeps moving the whole ecosystem forward. Plus just asks a narrower question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What would a Vaultwarden distribution look like if every single decision were made from the perspective of the person who has to operate it?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  From self-hosting to operating
&lt;/h2&gt;

&lt;p&gt;Running a password manager for yourself is one thing. Running it for your family, your friends, or an organization changes the perspective completely.&lt;/p&gt;

&lt;p&gt;Every update matters. Every config change matters. Every security improvement matters. And — most underrated of all — every &lt;em&gt;unexpected behavior&lt;/em&gt; matters, because you're the one who gets the message at 23:00 that "the login is weird."&lt;/p&gt;

&lt;p&gt;Over time I'd accumulated a growing pile of local patches: security hardening, CI changes, operational notes. Eventually it stopped being a personal patch set and started being a project. Vaultwarden-Plus is that project, made public.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rules I actually maintain it by
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. The official client comes first
&lt;/h3&gt;

&lt;p&gt;One rule is close to absolute:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If the official Bitwarden clients don't work, the feature is probably wrong.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Compatibility beats experimental functionality every time. You keep using the apps you already trust — browser extension, desktop, mobile, CLI — with no modified clients and no special workflows. A "cool feature" that only works in a patched client isn't a feature for an operator; it's a future support ticket.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Validation before implementation
&lt;/h3&gt;

&lt;p&gt;Implementing everything is easy. &lt;em&gt;Maintaining&lt;/em&gt; everything is not. So every proposed change runs the same gauntlet before a single line is written:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is there a real operational problem behind it?&lt;/li&gt;
&lt;li&gt;Does an upstream solution already exist?&lt;/li&gt;
&lt;li&gt;Does it improve security?&lt;/li&gt;
&lt;li&gt;How much maintenance cost does it add?&lt;/li&gt;
&lt;li&gt;Can it be reviewed independently?&lt;/li&gt;
&lt;li&gt;Can it be removed later without breaking unrelated things?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sometimes the answer is a new feature. Sometimes the best engineering decision is to do nothing — and write down &lt;em&gt;why&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Small changes scale better
&lt;/h3&gt;

&lt;p&gt;Big rewrites look impressive in a changelog and are miserable to review and maintain three years later. Plus deliberately prefers focused, well-scoped additions. The features that exist today exist because an operator hit a real wall:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mail dispatch hardening&lt;/strong&gt; — non-critical account notifications are dispatched &lt;em&gt;outside&lt;/em&gt; latency-sensitive request paths, while critical OTP and security mails stay &lt;strong&gt;fail-closed&lt;/strong&gt;. A slow SMTP server should never block a login; a security mail should never silently get dropped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DKIM signing&lt;/strong&gt; for outgoing notification mail — because "your users' password-reset mail lands in spam" is an operational problem, not a UI one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS SES mail transport&lt;/strong&gt; — SES as a first-class alternative to plain SMTP for people who already run their mail through it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Send email verification&lt;/strong&gt; — require recipients to verify their address before they can open a Send.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenDAL / S3 enhancements&lt;/strong&gt; — better S3-compatible object storage for attachments and data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Passkey login&lt;/strong&gt; &lt;em&gt;(experimental)&lt;/em&gt; — passwordless sign-in via passkeys.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2026.5 client-compatibility updates&lt;/strong&gt; — keeping pace with recent official Bitwarden client releases, so the "official client first" rule stays true in practice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these turn the UI upside down. All of them make the service a little more &lt;em&gt;predictable&lt;/em&gt; in production — which is exactly the property you care about when other people's passwords live on your box.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Documentation is part of the product
&lt;/h3&gt;

&lt;p&gt;One lesson from years of running infrastructure: &lt;strong&gt;undocumented decisions eventually become forgotten decisions.&lt;/strong&gt; Plus keeps a small set of canonical documents that evolve with the code — current project state, implemented functionality, upstream assessments, product goals, maintenance strategy. The docs are treated as part of the software, not an afterthought.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Upstream is a partner, not a competitor
&lt;/h3&gt;

&lt;p&gt;The biggest risk for any long-lived fork is pointless divergence. So every upstream proposal gets continuously categorized into one of four buckets:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implement · Watch · Defer · Reject&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The goal is &lt;em&gt;not&lt;/em&gt; to collect the most custom features. It's to stay small, understandable, and maintainable while adopting the improvements that give operators clear value.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this means for you
&lt;/h2&gt;

&lt;p&gt;Vaultwarden-Plus will probably never have the longest feature list. &lt;strong&gt;That's intentional.&lt;/strong&gt; The focus stays on security, operational reliability, maintainability, reproducible releases, and compatibility with the official clients.&lt;/p&gt;

&lt;p&gt;If you already run Vaultwarden, the switch is meant to be undramatic: same clients, same data model, same mental model — just decisions tuned for the person holding the pager. One small but telling example of that mindset: Plus does &lt;strong&gt;not&lt;/strong&gt; recommend Rocket's built-in TLS for production. It expects TLS termination at an external reverse proxy (Traefik, Nginx, HAProxy, …) and the container to speak plain HTTP behind it — fewer moving parts in the crypto path, fewer surprises during an upgrade.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Stable container images are published to the project's own registry, so a Compose file is all you need:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;vaultwarden&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;forgejo.sabolowitsch.org/stefansa/vaultwarden-plus:latest&lt;/span&gt;
    &lt;span class="na"&gt;container_name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;vaultwarden&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
    &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;DOMAIN&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://vw.domain.tld"&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./vw-data/:/data/&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;127.0.0.1:8000:80&lt;/span&gt;   &lt;span class="c1"&gt;# TLS terminates at your reverse proxy&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The project lives here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👉 &lt;strong&gt;Source, releases, issues &amp;amp; container registry:&lt;/strong&gt; &lt;a href="https://forgejo.sabolowitsch.org/StefanSA/vaultwarden-plus" rel="noopener noreferrer"&gt;forgejo.sabolowitsch.org/StefanSA/vaultwarden-plus&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;One ground rule: report &lt;strong&gt;Plus-specific&lt;/strong&gt; behaviour to the Plus tracker, not to upstream. If a bug reproduces on a stock Vaultwarden install, it belongs upstream. Keeping that boundary clean is part of being a good downstream citizen.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you maintain self-hosted services or open source projects of your own, I'd genuinely like to hear how &lt;em&gt;you&lt;/em&gt; approach long-term maintenance — the patches that never made it upstream, the "we decided to do nothing" calls, the docs you wish you'd written sooner. That's the conversation I'm hoping this starts.&lt;/p&gt;

&lt;p&gt;Technical deep-dives on the individual hardening changes will follow. If that philosophy resonates, follow along. 🔐&lt;/p&gt;

</description>
      <category>vaultwarden</category>
      <category>selfhosted</category>
      <category>security</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
