<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://mylemans.online/feed.xml" rel="self" type="application/atom+xml" /><link href="https://mylemans.online/" rel="alternate" type="text/html" hreflang="en" /><updated>2026-11-10T15:05:51+00:00</updated><id>https://mylemans.online/feed.xml</id><title type="html">Mylemans Online</title><subtitle>IT tutorials and war stories from 15+ years of systems engineering: Proxmox, Hyper-V, Windows Server, Microsoft 365. Free hands-on learning at Mylemans Labs.</subtitle><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><entry><title type="html">Publish Homelab Services From NetBox With Traefik</title><link href="https://mylemans.online/posts/publish-homelab-services-from-netbox/" rel="alternate" type="text/html" title="Publish Homelab Services From NetBox With Traefik" /><published>2026-11-06T15:00:00+00:00</published><updated>2026-11-04T12:57:27+00:00</updated><id>https://mylemans.online/posts/publish-homelab-services-from-netbox</id><content type="html" xml:base="https://mylemans.online/posts/publish-homelab-services-from-netbox/"><![CDATA[<p>A few days ago I wrote about <a href="/posts/rebuild-lost-unifi-controller-netbox/">rebuilding my lost UniFi controller</a> and ending up with NetBox as the source of truth for my whole lab. That post ended with switches and VLANs. This one is about what happened next, because once NetBox knows every VM, every IP and every port, it seems a shame to only use it for switches.</p>

<p>What bugged me was the routine around every new app. I’d spin up a container, then add a DNS record on the firewall, then a reverse proxy route, then a bookmark, then forget one of the three. So the new goal was simple: create the container, add one Service in NetBox, run a script, open <code class="language-plaintext highlighter-rouge">https://&lt;name&gt;.&lt;my domain&gt;</code> with a valid certificate. Nothing else by hand.</p>

<blockquote class="prompt-tip">
  <p><strong>The short version:</strong> NetBox Services are the list of what should be reachable. A publish script turns each one into a Traefik route on a small edge VM (with one wildcard certificate), a DNS entry on the firewall pointing at that VM plus a tile on a <a href="https://gethomepage.dev/">Homepage</a> dashboard. It writes the route first and DNS second, keeps a state file so deleted Services get cleaned up. It reaches the edge VM over SSH with a key that can only run one receive script. The two things that cost me the most time: a Traefik router with its own <code class="language-plaintext highlighter-rouge">tls</code> block ignores the entrypoint’s TLS defaults (hello, <code class="language-plaintext highlighter-rouge">TRAEFIK DEFAULT CERT</code>); an SSH key without a forced command happily treats your data as a shell command.</p>
</blockquote>

<h2 id="first-netbox-had-to-move-house">First, NetBox had to move house</h2>

<p>Before NetBox could publish anything, it needed a better home. My first idea was to drop it in the new Services VLAN with all the other apps. Then I thought about what NetBox actually holds now: API credentials for the firewall, the UniFi controller and Proxmox, plus the ability to push config to switches. That’s not an app, that’s a box with keys to the whole network. It went into the management VLAN instead. Its web interface still gets published through Traefik like everything else.</p>

<p>Moving it was the usual list of small things that each break something if you forget them. A new IP in Proxmox and inside the VM. The firewall’s API allow-list, because otherwise the Sophos sync gets refused. And a firewall rule from NetBox to the edge VM on SSH, which I only added after my first publish run sat there waiting on SSH until it gave up.</p>

<p>Then NetBox answered every request through Traefik with <code class="language-plaintext highlighter-rouge">Bad Request (400)</code>, even with <code class="language-plaintext highlighter-rouge">ALLOWED_HOSTS = ['*']</code>. That one took a while. Traefik adds an <code class="language-plaintext highlighter-rouge">X-Forwarded-Host</code> header, then Apache on the NetBox VM adds another one. Django doesn’t like getting two. Unsetting the header early in the Apache vhost and adding the public URL to <code class="language-plaintext highlighter-rouge">CSRF_TRUSTED_ORIGINS</code> in <code class="language-plaintext highlighter-rouge">configuration.py</code> sorted it.</p>

<div class="language-apache highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># early in the *:443 vhost</span>
<span class="nc">RequestHeader</span> <span class="ss">unset</span> <span class="ss">X-Forwarded-Host</span>
</code></pre></div></div>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># configuration.py
</span><span class="n">CSRF_TRUSTED_ORIGINS</span> <span class="o">=</span> <span class="p">[</span><span class="sh">'</span><span class="s">https://netbox.example.com</span><span class="sh">'</span><span class="p">]</span>
</code></pre></div></div>

<p>I also moved the scripts’ settings files out of <code class="language-plaintext highlighter-rouge">/opt/netbox</code> and into <code class="language-plaintext highlighter-rouge">/etc/netbox-sync/</code>. <code class="language-plaintext highlighter-rouge">/opt/netbox</code> belongs to root and the community updater is allowed to replace it, which is not where you want files your scripts depend on.</p>

<h2 id="the-design-one-name-two-ways-in">The design: one name, two ways in</h2>

<p>Every published service gets a name under my own domain. How you reach it depends on where you’re standing.</p>

<p><strong>Inside the house (the default).</strong> The firewall answers <code class="language-plaintext highlighter-rouge">&lt;name&gt;.&lt;domain&gt;</code> with the address of the edge VM. Traefik on that VM holds one wildcard certificate for the whole domain and forwards to the service’s own IP and port. No service needs a certificate of its own.</p>

<p><strong>From outside (opt-in).</strong> A service marked public also becomes a resource on <a href="https://github.com/fosrl/pangolin">Pangolin</a>, running on a small VPS. Cloudflare has a single wildcard record pointing at that VPS, so there’s no public DNS record per service and nobody can read my service names off a DNS listing. Newt, Pangolin’s tunnel client, runs on the edge VM and carries the traffic back into the lab, with a login in front and most of the world blocked outright.</p>

<p>Because the firewall’s answer wins inside the house, even a public service never takes the detour out to the VPS and back when I’m at home.</p>

<p><img src="/assets/img/posts/netbox-publish-services/request-path.svg" alt="Request path: a LAN client gets the edge VM from the firewall DNS and lands on Traefik; an outside client comes in through Pangolin and the Newt tunnel" w="760" h="472" /></p>

<p>The internal half is what runs today. The public half is built into the script, but the Pangolin site, API key and Cloudflare record are next on my list, so I’ll tell you how that goes once it’s live.</p>
<h2 id="a-dmz-for-the-apps">A DMZ for the apps</h2>

<p>The services and the edge VM live in a new VLAN, “Services”, with its own zone on the firewall. My client VLAN can reach it on HTTP, HTTPS, SSH and ping. Nothing inside it can start a connection to the rest of the lab unless a rule says so. If one of those community-script containers ever turns out to be a bad idea, it’s stuck in a room with only other apps for company.</p>

<p>NetBox has the VLAN, the prefix and an IP range reserved for new apps, so the next free address for a new container is one click away.</p>

<p>The edge VM is a small Debian VM rather than an LXC. Docker inside LXC has bitten me before with nesting and AppArmor; a VM that only runs a reverse proxy doesn’t need to be clever. One compose file runs Traefik, Homepage and Newt. Traefik reads its routes from a folder of files, and that folder is the only thing NetBox ever writes to.</p>

<h2 id="how-netbox-writes-to-the-edge-vm-without-root">How NetBox writes to the edge VM without root</h2>

<p>This is the part I’m happiest with. The publish script connects over SSH as a user called <code class="language-plaintext highlighter-rouge">netbox-publish</code>. That user can do exactly one thing. Its key in <code class="language-plaintext highlighter-rouge">authorized_keys</code> has a forced command:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>restrict,command="/usr/local/bin/netbox-publish-receive" ssh-ed25519 AAAA... netbox-publish
</code></pre></div></div>

<p>Whatever the client asks for, SSH runs that receive script. The script accepts two words on its input: <code class="language-plaintext highlighter-rouge">routes</code> replaces the Traefik file, <code class="language-plaintext highlighter-rouge">homepage</code> replaces the dashboard’s tile list. Anything else gets refused. Root login over SSH stays off. So even if someone got hold of that key, the worst they could do is publish a different list of routes, which is bad but a lot less bad than a shell.</p>

<p>How do I know it works? I asked it to run <code class="language-plaintext highlighter-rouge">id</code>. It refused. That’s the test I’d do on any forced-command key: if <code class="language-plaintext highlighter-rouge">id</code> comes back with a user name, your key is a shell.</p>

<h2 id="what-decides-what-gets-published">What decides what gets published</h2>

<p>Each Service in NetBox has a custom field called Exposure with four values: Internal, Public, Link only and None. Tagging a whole VM <code class="language-plaintext highlighter-rouge">public</code> makes all its services public, so one tag on the VM is enough for a box that only exists to be reached from outside.</p>

<p>The run order matters more than I expected:</p>

<ol>
  <li>Write the Traefik routes and check that worked.</li>
  <li>Only then write the firewall DNS entries and the Pangolin resources.</li>
</ol>

<p>That way a DNS name never points at Traefik before Traefik knows what to do with it. The script also keeps a state file of everything it created, so a Service I delete or set back to Internal gets cleaned up on the next run: DNS entry and route removed, Pangolin resource disabled. Disabled rather than deleted, because I haven’t found a documented delete in Pangolin’s blueprint API. I’ll dig into that properly in the follow-up post.</p>

<p>The plan is to run this from a NetBox event rule whenever a Service changes, plus every 15 minutes as a safety net. For now I still click Run.</p>

<p><img src="/assets/img/posts/netbox-publish-services/publish-run.png" alt="NetBox PublishServices run log: two routes written to Traefik and thirteen tiles written to myapps, addresses blurred" w="1303" h="924" />
<em>Two real routes, eleven link-only tiles for the NAS apps, done in about five seconds.</em></p>

<h2 id="the-certificate-that-wasnt-mine">The certificate that wasn’t mine</h2>

<p>The first routes loaded. Every browser complained about the certificate. Looking closer, Traefik was serving <code class="language-plaintext highlighter-rouge">TRAEFIK DEFAULT CERT</code>, its own self-signed placeholder, even though the wildcard certificate was right there on the entrypoint.</p>

<p>The cause: I’d given each router its own <code class="language-plaintext highlighter-rouge">tls</code> block. A router with its own <code class="language-plaintext highlighter-rouge">tls</code> block doesn’t inherit the TLS settings from the entrypoint. It starts from nothing. Once every generated router named the cert resolver and the wildcard domains itself, the real certificate showed up:</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">http</span><span class="pi">:</span>
  <span class="na">routers</span><span class="pi">:</span>
    <span class="na">papra</span><span class="pi">:</span>
      <span class="na">rule</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Host(`papra.example.com`)"</span>
      <span class="na">entryPoints</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">websecure</span><span class="pi">]</span>
      <span class="na">service</span><span class="pi">:</span> <span class="s">papra</span>
      <span class="na">tls</span><span class="pi">:</span>
        <span class="na">certResolver</span><span class="pi">:</span> <span class="s">letsencrypt</span>
        <span class="na">domains</span><span class="pi">:</span>
          <span class="pi">-</span> <span class="na">main</span><span class="pi">:</span> <span class="s2">"</span><span class="s">example.com"</span>
            <span class="na">sans</span><span class="pi">:</span> <span class="pi">[</span><span class="s2">"</span><span class="s">*.example.com"</span><span class="pi">]</span>
  <span class="na">services</span><span class="pi">:</span>
    <span class="na">papra</span><span class="pi">:</span>
      <span class="na">loadBalancer</span><span class="pi">:</span>
        <span class="na">servers</span><span class="pi">:</span>
          <span class="pi">-</span> <span class="na">url</span><span class="pi">:</span> <span class="s2">"</span><span class="s">http://192.0.2.10:8080"</span>
</code></pre></div></div>

<p>The second Traefik surprise was smaller. With no services published yet, the script wrote an empty <code class="language-plaintext highlighter-rouge">routers:</code> map. Traefik rejects that with “routers cannot be a standalone element”. An empty file now contains comments only.</p>

<blockquote class="prompt-warning">
  <p>If Traefik serves <code class="language-plaintext highlighter-rouge">TRAEFIK DEFAULT CERT</code> while your wildcard certificate looks fine, check whether the router has its own <code class="language-plaintext highlighter-rouge">tls</code> block. If it does, it needs the <code class="language-plaintext highlighter-rouge">certResolver</code> and <code class="language-plaintext highlighter-rouge">domains</code> too.</p>
</blockquote>

<h2 id="myapps-a-dashboard-nobody-has-to-maintain">myapps: a dashboard nobody has to maintain</h2>

<p>With every service in NetBox anyway, a bookmark page was the obvious next step. I called it myapps, borrowed shamelessly from Microsoft’s <code class="language-plaintext highlighter-rouge">myapps.microsoft.com</code>. It runs Homepage next to Traefik on the edge VM. It’s also just a Service in NetBox, published like any other.</p>

<p>The same publish run that writes the Traefik routes also writes Homepage’s <code class="language-plaintext highlighter-rouge">services.yaml</code>, over the same SSH key, using the <code class="language-plaintext highlighter-rouge">homepage</code> word. The title and theme in <code class="language-plaintext highlighter-rouge">settings.yaml</code> I still edit by hand, since that changes about once a year.</p>

<p>Every part of a tile comes from the Service in NetBox:</p>

<table>
  <thead>
    <tr>
      <th>Tile part</th>
      <th>Taken from</th>
      <th>Default</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Section</td>
      <td>Service field “Group”</td>
      <td>Apps</td>
    </tr>
    <tr>
      <td>Title</td>
      <td>Service name</td>
      <td> </td>
    </tr>
    <tr>
      <td>Subtitle</td>
      <td>Service description, prefixed “Public” when public</td>
      <td>empty</td>
    </tr>
    <tr>
      <td>Icon</td>
      <td>Service field “Icon” (a Homepage icon name or a URL)</td>
      <td><code class="language-plaintext highlighter-rouge">&lt;service name&gt;.png</code></td>
    </tr>
    <tr>
      <td>Link</td>
      <td><code class="language-plaintext highlighter-rouge">https://&lt;name&gt;.&lt;domain&gt;</code>, or the Link URL for link-only services</td>
      <td> </td>
    </tr>
  </tbody>
</table>

<p>Two Homepage details worth knowing. It refuses requests for host names it doesn’t know, so the compose file sets <code class="language-plaintext highlighter-rouge">HOMEPAGE_ALLOWED_HOSTS</code> to the dashboard’s own name. And tiles are only written when <code class="language-plaintext highlighter-rouge">MYAPPS=1</code> is set in the publish settings, so I could switch the feature on after the receive script was in place.</p>

<p><img src="/assets/img/posts/netbox-publish-services/myapps.png" alt="The myapps Homepage dashboard after the first publish, with an Apps group and a NAS group" w="1372" h="874" /></p>

<p>The first run with tiles failed with this:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sh: 1: routes: not found
</code></pre></div></div>

<p>The key on the edge VM still had no forced command. So SSH did what SSH does: it took the word <code class="language-plaintext highlighter-rouge">routes</code> my script sent and tried to run it as a shell command. Adding the <code class="language-plaintext highlighter-rouge">restrict,command=...</code> prefix fixed it. That’s also why the <code class="language-plaintext highlighter-rouge">id</code> test above is now a habit.</p>

<h2 id="the-nas-joins-the-party">The NAS joins the party</h2>

<p>My TrueNAS box was one device in NetBox, but the interesting part is the fifteen apps running on it, from Jellyfin to a document manager. A new script, TrueNAS apps sync, reads them from TrueNAS (read only) and keeps one NetBox Service per app on the NAS device.</p>

<p>The funny part was that NetBox already knew the NAS’s IP address. The Sophos sync had found a DNS name for it on the firewall earlier, couldn’t find a host to attach it to, and tagged it <code class="language-plaintext highlighter-rouge">verify</code>. So the IP had been sitting in IPAM as an orphan, waiting for someone to claim it. It now hangs on the NAS’s network interface, DNS name and all.</p>

<p>Per app, the sync fills in:</p>

<ul>
  <li>the app name plus the TCP host ports it publishes;</li>
  <li>the title and version from the TrueNAS catalogue as the description (custom Docker apps just get their name);</li>
  <li>the web portal link TrueNAS shows, with <code class="language-plaintext highlighter-rouge">0.0.0.0</code> swapped for the NAS’s address;</li>
  <li>the catalogue icon, the Group “NAS” and a <code class="language-plaintext highlighter-rouge">truenas-app</code> tag;</li>
  <li>Exposure <strong>Link only</strong> when it’s first created.</li>
</ul>

<p>That last one is deliberate. A link-only tile on myapps points straight at the NAS’s address and port: no DNS name, no Traefik route, above all no firewall hole from the DMZ to my NAS. If one app deserves its own proper name, I change its Exposure to Internal. The sync never overwrites Exposure, Group or Hostname once they exist, so my choices stick.</p>

<p>An app that disappears from TrueNAS keeps its Service but gets the <code class="language-plaintext highlighter-rouge">verify</code> tag and a journal entry. Same rule as the other syncs: nothing gets deleted behind my back.</p>

<p>Apps on the host network publish no port mapping, so for those the sync takes the port from their portal link instead. Plex and UrBackup report neither, so those two get added by hand.</p>

<p><img src="/assets/img/posts/netbox-publish-services/medianas.png" alt="NetBox device page for the TrueNAS box with its eleven app Services and their port mappings, site and IP blurred" w="1072" h="912" /></p>

<h3 id="netbox-47-moved-the-ports">NetBox 4.7 moved the ports</h3>

<p>The first real run died with:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>property 'protocol' of 'Service' object has no setter
</code></pre></div></div>

<p>NetBox 4.7 changed how a Service stores its ports. Instead of a <code class="language-plaintext highlighter-rouge">protocol</code> and a <code class="language-plaintext highlighter-rouge">ports</code> list, there’s now one <code class="language-plaintext highlighter-rouge">port_mappings</code> list with entries like <code class="language-plaintext highlighter-rouge">tcp/8080</code>. The old fields are deprecated but still available in the REST and GraphQL APIs, which is why my other scripts never noticed. The REST API even still accepts them on write and translates them into <code class="language-plaintext highlighter-rouge">port_mappings</code>; it’s at the ORM level that they became read-only. The sync writes <code class="language-plaintext highlighter-rouge">port_mappings</code> directly.</p>

<p>The first committed run catalogued 11 apps and skipped 4: a database, a tunnel client and the two that report no ports.</p>

<p><img src="/assets/img/posts/netbox-publish-services/truenas-sync.png" alt="TrueNAS apps sync run log: 15 apps found, 11 catalogued, 4 skipped without a published TCP port" w="1288" h="938" /></p>

<h2 id="what-id-tell-a-friend-doing-this">What I’d tell a friend doing this</h2>

<p>Put the list of what should be reachable in one place, and generate everything else from it: proxy routes, DNS, the dashboard. Write the route before the DNS name. Keep a record of what you created so you can clean up after yourself. Give the automation a key that can do one job, then try to make it do a second job and check that it refuses. And when a container goes in a DMZ, let it reach the things it needs, not the things it could.</p>

<p>The best part is the routine now. New container, one Service in NetBox, run the script: there’s a tile on myapps plus a URL with a real certificate. No more forgetting one of the three.</p>

<h2 id="faq">FAQ</h2>

<h3 id="can-netbox-generate-traefik-config">Can NetBox generate Traefik config?</h3>

<p>Not by itself. In my lab a NetBox custom script reads the Services and writes a Traefik dynamic config file, which Traefik’s file provider picks up. NetBox is the list; the script and Traefik do the rest.</p>

<h3 id="why-is-traefik-serving-traefik-default-cert">Why is Traefik serving TRAEFIK DEFAULT CERT?</h3>

<p>Usually because the router has its own <code class="language-plaintext highlighter-rouge">tls</code> block, which means it ignores the TLS defaults on the entrypoint. Add the <code class="language-plaintext highlighter-rouge">certResolver</code> and the <code class="language-plaintext highlighter-rouge">domains</code> (including the wildcard) to each router.</p>

<h3 id="how-do-i-limit-an-ssh-key-to-one-command">How do I limit an SSH key to one command?</h3>

<p>Put <code class="language-plaintext highlighter-rouge">restrict,command="/path/to/script"</code> in front of the key in <code class="language-plaintext highlighter-rouge">authorized_keys</code>. SSH then runs that script whatever the client asks for; <code class="language-plaintext highlighter-rouge">restrict</code> turns off forwarding and terminals. Test it by sending <code class="language-plaintext highlighter-rouge">id</code>: it should be refused.</p>

<h3 id="can-homepage-build-its-tiles-from-netbox">Can Homepage build its tiles from NetBox?</h3>

<p>Not out of the box. My publish script writes Homepage’s <code class="language-plaintext highlighter-rouge">services.yaml</code> from the NetBox Services, with the group, icon and link stored as fields on each Service.</p>

<h3 id="why-does-setting-ports-on-a-netbox-service-fail-in-netbox-47">Why does setting ports on a NetBox Service fail in NetBox 4.7?</h3>

<p>NetBox 4.7 replaced <code class="language-plaintext highlighter-rouge">protocol</code> and <code class="language-plaintext highlighter-rouge">ports</code> on a Service with a single <code class="language-plaintext highlighter-rouge">port_mappings</code> list (for example <code class="language-plaintext highlighter-rouge">tcp/8080</code>). The old fields still read, but can’t be set.</p>

<h2 id="learn-the-network-side-properly">Learn the network side properly</h2>

<blockquote class="prompt-info">
  <p>Split DNS, DMZs and firewall zones make a lot more sense once VLANs and routing click. The networking path on <a href="https://labs.mylemans.online">Mylemans Labs</a> walks through them in order, free.</p>
</blockquote>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Networking" /><category term="Homelab" /><category term="netbox" /><category term="traefik" /><category term="homepage" /><category term="truenas" /><category term="pangolin" /><category term="source of truth" /><category term="automation" /><category term="homelab" /><summary type="html"><![CDATA[One NetBox Service in, one HTTPS URL out: how I made NetBox write my Traefik routes, firewall DNS and a Homepage dashboard, plus a TrueNAS app sync.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/netbox-publish-services/cover.png" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/netbox-publish-services/cover.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Beelink ME Pro Review: Back the Kickstarter or Buy?</title><link href="https://mylemans.online/posts/beelink-me-pro-review/" rel="alternate" type="text/html" title="Beelink ME Pro Review: Back the Kickstarter or Buy?" /><published>2026-11-03T12:00:00+00:00</published><updated>2026-11-04T13:03:35+00:00</updated><id>https://mylemans.online/posts/beelink-me-pro-review</id><content type="html" xml:base="https://mylemans.online/posts/beelink-me-pro-review/"><![CDATA[<p>The Beelink ME Pro is a small two-bay NAS that’s about to launch on Kickstarter, and it’s already for sale in Beelink’s own store. Beelink sent me one early, so I’ve run it for a couple of weeks with two drives from my lab, measured it at the wall and used it for a job I actually have: sending raw 4K footage to my video editor. By the end of this post you’ll know what’s inside, what it costs to run and whether to back it or just buy it.</p>

<blockquote class="prompt-tip">
  <p><strong>The short version:</strong> the ME Pro (Intel N95, 12 GB soldered RAM, 2.5 GbE plus 5 GbE) took me under 30 minutes from box to first files, draws about 20 W at idle with two hard drives spinning and only 30 W at its worst. For the N95 2-bay, the Kickstarter is the better deal on paper, mostly because of the bundled lifetime Fygo OS licence, as long as you’re fine waiting for delivery. The one thing that can’t wait: the $10 deposit that turns it into a 4-bay at the 2-bay price has to be in before launch. Want it next week? Buy it from the store.</p>
</blockquote>

<blockquote class="prompt-warning">
  <p><strong>Disclosure:</strong> Beelink sent me this unit for free, with no strings attached. I wasn’t paid for the video or this post, and nobody from Beelink or Fygo saw either before they went live. The Fygo OS link further down is an affiliate link, so I may earn a commission if you buy through it.</p>
</blockquote>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/NbOiIqiajv8" frameborder="0" allowfullscreen=""></iframe></div>

<p>This is a first honest look after a couple of weeks, not a long-term test.</p>

<h2 id="whats-inside-the-me-pro">What’s inside the ME Pro</h2>

<p>I read these off the BIOS and checked them against the spec sheet, because the BIOS can’t do marketing.</p>

<table>
  <thead>
    <tr>
      <th>Part</th>
      <th>Beelink ME Pro (tested unit)</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>CPU</td>
      <td>Intel N95, four cores, built to sip power, Quick Sync for video</td>
    </tr>
    <tr>
      <td>RAM</td>
      <td>12 GB LPDDR5, soldered</td>
    </tr>
    <tr>
      <td>OS drive</td>
      <td>Its own 128 GB SSD</td>
    </tr>
    <tr>
      <td>Extra storage</td>
      <td>2x M.2 slots for fast storage</td>
    </tr>
    <tr>
      <td>Drive bays</td>
      <td>2x 3.5 inch, no drives included (I used two 2 TB WD Reds)</td>
    </tr>
    <tr>
      <td>Network</td>
      <td>1x 2.5 GbE (Intel) and 1x 5 GbE (Realtek)</td>
    </tr>
    <tr>
      <td>OS</td>
      <td>Fygo OS, pre-installed</td>
    </tr>
  </tbody>
</table>

<p>The RAM is the spec to think about. 12 GB is fine for a file server, but because it’s soldered, it’s also the ceiling once you start piling apps onto the box.</p>

<p>The two network ports are more than most home networks can feed right now. Nice to have, not a reason to buy.</p>

<h2 id="the-drawer-is-the-clever-part">The drawer is the clever part</h2>

<p>The whole board slides out of the case like a drawer. Today that means you can blow the dust out in a minute. Beelink’s bigger promise is that you can slide in a faster board later and keep your drives and data in place. That depends on future boards, so I’d count it as a bonus rather than a reason to buy.</p>

<!-- SCREENSHOT: motherboard drawer pulled out of the ME Pro chassis -->

<h2 id="setup-under-30-minutes-from-box-to-first-files">Setup: under 30 minutes from box to first files</h2>

<p>Pre-installed saves you a USB stick and an installer, but you still fit the drives and build the storage yourself. It took me less than half an hour.</p>

<ol>
  <li>Plug the network cable into the 2.5 GbE port, power on, give it a minute and open its IP address in a browser.</li>
  <li><strong>Create the admin account</strong> with a proper password, not the one you use everywhere else. This account can see and delete everything on the box, so I keep it for managing the NAS only.</li>
  <li>Run the wizard: device name, <strong>time zone</strong>, and <strong>let it check for updates right away</strong>. A box that ships pre-installed has probably sat in a warehouse for a while.</li>
  <li><strong>Create a storage pool</strong> with both drives as a mirror (more on that choice below). It warns that this erases both drives, and there’s no undo, so copy off anything you want to keep first.</li>
  <li><strong>Check the pool status</strong> before you put anything on it (see the next section).</li>
  <li><strong>Create a shared folder</strong> and a <strong>normal user account</strong> with access to that folder only, so the laptop in the living room never logs in as admin.</li>
  <li>On Windows, type <code class="language-plaintext highlighter-rouge">\\</code> followed by the NAS address and the folder name in File Explorer (for example <code class="language-plaintext highlighter-rouge">\\192.168.1.50\Photos</code>), log in with the normal account, and it shows up like any other drive.</li>
</ol>

<p>If this is your first NAS, my <a href="/posts/first-home-nas-fygo-os/">first home NAS post</a> goes deeper on pools, shares and permissions in Fygo OS, including the permission gotcha that makes a media folder look empty.</p>

<h2 id="mirror-or-add-up-and-the-check-most-people-skip">Mirror or add-up, and the check most people skip</h2>

<p>When you create the pool with two drives, you get two real choices:</p>

<ul>
  <li><strong>Add them together:</strong> 4 TB of space, but if one drive dies, everything on both is gone.</li>
  <li><strong>Mirror (RAID 1):</strong> both drives hold the same copy of everything, so one can die and you lose nothing. You get the space of one drive, 2 TB here.</li>
</ul>

<p>On a two-bay box I’d pick the mirror every time. The whole reason you buy a NAS is to not lose your files, and losing half the raw capacity is the price of that.</p>

<p>Now the step most people skip. Before you copy a single file onto it, open the pool status and check that it says <strong>healthy</strong> with <strong>both drives</strong> in it. If it shows only one drive, or says degraded, you’ve built a pool that can’t survive a failure yet. Much better to find that out on day one, while it’s empty, than on the day a drive actually dies.</p>

<!-- SCREENSHOT: Fygo OS pool status: RAID 1, 2 drives, 2 TB usable, healthy -->

<h2 id="power-draw-measured-at-the-wall">Power draw, measured at the wall</h2>

<p>I measured with a smart plug, so these numbers are the whole box: board, both spinning hard drives and the power supply’s losses.</p>

<table>
  <thead>
    <tr>
      <th>Workload</th>
      <th>Power at the wall</th>
      <th>Cost per year at €0.30/kWh</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Idle</td>
      <td>~20 W</td>
      <td>~€53</td>
    </tr>
    <tr>
      <td>Copying files on or off</td>
      <td>~24 W</td>
      <td> </td>
    </tr>
    <tr>
      <td>Transcoding a movie in real time</td>
      <td>~25 W</td>
      <td> </td>
    </tr>
    <tr>
      <td>Transcoding + AI photo indexing (the most I could get out of it)</td>
      <td>~30 W</td>
      <td>~€79 if it ran like that all year</td>
    </tr>
  </tbody>
</table>

<p>Transcoding is the heaviest job most people give a home NAS, and it cost only about 1 W more than copying files. That’s Quick Sync: a small part of the N95 that only does video, so the four main cores barely notice.</p>

<p>The 30 W peak only happens while the photo app indexes a big batch of new photos. And if you’ve seen a 25 W figure on the spec sheet and wonder how I got to 30, that figure is the chip alone; the plug measures everything. A NAS runs all day, every day, so the idle number is the one that ends up on your bill.</p>

<h2 id="sending-4k-footage-to-my-editor-with-fygo-connect">Sending 4K footage to my editor with Fygo Connect</h2>

<p>A freelance editor cuts my videos, and the raw footage for one video is easily 10 GB or more. Today I send it with OneDrive, so I tried letting the NAS do that job.</p>

<p>That’s what Fygo Connect is for, the OS’s remote access service:</p>

<ol>
  <li>Sign in with a Fygo OS account and pick an ID. The box gets its own web address with a proper certificate, so you don’t open any ports on your router.</li>
  <li>It first tries a direct connection between your editor’s device and the box. Only if that fails does traffic go through Fygo’s own servers, called relay. Relay has a speed limit, because they pay for that traffic.</li>
  <li>Create a share link for the folder, give it a <strong>password</strong> and let it <strong>expire</strong> after a few days, so there’s no link to your raw footage floating around months later.</li>
</ol>

<p>Then the check I’d do before sending it: open the link yourself in a private browser window. If it doesn’t ask you for the password, it won’t ask your editor either.</p>

<p>The real limit was my own upload speed at home, not the box.</p>

<!-- SCREENSHOT: share-link dialog with password and expiry set -->

<h2 id="kickstarter-or-beelink-store-the-numbers">Kickstarter or Beelink store: the numbers</h2>

<table>
  <thead>
    <tr>
      <th> </th>
      <th>Kickstarter</th>
      <th>Beelink store</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>N95 2-bay</td>
      <td>$419 (Super Early Bird)</td>
      <td>$379</td>
    </tr>
    <tr>
      <td>Lifetime Fygo OS licence (sold separately for $199)</td>
      <td>Included</td>
      <td>Not included</td>
    </tr>
    <tr>
      <td>4-bay for the 2-bay price</td>
      <td>With a $10 deposit before launch</td>
      <td>No</td>
    </tr>
    <tr>
      <td>Core i5 and Ryzen boards</td>
      <td>Campaign only</td>
      <td>No</td>
    </tr>
    <tr>
      <td>Delivery</td>
      <td>When the campaign ships</td>
      <td>Now</td>
    </tr>
  </tbody>
</table>

<p>Ignore the “from $299” headline on the campaign page: that’s the model with the J5005, a chip from 2017, not the N95 I tested.</p>

<p>The licence is what tips it. Without one you’re on the free tier, which works but caps you at three users and four drives and leaves out some of the apps. The Kickstarter units include the lifetime licence, so part of that $419 is software you’d otherwise pay $199 for. On price alone, backing wins.</p>

<p>The 4-bay deposit is the other reason. With two bays mirrored you only ever get the space of one drive, so two extra bays are worth more than any discount.</p>

<p>Two things to know before you back it:</p>

<ul>
  <li><strong>Backing is paying for something that isn’t in a shop yet.</strong> Delivery dates on crowdfunded hardware slip more often than they don’t. Beelink is an established brand with products already on shelves, which helps a lot, but only back it with money you’re fine waiting on.</li>
  <li><strong>“AI NAS” depends on the board.</strong> Local AI models only run on the Ryzen board. On the N95, AI means photo search, and that works fine.</li>
</ul>

<h2 id="verdict">Verdict</h2>

<p>In a couple of weeks I put two drives in it, built a mirror from a browser, measured 20 W idle and 30 W peak with transcoding costing almost nothing on top, and sent my editor a video’s worth of footage over Fygo Connect. For this two-bay, the campaign is the better deal on paper as long as you’re happy to wait. If you’d rather have it next week, the store is there. And if you want the 4-bay upgrade, get the $10 deposit in before launch, because that part can’t wait.</p>

<p>Already have hardware you’d rather reuse? That’s exactly what I did in my <a href="/posts/first-home-nas-fygo-os/">Fygo OS NAS build</a>.</p>

<p>Links from the video:</p>

<ul>
  <li><a href="https://www.bee-link.com/pages/me-pro-nas">Beelink ME Pro on Kickstarter</a></li>
  <li><a href="https://www.bee-link.com/">Beelink official store</a></li>
  <li><a href="https://fygonas.com/pricing?ref=MYLEMANSONLINE" rel="sponsored noopener" target="_blank">Fygo OS pricing</a> (affiliate link), discount code <strong>571U6M</strong> for an extra 10% off</li>
</ul>

<h2 id="faq">FAQ</h2>

<h3 id="should-i-back-the-beelink-me-pro-on-kickstarter-or-buy-it">Should I back the Beelink ME Pro on Kickstarter or buy it?</h3>

<p>Back it if you want the bundled lifetime Fygo OS licence, the 4-bay chassis for the 2-bay price (with a $10 deposit before launch) or the Core i5 and Ryzen boards, and you’re fine waiting. Buy it from the store if you want it now and the free tier is enough.</p>

<h3 id="how-much-power-does-the-beelink-me-pro-use">How much power does the Beelink ME Pro use?</h3>

<p>Measured at the wall with two hard drives: about 20 W idle, 24 W while copying files, 25 W while transcoding and 30 W at peak with AI photo indexing. At €0.30 per kWh, idle comes to about €53 a year.</p>

<h3 id="can-you-upgrade-the-ram-in-the-beelink-me-pro">Can you upgrade the RAM in the Beelink ME Pro?</h3>

<p>No. The 12 GB of LPDDR5 is soldered to the board. That’s fine for a file server, but it’s the ceiling if you plan to run lots of apps.</p>

<h3 id="does-the-beelink-me-pro-come-with-a-fygo-os-licence">Does the Beelink ME Pro come with a Fygo OS licence?</h3>

<p>My review unit came with a lifetime licence, and the Kickstarter units include one. The unit in Beelink’s store doesn’t, so you start on the free tier (three users, four drives, fewer apps) and can buy a licence separately.</p>

<h3 id="can-the-beelink-me-pro-run-local-ai-models">Can the Beelink ME Pro run local AI models?</h3>

<p>Not the N95 version. Local AI models need the Ryzen board. On the N95, AI means photo search and face recognition, which works fine.</p>

<h2 id="learn-the-storage-side-properly">Learn the storage side properly</h2>

<blockquote class="prompt-info">
  <p>A NAS is only as safe as the backup plan around it. The Backup &amp; DR path on <a href="https://labs.mylemans.online">Mylemans Labs</a> walks through RAID, snapshots and the 3-2-1 rule in order, free.</p>
</blockquote>

<p>Prefer to watch? The full look is in <a href="https://youtu.be/NbOiIqiajv8">the video</a>, and there’s more homelab and IT content over on Mylemans Online on YouTube.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Reviews" /><category term="Hardware" /><category term="beelink" /><category term="me pro" /><category term="nas" /><category term="fygo os" /><category term="kickstarter" /><category term="homelab" /><category term="review" /><category term="youtube" /><summary type="html"><![CDATA[The Beelink ME Pro 2-bay NAS before its Kickstarter: N95 specs, a mirror pool in under 30 minutes, 20 W idle at the wall, and whether to back it or buy it.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/NbOiIqiajv8.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/NbOiIqiajv8.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Rebuilding a Lost UniFi Controller With NetBox</title><link href="https://mylemans.online/posts/rebuild-lost-unifi-controller-netbox/" rel="alternate" type="text/html" title="Rebuilding a Lost UniFi Controller With NetBox" /><published>2026-11-02T15:00:00+00:00</published><updated>2026-11-04T13:10:24+00:00</updated><id>https://mylemans.online/posts/rebuild-lost-unifi-controller-netbox</id><content type="html" xml:base="https://mylemans.online/posts/rebuild-lost-unifi-controller-netbox/"><![CDATA[<p>My UniFi controller was gone, site and all. I had been consolidating and cleaning up a few VPS instances, and during a clean install to repurpose the VPS the controller ran on, it got wiped along with everything else. The strange part was that nothing broke. The switches and the access point kept forwarding traffic on the last config they’d been given, the Wi-Fi worked, and everyone in the house carried on as normal. I just couldn’t change anything anymore, and the backup I did have refused to restore into anything useful.</p>

<p>So on a Saturday afternoon I set out to get my network back. By the end of it I had a rebuilt controller, NetBox as the one place that describes the whole network, and a healthy respect for API calls that say “200 OK” and then quietly throw your data away. That last one is the best part of the story, so hang on.</p>

<blockquote class="prompt-tip">
  <p><strong>The short version:</strong> an adopted UniFi device keeps running its last config without a controller, and you can read all of it: <code class="language-plaintext highlighter-rouge">show running-config</code> on the switches, <code class="language-plaintext highlighter-rouge">/tmp/system.cfg</code> on the access point. Rebuild the controller from that through its API rather than by hand. Then put the whole network in NetBox (racks, devices, cables, VLANs, IPs) and let scripts push from it and sync back into it. The trap that cost me the most time: this controller version silently drops <code class="language-plaintext highlighter-rouge">tagged_networkconf_ids</code> on port profiles and stores the networks a port does <em>not</em> carry instead. Read back everything you write.</p>
</blockquote>

<h2 id="the-devices-were-the-backup-all-along">The devices were the backup all along</h2>

<p>My first instinct was to dig through old backups. My second, better instinct was to ask the devices themselves, because a UniFi switch that has lost its controller doesn’t forget its config. It just keeps running it, like a train with no driver that happens to be on the right track.</p>

<p>On the two UniFi switches (a US-24-G1 at the core and a US-8-60W for PoE), I SSH’d in, typed <code class="language-plaintext highlighter-rouge">telnet localhost</code> because the older firmware wants that, then <code class="language-plaintext highlighter-rouge">enable</code> and <code class="language-plaintext highlighter-rouge">show running-config</code>. Out came plain FASTPATH config: the VLAN database, the native VLAN per port (<code class="language-plaintext highlighter-rouge">vlan pvid</code>), the tagged VLANs per port (<code class="language-plaintext highlighter-rouge">vlan tagging</code>), IGMP snooping, STP priority, the management VLAN. Every port’s <code class="language-plaintext highlighter-rouge">vlan participation</code> and <code class="language-plaintext highlighter-rouge">vlan tagging</code> lines turn out to map one to one onto a UniFi port profile, which made the rest of the day a lot easier.</p>

<p>The access point (a UAP-AC-Pro) was even friendlier. SSH in, <code class="language-plaintext highlighter-rouge">cat /tmp/system.cfg</code>, and there’s every SSID with its VLAN, security mode and radio settings, as simple <code class="language-plaintext highlighter-rouge">key=value</code> lines.</p>

<blockquote class="prompt-warning">
  <p><code class="language-plaintext highlighter-rouge">/tmp/system.cfg</code> also contains your Wi-Fi passwords in plain text. Treat the copy you pull off the AP like the secret it is.</p>
</blockquote>

<p>What about that backup? A UniFi <code class="language-plaintext highlighter-rouge">.unf</code> file is an encrypted zip with a dump of the controller database inside, and the key is the same for every controller and has been public for years. Opening it takes a short script. I got optimistic, put the recovered config into it, encrypted it again and gave it to the new controller. It thought about it for a while and restored a beautifully empty site. I took the hint.</p>

<p>I also rebuilt into a brand-new site rather than the old one. That way nothing stale could sneak back in, and I could compare old and new side by side.</p>

<h2 id="rebuilding-the-controller-without-clicking">Rebuilding the controller without clicking</h2>

<p>You can rebuild a controller by clicking through the web UI with a printout of the old config next to you. You can also mistype VLAN 334 and find out three weeks later. The web UI talks to an API anyway, so I fed the recovered config straight into that API: networks, port profiles, Wi-Fi networks, user groups, site settings. If you’ve never used it, my posts on <a href="/posts/UnifiAPI_CreateVlan/">creating a VLAN</a> and <a href="/posts/UnifiAPI_CreateNewSite/">creating a site</a> with the UniFi API are a gentle start.</p>

<p>What you need to know on UniFi OS Server <!-- VERIFY: behaviour on newer Network application versions -->:</p>

<ol>
  <li>Log in with <code class="language-plaintext highlighter-rouge">POST /api/auth/login</code> and keep the session cookie.</li>
  <li>Grab the CSRF token from the <code class="language-plaintext highlighter-rouge">x-csrf-token</code> response header and send it as <code class="language-plaintext highlighter-rouge">X-CSRF-Token</code> on every write, or you get a 403. Responses keep handing you a fresh one in <code class="language-plaintext highlighter-rouge">x-updated-csrf-token</code>.</li>
  <li>The network endpoints live under <code class="language-plaintext highlighter-rouge">/proxy/network/api/s/&lt;site&gt;/</code>. The old <code class="language-plaintext highlighter-rouge">/api/s/&lt;site&gt;/</code> path just gives you a 404 on UniFi OS.</li>
  <li>Read with <code class="language-plaintext highlighter-rouge">stat/device</code>, <code class="language-plaintext highlighter-rouge">stat/sta</code> and <code class="language-plaintext highlighter-rouge">rest/setting</code>; write with <code class="language-plaintext highlighter-rouge">rest/networkconf</code>, <code class="language-plaintext highlighter-rouge">rest/portconf</code>, <code class="language-plaintext highlighter-rouge">rest/wlanconf</code> and <code class="language-plaintext highlighter-rouge">rest/usergroup</code>.</li>
  <li>Wi-Fi networks need an AP group ID, and <code class="language-plaintext highlighter-rouge">rest/apgroups</code> answers with a 400 on this version. The v2 endpoint, <code class="language-plaintext highlighter-rouge">/proxy/network/v2/api/site/&lt;site&gt;/apgroups</code>, works.</li>
</ol>

<p>One network per VLAN, an access profile per VLAN, hybrid profiles for the trunks, IGMP snooping where the old switches had it, and the SSIDs straight from <code class="language-plaintext highlighter-rouge">system.cfg</code>, so every phone and laptop in the house reconnected without anyone typing a password. Every single call came back 200. Remember that number, because it comes back later.</p>

<h2 id="why-i-didnt-stop-there">Why I didn’t stop there</h2>

<p>At this point I could have closed the laptop. The controller was back, the network was the same as before. But the whole mess had a cause: the only complete description of my network lived inside one application, and the rest of it was spread over three other switches with three other web interfaces (an Aruba 2530 on my desk, an EdgeSwitch on the workbench and the XikeStor behind my <a href="/posts/m720q-10-inch-rack-cluster-build/">Proxmox cluster</a>). Lose one app and you’re doing archaeology on a Saturday.</p>

<p>So I made <a href="https://netbox.dev/">NetBox</a> the source of truth. In plain words: NetBox describes what the network <em>should</em> look like, config gets generated from it, and scripts check every hour that reality still agrees.</p>

<p>Filling it is mostly a matter of doing things in the right order, because everything points at something you made earlier. Device types first (one per model, so every switch arrives with its ports already listed), then the site and the two racks, the lab rack and the small one on my desk. Then roles and platforms, then the devices, then VLANs and prefixes, then each port’s mode with its VLANs copied from the switch configs. Then the cables, which I named end to end (“CORE-24 to POE-1”) after actually following each one, because “I’m pretty sure that one goes to the PoE switch” is how this kind of day goes wrong. IP addresses last. If you’re designing VLANs from scratch rather than writing down existing ones, my <a href="/posts/how-to-plan-vlans-with-networkdesigner/">VLAN planning post</a> is the better starting point.</p>

<!-- SCREENSHOT: NetBox rack elevation of the lab rack -->

<p>Stock NetBox covered nearly everything. I added a handful of custom fields, and the useful trick is splitting them into two kinds. Some are mine: which tool manages a device (the UniFi controller, a NetBox template, or me by hand), its UniFi MAC address, whether a VLAN should exist in UniFi. The others belong to the scripts: firmware, controller state, LLDP results, which clients sit on which port. I never touch the second kind. If a person and a script both write to the same field, sooner or later neither of them knows which value is true.</p>

<p>Anything odd I found while documenting got a journal entry and a <code class="language-plaintext highlighter-rouge">finding</code> tag instead of an immediate fix. Otherwise I’d have ended up fixing my Ceph VLAN that evening and still not have had a working controller.</p>

<h2 id="config-for-the-switches-unifi-doesnt-touch">Config for the switches UniFi doesn’t touch</h2>

<p>The Aruba, the EdgeSwitch and the XikeStor now get their config from a Jinja2 template in NetBox, one per platform, filled with that switch’s ports, VLANs and a few settings of its own. I kept three rules for the templates. Render only what differs from the switch’s defaults, in the same layout the switch uses itself, so a diff stays short and an empty diff means “matches”. Work things out instead of typing them twice, so the VLAN list comes from the ports. And check every template line by line against the real switch before trusting it.</p>

<p>A small Python script, <code class="language-plaintext highlighter-rouge">switch_provision.py</code>, takes it from there. It asks NetBox to render the config, reads the live config from the switch (over SSH with Netmiko for the Aruba and EdgeSwitch, through the web interface for the XikeStor), and shows the difference. That’s all it does by default. Only with <code class="language-plaintext highlighter-rouge">--push</code> does it actually send the lines, report anything the switch rejects, save and compare again.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>python3 switch_provision.py SW-DESK            <span class="c"># dry run: just the diff</span>
python3 switch_provision.py SW-WORKBENCH <span class="nt">--push</span>
</code></pre></div></div>

<p>It merges rather than wipes, so anything that only exists on the switch survives and keeps nagging you in every diff until you deal with it. The XikeStor gets an extra <code class="language-plaintext highlighter-rouge">--first-push</code> flag, because I haven’t proven its SSH push yet and I’d like to be in the room when I do.</p>

<blockquote class="prompt-warning">
  <p>Keep a second way into a switch (a console cable, or a machine that isn’t behind it) whenever a push touches its uplink or the management VLAN.</p>
</blockquote>

<h2 id="four-scripts-that-keep-netbox-honest">Four scripts that keep NetBox honest</h2>

<p>A source of truth that nobody checks turns into a wiki within a month. So four NetBox custom scripts keep it in line with reality. I wrote them with help from AI tools; testing them against my own gear, and deciding what each one is allowed to touch, was my part.</p>

<ul>
  <li><strong>Proxmox sync</strong>, hourly: every VM and container becomes a NetBox VM, with its disks, network cards, VLAN and IP.</li>
  <li><strong>Sophos sync</strong>, hourly: VLANs, gateway addresses, DHCP pools, reserved addresses and DNS names from the firewall.</li>
  <li><strong>UniFi inventory</strong>, hourly: firmware and state of each UniFi device, which clients sit on which port, and a check of every port’s LLDP neighbour against the cable in NetBox.</li>
  <li><strong>UniFi provision</strong>, only when I run it: pushes networks, port profiles, port settings, names, IPs and STP from NetBox to the controller.</li>
</ul>

<p>They all behave the same way, and I’d steal these habits for any sync you write. They do a dry run unless you tick “Commit changes” (NetBox then rolls everything back and shows you what <em>would</em> have happened). They never delete anything: a VM that disappears from Proxmox becomes “decommissioning” so its history stays. They only read from the other system, apart from the UniFi provision script, and only when told to. And they use their own accounts with the least rights the other side allows, like a read-only Proxmox token and a read-only Sophos API user.</p>

<p>The dry runs earned their keep straight away. The first Sophos run would have put my public IP address in IPAM, under-counted my DHCP reservations because one lease can hold several of them, and overwritten DNS names with aliases. It also flagged a few DNS records pointing at machines that no longer exist, which is a polite way of saying I hadn’t cleaned up in a while.</p>

<p>My favourite is the LLDP check. Every hour it asks each switch port who it actually sees on the other end and compares that with the cable in NetBox. If they disagree, either NetBox is wrong or the cable is, and the device gets a <code class="language-plaintext highlighter-rouge">finding</code> tag until I sort it out.</p>

<h2 id="adoption-day-or-how-my-desk-went-offline-three-times">Adoption day, or: how my desk went offline three times</h2>

<p>Everything was ready. NetBox was full, the dry runs were clean, and the three UniFi devices only had to be adopted by the new controller. That took about three hours and cost my desk three short outages.</p>

<p>The preparation went fine. I moved the controller into the same management VLAN as the devices it manages, gave it a DNS name and a Let’s Encrypt certificate (the scripts refuse to connect by IP for exactly that reason; see my <a href="/posts/InstallingUnifiDockerLetsEncrypt/">UniFi in Docker with Let’s Encrypt</a> post), opened inform (TCP 8080) and STUN (UDP 3478) to it, and pointed every device at it with <code class="language-plaintext highlighter-rouge">set-inform http://&lt;controller-name&gt;:8080/inform</code>.</p>

<p>Then the access point needed a factory reset, and it fooled me. <code class="language-plaintext highlighter-rouge">syswrapper.sh restore-default</code> looked like it worked: the SSIDs disappeared. So I pulled the power while it was still rebooting, which interrupted the erase, and the old config came right back. The reset pin did work: hold it for 10 seconds on a running AP, then leave it completely alone for 5 minutes. Hold it while powering on and you start TFTP recovery instead, which is a different afternoon.</p>

<p>Next, the PoE switch. Adopting it made it reboot, and because the AP’s passthrough port feeds my desk switch, my entire desk went with it: Wi-Fi, desk switch, workbench, the PC I was working on. It came back on factory settings with a new DHCP address, a factory name, and every port on the “All” profile. My scripts couldn’t find it anymore, because its name and IP had both changed. Matching on the MAC address first, then name, then IP, fixed that for good.</p>

<blockquote class="prompt-warning">
  <p>Adoption resets a UniFi switch to factory port settings, so every access port lands in VLAN 1 until you provision it. Have the dry run ready before you click Adopt, and switch off automatic firmware upgrades so you get one reboot instead of two.</p>
</blockquote>

<p>Before adopting the core switch, I compared its CLI config with NetBox port by port, and I’m glad I did. Two ports were hybrids, native VLAN 30 <em>with VLAN 1 tagged on top</em>, and NetBox only had that in a description, which no script reads. Provisioning would have quietly stripped VLAN 1 from both ports, and I’d have spent the evening wondering why two devices had stopped talking.</p>

<p>Getting the core switch adopted meant moving cables around, and at one point the core reached the PoE switch through a port NetBox had down as an access port in a different VLAN. One provisioning run later and the core would have cut itself off. So I wrote the order down and moved one cable at a time, never adding a second link between two switches before removing the first. Not exciting, but it’s what kept the house online.</p>

<h2 id="remember-the-200">Remember the 200?</h2>

<p>With everything adopted, I did one more dry run. It wanted to create port profiles: the same profiles I had created that afternoon.</p>

<p>So I read them back from the controller. Every hybrid profile had saved without its VLAN list. This controller version accepts <code class="language-plaintext highlighter-rouge">tagged_networkconf_ids</code>, answers with a cheerful 200, and throws the field away. A profile with no VLAN list passes <em>every</em> VLAN tagged, which is why everything had kept working all afternoon, and also why two of my ports were a lot more open than they used to be.</p>

<p>The controller stores the opposite instead: <code class="language-plaintext highlighter-rouge">excluded_networkconf_ids</code>, the networks a port does <em>not</em> carry. I tested that on an unused profile first, then changed the script to send the complement:</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">every</span> <span class="o">=</span> <span class="p">[</span><span class="n">i</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">all_ids</span> <span class="o">+</span> <span class="p">[</span><span class="n">net_id</span><span class="p">.</span><span class="nf">get</span><span class="p">(</span><span class="mi">1</span><span class="p">)]</span> <span class="k">if</span> <span class="n">i</span><span class="p">]</span>      <span class="c1"># every network, Default included
</span><span class="n">excluded</span> <span class="o">=</span> <span class="nf">sorted</span><span class="p">(</span><span class="n">i</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">every</span> <span class="k">if</span> <span class="n">i</span> <span class="o">!=</span> <span class="n">nid</span> <span class="ow">and</span> <span class="n">i</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">tagged</span><span class="p">)</span> <span class="k">if</span> <span class="n">tagged</span> <span class="k">else</span> <span class="p">[]</span>
<span class="n">body</span> <span class="o">=</span> <span class="p">{</span><span class="sh">"</span><span class="s">name</span><span class="sh">"</span><span class="p">:</span> <span class="n">name</span><span class="p">,</span> <span class="sh">"</span><span class="s">forward</span><span class="sh">"</span><span class="p">:</span> <span class="sh">"</span><span class="s">customize</span><span class="sh">"</span> <span class="k">if</span> <span class="n">tagged</span> <span class="k">else</span> <span class="sh">"</span><span class="s">native</span><span class="sh">"</span><span class="p">,</span>
        <span class="sh">"</span><span class="s">native_networkconf_id</span><span class="sh">"</span><span class="p">:</span> <span class="n">nid</span><span class="p">,</span>
        <span class="sh">"</span><span class="s">tagged_vlan_mgmt</span><span class="sh">"</span><span class="p">:</span> <span class="sh">"</span><span class="s">custom</span><span class="sh">"</span> <span class="k">if</span> <span class="n">tagged</span> <span class="k">else</span> <span class="sh">"</span><span class="s">block_all</span><span class="sh">"</span><span class="p">,</span>
        <span class="sh">"</span><span class="s">excluded_networkconf_ids</span><span class="sh">"</span><span class="p">:</span> <span class="n">excluded</span><span class="p">}</span>
</code></pre></div></div>

<p>The same silent drop happens to per-port speed and disabled ports, and I haven’t cracked that format yet <!-- VERIFY: still true after the open-items session -->. The lesson I’m keeping: after the first write of any new kind, read the object back. A 200 only means the controller didn’t object, not that it listened.</p>

<!-- SCREENSHOT: dry-run log showing the profile VLAN set being tightened -->

<h2 id="what-id-tell-a-friend-doing-this">What I’d tell a friend doing this</h2>

<p>Before you panic about a lost controller, SSH into your devices: they’re probably holding the backup you’re looking for. Rebuild through the API from that data instead of retyping it. Compare the live config with your documentation port by port before the first push, because that one check saved me two broken ports. Write cable moves down while you make them. And keep the WAN off your switches unless you have a reason: my modem used to reach the firewall through a VLAN on the core switch, which tied the whole house’s internet to the riskiest adoption of the day. It now plugs straight into the firewall.</p>

<p>These days the rule is simple: change NetBox first, do a dry run, read the diff, then commit. A port change on a UniFi switch is an edit in NetBox plus a provision run. On the other switches it’s an edit plus <code class="language-plaintext highlighter-rouge">switch_provision.py</code>. A new VLAN gets created in NetBox and on the firewall, and the hourly sync fills in the rest.</p>

<p>And if the controller dies again? A new controller, a site, one env file and one provision run rebuild the networks, profiles and port settings. The SSIDs are the one thing still living only in the controller and the AP, so the controller gets proper backups now. NetBox’s database does too, since that’s what everything gets rebuilt from.</p>

<h2 id="faq">FAQ</h2>

<h3 id="can-you-recover-a-unifi-network-without-the-controller">Can you recover a UniFi network without the controller?</h3>

<p>Yes. Adopted UniFi devices keep running their last provisioned config. You can read the full switch config with <code class="language-plaintext highlighter-rouge">show running-config</code> over SSH and the access point’s SSIDs and radio settings from <code class="language-plaintext highlighter-rouge">/tmp/system.cfg</code>, then rebuild a controller from that.</p>

<h3 id="can-you-restore-an-old-unf-backup-by-hand">Can you restore an old .unf backup by hand?</h3>

<p>You can decrypt it, since the encryption key is the same for every controller, and inside is a dump of the controller database. Editing it and encrypting it again didn’t give me a usable restore, though; the controller came up with an empty site. Rebuilding through the API was faster and more reliable.</p>

<h3 id="is-netbox-overkill-for-a-homelab">Is NetBox overkill for a homelab?</h3>

<p>For three switches and a firewall, documentation alone would be overkill. It earns its place once config is generated from it and scripts check it against reality: then it’s the thing you rebuild from, not a wiki that slowly drifts out of date.</p>

<h3 id="does-netbox-talk-to-unifi-out-of-the-box">Does NetBox talk to UniFi out of the box?</h3>

<p>Not in my setup: the UniFi integration here is my own pair of NetBox custom scripts using the controller’s API.</p>

<h3 id="why-are-my-unifi-port-profile-vlans-not-saving">Why are my UniFi port profile VLANs not saving?</h3>

<p>On the controller version I used, <code class="language-plaintext highlighter-rouge">tagged_networkconf_ids</code> is accepted and silently dropped. The profile stores <code class="language-plaintext highlighter-rouge">excluded_networkconf_ids</code>, the networks the port does not carry, so send the complement of your tagged list instead.</p>

<h2 id="learn-the-network-side-properly">Learn the network side properly</h2>

<blockquote class="prompt-info">
  <p>If VLANs, trunks and native VLANs still feel like guesswork, the networking path on <a href="https://labs.mylemans.online">Mylemans Labs</a> walks through them in order, free.</p>
</blockquote>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Networking" /><category term="Homelab" /><category term="netbox" /><category term="unifi" /><category term="source of truth" /><category term="automation" /><category term="homelab" /><category term="proxmox" /><category term="sophos" /><category term="python" /><summary type="html"><![CDATA[My UniFi controller was gone. How I pulled the config back out of the devices, rebuilt it through the API and made NetBox the source of truth for the whole lab.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/netbox-source-of-truth/cover.png" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/netbox-source-of-truth/cover.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Build a 3-Node Proxmox Ceph Cluster Without a Monitor</title><link href="https://mylemans.online/posts/proxmox-cluster-without-a-monitor/" rel="alternate" type="text/html" title="Build a 3-Node Proxmox Ceph Cluster Without a Monitor" /><published>2026-10-27T13:00:00+00:00</published><updated>2026-10-27T13:00:00+00:00</updated><id>https://mylemans.online/posts/proxmox-cluster-without-a-monitor</id><content type="html" xml:base="https://mylemans.online/posts/proxmox-cluster-without-a-monitor/"><![CDATA[<p>I installed three mini PCs, built a cluster with shared storage, restored a VM onto it and put real certificates on every node, and there was no monitor or keyboard anywhere near the rack. Every keystroke went through the KVM in the top slot. Halfway through I also wiped a node that was working fine and installed it again because of one word I typed into the wrong field. This post is the written version of that build, in the order I did it, including the parts that went wrong.</p>

<blockquote class="prompt-tip">
  <p><strong>TL;DR</strong>: Install Proxmox on each node through the KVM with the ISO mounted as virtual USB. Give the network ports fixed names and split the two 10GbE ports by job (one for Ceph with jumbo frames, one bridge with VLANs for management, Corosync and VMs). Create the cluster with two links, install Ceph from the wizard, wipe the NVMe disks before you let Ceph touch them, add your backup server, then get Let’s Encrypt certificates through the Cloudflare DNS challenge. Get the hostname right at install time; everything after it inherits that name.</p>
</blockquote>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/qUpjmH_u_bY" frameborder="0" allowfullscreen=""></iframe></div>

<p>The short version above is the main-channel video. The full click-by-click guide, about ten minutes, is on the second channel:</p>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/rHQe3w7m8V4" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="what-im-building">What I’m building</h2>

<p>Three Lenovo ThinkCentre M720q Tiny PCs, each with an i5-9400T, 32 GB of RAM, a 2 TB NVMe and a dual-port 10GbE card on a riser. Each machine runs Proxmox, so one box becomes several separate computers. The three of them agree on who runs what, which is the cluster. The disks in all three act like one shared disk, which is Ceph. The whole thing sits in a 10-inch rack with a 10GbE switch and a PDU; the hardware and the rack build are in <a href="/posts/m720q-10-inch-rack-cluster-build/">part 1 and 2 of this series</a>.</p>

<p>The grey box at the top of the rack is a <a href="/posts/glinet-comet-x-kvm-review/">GL.iNet Comet X</a>, a four-port KVM over IP. My desktop can’t even reach the management network of these nodes, the ping fails three times, but the KVM doesn’t care about my network. It’s plugged into the HDMI and USB port of each node, so I get the screen and keyboard of all three in a browser tab, right down to the BIOS.</p>

<h2 id="the-network-plan">The network plan</h2>

<p>Every node has two 10GbE ports and I didn’t bond them. I split them:</p>

<ul>
  <li><strong>nic1</strong> does nothing but storage traffic, with an MTU of 9000, because that is what Ceph wants.</li>
  <li><strong>nic2</strong> becomes a bridge for the VMs with no address of its own. On top of that bridge, <strong>VLAN 2</strong> is management (with the gateway) and <strong>VLAN 51</strong> is Corosync, the cluster’s heartbeat.</li>
  <li>The onboard 1GbE port stays unused.</li>
</ul>

<p>The downside is that each cable is now the only path for its job: if the storage cable goes, that node’s disk drops out of the cluster even though the machine is fine. I chose that on purpose, and the full reasoning is in <a href="/posts/proxmox-ceph-10gbe-network-design/">Proxmox Ceph Networking: Why I Split My 10GbE NICs</a>.</p>

<p>In the installer I tick <strong>pin network interface names</strong>, so the ports keep their names after a kernel update or a new card. Without that, a rename can break the whole network config behind your back.</p>

<h2 id="installing-node-1">Installing node 1</h2>

<p>I upload the Proxmox ISO to the KVM, it shows up on the node as a USB stick, and the node boots from it like it was plugged in. The red lines on every boot are harmless on this hardware.</p>

<p>Target disk, country (which fills in the time zone), keyboard, root password and an email for alerts. Then the page to take your time on: the hostname is the <strong>full</strong> name, <code class="language-plaintext highlighter-rouge">pve1.lab.mylemans.online</code>, and I type a static address over the one it got from DHCP. Keep an eye on that field, because it’s where node 2 goes wrong.</p>

<p>The first thing a fresh node does is fail on update, because it’s pointed at the paid repository and I don’t have a subscription. I run the community post-install script, say yes to the free repositories, no to the test repository and no to disabling high availability. Later I also run the CPU governor script and the fix for the Intel network card on the onboard port.</p>

<h2 id="node-2-twice">Node 2, twice</h2>

<p>The KVM switches over and the same installer comes up. Here I typed the domain into the IP field, so the hostname was just <code class="language-plaintext highlighter-rouge">pve</code>. The summary page showed me that before anything was written, and I pressed install anyway. Now the node calls itself <code class="language-plaintext highlighter-rouge">pve</code>, and <code class="language-plaintext highlighter-rouge">/etc/hosts</code> thinks so too.</p>

<p>Renaming a Proxmox node touches several places, and once it’s in a cluster it gets a lot worse. On a fresh node a reinstall is about four minutes, so I mounted the ISO again and installed it properly as <code class="language-plaintext highlighter-rouge">pve2</code>. From then on I read the summary page like a checklist. Why the name matters so much comes back at the end, with the certificates.</p>

<blockquote class="prompt-warning">
  <p>Read the installer’s summary page before you press install. A wrong hostname is four minutes to fix now and an afternoon to fix later.</p>
</blockquote>

<h2 id="node-3">Node 3</h2>

<p>Node 3 kept booting its old install instead of the ISO, so I went into the Lenovo BIOS through the KVM and picked the ISO from the startup menu. It couldn’t detect the country, which doesn’t matter, I filled it in by hand. A few read errors at the end of the install, but it finished and booted fine. It asked me to remove the boot media, so I unmounted it in the KVM panel.</p>

<h2 id="putting-the-network-plan-on-the-real-nodes">Putting the network plan on the real nodes</h2>

<p>On each node: nic1 gets the storage address and MTU 9000. nic2 becomes <code class="language-plaintext highlighter-rouge">vmbr0</code> with no address. On the bridge, VLAN 2 gets the management address and the gateway, VLAN 51 gets the Corosync address. Then I move the node’s own name onto the management VLAN and reconnect on that address, because that’s where the other nodes will look for it.</p>

<h2 id="creating-the-cluster">Creating the cluster</h2>

<p>On pve1, <strong>Datacenter → Cluster → Create Cluster</strong>, name <code class="language-plaintext highlighter-rouge">labcluster</code>, with two links: the heartbeat VLAN as link 0 and the storage port as link 1. If one network dies, the nodes can still talk over the other.</p>

<p>Node 2’s first join failed in the same second, so a check refused it before anything changed: link 1 had come up empty in the join dialog. I picked it again and the second join worked. When node 3 joined I got “authentication failed”, which is normal: the cluster service restarts and logs your browser out. Log in again and it’s there.</p>

<h2 id="ceph">Ceph</h2>

<p>Ceph gets installed on all three nodes from the wizard. The red warning straight after is expected; there are no disks in Ceph yet. Then monitors and managers on the two other nodes.</p>

<p>Node 2 said it had <strong>no unused disks</strong>, while the 2 TB NVMe was sitting right there. I created the OSD from the shell and it came up wrong: an “SSD” of 1 KB, not in use. So I stopped it, destroyed it and created it again from the GUI with the device class set to NVMe by hand. After that, three OSDs, all up and in.</p>

<blockquote class="prompt-tip">
  <p>Wipe the disks before you start. A disk with an old partition table on it is what produced the 1 KB OSD. <code class="language-plaintext highlighter-rouge">wipefs -a /dev/nvme0n1</code> on a fresh node saves the detour.</p>
</blockquote>

<p>Then a pool for the VM disks and CephFS on top for ISOs and templates, so every node sees the same files. I turn off the local storage on each node so nothing lands on one node by accident.</p>

<h2 id="backups">Backups</h2>

<p>My Proxmox Backup Server already exists (<a href="/posts/proxmox-backup-server/">install guide here</a>), so I attach it as storage. The fastest way to prove the shared storage works is to restore a real VM from backup straight onto Ceph, so that’s what I did. Then an Ubuntu ISO downloaded straight into CephFS, and a nightly backup job for everything at 21:00.</p>

<p>That’s a working cluster.</p>

<h2 id="real-certificates-on-internal-nodes">Real certificates on internal nodes</h2>

<p>Every node still shows a certificate warning. These nodes aren’t reachable from the internet, so Let’s Encrypt can’t check them directly. Instead it checks a DNS record at Cloudflare, which works for machines that stay internal.</p>

<ol>
  <li><strong>Datacenter → ACME</strong>: register an account with Let’s Encrypt.</li>
  <li>Add the <strong>Cloudflare DNS plugin</strong> with an API token that has one permission: edit DNS on that one zone, nothing else.</li>
  <li>On each node, <strong>System → Certificates → ACME</strong>: add the node’s name, select the plugin, order. It waits for the DNS record to spread before Let’s Encrypt checks it.</li>
</ol>

<p>The second the certificate goes on, the browser refuses the page: the tab is still on the IP address, and the certificate is issued to <code class="language-plaintext highlighter-rouge">pve1.lab.mylemans.online</code>. Open it by name and it’s trusted. Same for the other two.</p>

<p>And that is why I reinstalled node 2. The certificate is issued to a name and the cluster finds each node by name too, so everything you build on top depends on it. If the name is wrong at install, everything after it inherits the wrong name.</p>

<h2 id="what-id-do-differently">What I’d do differently</h2>

<p>From first install to last certificate it took about an hour and a half, with one node installed twice. If I did it again I’d wipe the disks before starting and read every summary page.</p>

<p>The parts I’m not proud of yet: there is no cable management in this rack at all, and the whole cluster hangs off one switch, which is the one thing I didn’t build redundancy for.</p>

<p>I built this because the same shape shows up in a small business server room: a few machines sharing storage, backup and a network that somebody has to understand. The hardware here is cheaper, but the decisions are the same. If quorum, Ceph and Corosync are new words to you, the <a href="https://labs.mylemans.online/?path=virtualization">virtualization path on Mylemans Labs</a> takes you through them in order, for free.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Proxmox" /><category term="Homelab" /><category term="proxmox" /><category term="ceph" /><category term="cluster" /><category term="corosync" /><category term="kvm over ip" /><category term="lets encrypt" /><category term="homelab" /><category term="youtube" /><summary type="html"><![CDATA[Three Lenovo M720q nodes from bare metal to a Proxmox cluster with Ceph, backups and Let's Encrypt certificates, installed entirely through a KVM over IP.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/qUpjmH_u_bY.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/qUpjmH_u_bY.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">GL.iNet Comet X Review: 4-Port KVM over IP for a 10-Inch Rack</title><link href="https://mylemans.online/posts/glinet-comet-x-kvm-review/" rel="alternate" type="text/html" title="GL.iNet Comet X Review: 4-Port KVM over IP for a 10-Inch Rack" /><published>2026-10-27T12:30:00+00:00</published><updated>2026-10-27T12:30:00+00:00</updated><id>https://mylemans.online/posts/glinet-comet-x-kvm-review</id><content type="html" xml:base="https://mylemans.online/posts/glinet-comet-x-kvm-review/"><![CDATA[<p>One of my Proxmox nodes is booting and I’m watching it from a browser tab. The box doing that is the GL.iNet Comet X, a four-port KVM over IP, and it lives in the top slot of my cluster rack. I bought this one myself; nobody sent it.</p>

<blockquote class="prompt-tip">
  <p><strong>TL;DR</strong>: Four HDMI+USB ports, PoE or USB-C power, rack ears that fit 10-inch rails, and all the cables in the box. It gave me the screen and keyboard of all three nodes in one browser tab, down to the BIOS, which is what I used to <a href="/posts/proxmox-cluster-without-a-monitor/">install the whole cluster without a monitor</a>. Two annoyances: when the first setup fails it only says “connection lost”, and it adds eight cables to the back of a small rack.</p>
</blockquote>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/oTdKprLL6Xk" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="in-the-box">In the box</h2>

<p>The unit, two rack ears, a bag of screws and a quick-start guide. On the front: two USB ports, a small display and a button to switch between ports. On the back: four ports, each with an HDMI and a USB, one per machine. It comes with four HDMI cables and four USB cables, so you have the cables for all four machines without buying anything. Power is USB-C or PoE.</p>

<h2 id="into-the-rack">Into the rack</h2>

<p>The rack ears screw onto the sides and fit 10-inch rails straight away. It goes into the one slot I left empty in the <a href="/posts/m720q-10-inch-rack-cluster-build/">rack build</a>, at the top. Every node gets one HDMI for the screen and one USB for keyboard and mouse, two cables per node, and the rack’s top slot is filled.</p>

<h2 id="setup">Setup</h2>

<p>The first time you open the web interface it asks for an admin password, then shows the port list. I renamed the first three ports pve1, pve2 and pve3. Settings cover video, keyboard, mouse and network; the one I changed is mouse mode to <strong>absolute</strong>, so the pointer lands where you click.</p>

<p>On the first address I got no picture on any port. After it moved to a new address the picture was there immediately, so if you see nothing, check what address the unit actually has before you check cables. From then on I could switch between all three nodes and get each console in the same browser tab.</p>

<p>One gotcha that cost me a login: my first password attempt on a node failed, and the KVM showed me why at the same moment. Num Lock was off on the node. If a password with numbers fails through a KVM, check Num Lock first.</p>

<h2 id="the-part-i-bought-it-for">The part I bought it for</h2>

<p>I reboot a node and see the whole boot in the browser, from the Lenovo logo to the login prompt. That means I can get into the BIOS without a monitor anywhere near the rack, which is how node 3 got its boot order fixed during the cluster install.</p>

<h2 id="the-comet-q">The Comet Q</h2>

<p>I also picked up the Comet Q, the small single-port one with the round screen. It powers over USB-C and the first thing it asks for is your Wi-Fi; once connected, the screen shows its address so you know where to find it. So far I’ve only done the Wi-Fi setup on it and haven’t connected it to a machine, so no verdict on that one yet.</p>

<h2 id="verdict">Verdict</h2>

<p>Seeing a machine boot in a browser tab is exactly what I want from a KVM in a home lab, and four ports fits a three or four node rack. All the cables were in the box and the rack ears fit. What I’d improve: when the first setup didn’t work, the screen only said the connection was lost, not why. And it adds eight cables to the back of a 10-inch rack that already had none of them managed.</p>

<p>It’s on the <a href="/hardware.html">My lab</a> page and in the <a href="https://www.amazon.com/shop/mylemansonline/list/BJY1P8GA3V64?tag=marcmylemans-20">cluster parts list</a> (affiliate).</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Reviews" /><category term="Hardware" /><category term="gl.inet" /><category term="comet x" /><category term="kvm over ip" /><category term="homelab" /><category term="10 inch rack" /><category term="review" /><category term="youtube" /><summary type="html"><![CDATA[Hands-on with the GL.iNet Comet X, the four-port KVM over IP that installed my Proxmox cluster without a monitor: unboxing, rack mount, setup, gotchas.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/oTdKprLL6Xk.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/oTdKprLL6Xk.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">3x Lenovo M720q in a 10-Inch Rack: The Cluster Hardware Build</title><link href="https://mylemans.online/posts/m720q-10-inch-rack-cluster-build/" rel="alternate" type="text/html" title="3x Lenovo M720q in a 10-Inch Rack: The Cluster Hardware Build" /><published>2026-10-27T12:00:00+00:00</published><updated>2026-10-27T12:00:00+00:00</updated><id>https://mylemans.online/posts/m720q-10-inch-rack-cluster-build</id><content type="html" xml:base="https://mylemans.online/posts/m720q-10-inch-rack-cluster-build/"><![CDATA[<p>These are the parts for my Proxmox cluster, and everything in this post I bought myself. Three Lenovo M720q Tiny PCs, each with a dual-port 10GbE card, going into a 10-inch rack with a 10GbE switch and a PDU. This post covers the hardware and the rack build; <a href="/posts/proxmox-cluster-without-a-monitor/">part 3</a> is the Proxmox install.</p>

<blockquote class="prompt-tip">
  <p><strong>TL;DR</strong>: The M720q is the right tiny PC for this because it has a riser slot that takes a real PCIe card, so each node gets two 10GbE ports. The rack is a DeskPi RackMate T1 Plus (6U), the nodes sit in 3D-printed cradles, and the one lesson from the build is to dry-fit every tray before you screw in the first device. The full parts list is on my <a href="https://www.amazon.com/shop/mylemansonline/list/BJY1P8GA3V64?tag=marcmylemans-20">Amazon list</a> (affiliate).</p>
</blockquote>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/a3ho8IB7p0U" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="the-nodes">The nodes</h2>

<p>Each node is a Lenovo ThinkCentre M720q Tiny with an i5-9400T, 32 GB of RAM and a 2 TB NVMe. The network card is a YuanLey dual-port 10GbE card on the nandfarm riser board made specifically for this model.</p>

<p>That riser is the whole reason I picked the M720q. Most tiny PCs have no room for a real PCIe card, but this one has a slot for a riser, so a full 10GbE card fits. To get it in, the lid comes off and the whole tray slides out; the riser goes in the slot, the card on the riser, and the tray slides back. One node done, the other two get exactly the same treatment.</p>

<p>For a cluster, the view that matters is the back: two 10GbE ports on every node. One port is for storage and the other for everything else, and I deliberately do not bond them; the reasoning is in <a href="/posts/proxmox-ceph-10gbe-network-design/">Proxmox Ceph Networking: Why I Split My 10GbE NICs</a>.</p>

<h2 id="the-rack">The rack</h2>

<p>The rack is a DeskPi RackMate T1 Plus, a 6U 10-inch rack, and nobody sent me this one either.</p>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/luNCoZl64aM" frameborder="0" allowfullscreen=""></iframe></div>

<p>In the box: the acrylic top cover, a metal blank panel, a 12-port keystone patch panel, two aluminium handles, rubber feet, all the aluminium rods for the frame, and two screwdrivers (a cross-head and a hex), so you don’t need tools of your own.</p>

<p>The manual lists every part with a count, and I started by sorting the screws into rows by length, because they all look alike and the manual calls for a specific one at every step. The side frames are a long rod and a short rod screwed into an L and then closed into a rectangle. Tighten every corner while checking against the manual; a frame that’s slightly out of square makes the panels hard to slide in later. The protective film comes off the acrylic side panels and they slide into the channel of the frame. The long punched rails are what your gear screws into, front and back.</p>

<p>Rubber feet with anti-slip mats under them, then the cross rails between the two sides and the vented shelf into the bottom. There is a fixing plate for an 80 or 120 mm fan; the fan isn’t in the box and I didn’t fit one. The manual warns you not to overtighten the handles because they go straight into the acrylic and can crack it, so I tightened until they stopped moving and left it. Last step: the blank panel and the patch panel go into the front rails.</p>

<p>What I think of it: the manual goes page by page and is very clear, every screw is in the box, and it feels solid once it’s together. The tinted side panels look good but reflect the whole room, so on camera you will see yourself in them. For mounting you get one vented shelf and one blank panel, so for mini PCs you will be printing or buying your own trays.</p>

<h2 id="putting-the-cluster-in">Putting the cluster in</h2>

<p>Each node sits in a 3D-printed cradle that screws into the front rails, with a honeycomb panel underneath. I print these in PETG now; the PLA ones softened during the summer heat.</p>

<p>Then the mistake. The switch sits on a sloped tray that screws in above the nodes, and that tray has to go in first. So everything came out again. If you’re building one of these: dry-fit every tray and cradle before you screw in the very first device, then put the switch tray in first.</p>

<p>The three power bricks go inside the rack behind the nodes and plug into a 1U PDU with four sockets, so the whole rack needs one power cable. The switch is a XikeStor SKS8300-8T with eight 10GbE ports. Every node gets two cables, and I don’t want them together, so storage on one port and everything else on the other. There’s no cable management yet; all six leads just hang at the back.</p>

<p>And that’s the finished rack: three nodes, a 10GbE switch, one power cable, and the top slot empty on purpose, because something goes in there next: the <a href="/posts/glinet-comet-x-kvm-review/">Comet X KVM</a>.</p>

<h2 id="verdict">Verdict</h2>

<p>The M720q with the riser and the dual 10GbE card is a really good fit for a 10-inch rack. The printed cradles work. Plan the order of everything before you start, because I didn’t.</p>

<p>All the parts are on the <a href="https://www.amazon.com/shop/mylemansonline/list/BJY1P8GA3V64?tag=marcmylemans-20">Amazon list</a> (affiliate link, costs you nothing extra), and the hardware I run today is kept up to date on the <a href="/hardware.html">My lab</a> page.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Hardware" /><category term="Homelab" /><category term="m720q" /><category term="10 inch rack" /><category term="deskpi rackmate" /><category term="10gbe" /><category term="homelab" /><category term="3d printing" /><category term="youtube" /><summary type="html"><![CDATA[The parts and build for my Proxmox cluster: three M720q Tiny PCs with dual 10GbE, a DeskPi RackMate T1 Plus, 10GbE switch and PDU, plus one build-order lesson.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/a3ho8IB7p0U.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/a3ho8IB7p0U.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Cudy TR3000 Review: A Budget OpenWrt Travel Router with VPN</title><link href="https://mylemans.online/posts/cudy-tr3000-travel-router-review/" rel="alternate" type="text/html" title="Cudy TR3000 Review: A Budget OpenWrt Travel Router with VPN" /><published>2026-09-16T11:00:00+00:00</published><updated>2026-09-16T11:00:00+00:00</updated><id>https://mylemans.online/posts/cudy-tr3000-travel-router-review</id><content type="html" xml:base="https://mylemans.online/posts/cudy-tr3000-travel-router-review/"><![CDATA[<p>By the end of this post the Cudy TR3000 is connected to my VPN all by itself, and every device behind it goes through the tunnel with one switch on the side to turn it off. First, the honest part: Cudy sent me this router for free. They are not paying for the review, they did not see it before you did, and I still mark it as sponsored because the unit was a gift.</p>

<blockquote class="prompt-tip">
  <p><strong>TL;DR</strong>: About 80 euros, 160 grams, OpenWrt underneath Cudy’s own interface, five operation modes including hotel Wi-Fi (WISP), a 2.5GbE WAN port, one gigabit LAN port, and a VPN page with eleven options. The OpenVPN client worked on the first try once I had the config file; the page just doesn’t tell you where that file comes from. The physical VPN switch is the best feature for travel.</p>
</blockquote>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/8SUszRoc4bw" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="in-the-box">In the box</h2>

<p>A white inner box with a start card on top. On the back of the router: a 2.5GbE WAN port for the internet connection coming in, one gigabit LAN port, a USB 3.0 port, and USB-C for power, so it runs off a phone charger or a laptop charger. Also in the box: a power adapter, a flat Ethernet cable and a quick installation guide.</p>

<p>When I plugged it in, the light on top started blinking red, which with that shape looks like a pair of eyes glaring at me before I’d even set it up. More on that below.</p>

<p>It’s small, about 160 g, so it fits a jacket pocket. If you’ve looked at travel routers before it will look familiar: on paper it’s almost the same hardware as a GL.iNet Beryl AX, the same MediaTek chip, the same memory and the same 2.5GbE port. I don’t own a Beryl AX so I can only compare specs, but the Cudy is about 80 euros and the Beryl about 100.</p>

<h2 id="setup">Setup</h2>

<p>The first thing it asks for is an admin password, and if you look at the address bar it says LuCI. That is the web interface of OpenWrt, so underneath Cudy’s design this is OpenWrt, and that matters when we get to the VPN.</p>

<p>Quick setup starts with the operation mode. Wireless router is the normal one with a cable into the WAN port. In a hotel it can connect to the hotel’s Wi-Fi as its internet and make its own network for your devices; that’s WISP mode. Router, access point and extender cover the usual cases at home.</p>

<p>Then the time zone, and this is where I found out why it was glaring at me: “no broadband access signal is detected”, because I had never plugged in the internet cable. Cable in, light turns white.</p>

<p>Wi-Fi name and password, a summary, apply. On the dashboard the firmware said 2.4.22; a newer version came out in July, which I come back to at the end.</p>

<h2 id="the-vpn">The VPN</h2>

<p>Under VPN there are eleven options: OpenVPN, WireGuard and ZeroTier, each as client or server, plus IPsec for site-to-site, and PPTP and L2TP. I’d skip PPTP; it’s old and not considered secure anymore.</p>

<p>I went with the OpenVPN client, because that’s what my VPN service uses, and this is where I got stuck. The router wants an OpenVPN config file and nothing on the page tells you where that file comes from. It comes from your own VPN provider. Mine is CloudConnexa, OpenVPN’s cloud service, which I already use for the lab (full setup in <a href="/posts/cloudconnexa-intune-zero-trust-remote-access/">CloudConnexa + Intune: Zero-Trust Remote Access</a>).</p>

<p>In CloudConnexa I added a new connector called TR3000. One honest note: my plan allows two connectors and this put me at two of two, so check your own plan before you count on it. It then asks what kind of router you have, and this is why I pointed at the address bar earlier: I just pick OpenWrt, because that’s what the router runs. Download the profile, upload it on the router’s VPN page, apply.</p>

<p>The router says connected and CloudConnexa shows the TR3000 online. From that moment every device on the router’s Wi-Fi goes through the tunnel without any VPN software on the devices themselves. You don’t have to send everything through it either: you can choose which devices or networks use the VPN and the rest goes out the normal way, which is split tunnelling.</p>

<h2 id="the-rest-of-the-interface">The rest of the interface</h2>

<p>Under advanced settings you get most of what a normal home router has: a guest network, custom DNS, port forwarding. There’s a diagnostics page with ping, traceroute and nslookup built in, which is handy when a hotel network is being difficult.</p>

<p>The most useful thing for travel is the switch on the side. It turns the VPN on and off, so I don’t need to open a page to get in or out of the tunnel. You can also assign it to switch the light off instead, but it’s one or the other.</p>

<h2 id="firmware">Firmware</h2>

<p>I recorded all of this on 2.4.22. Version 2.5.21 came out in July with security fixes, DNS ad blocking and more VPN options, so I updated afterwards. If your screens look a bit different from the video, that’s why.</p>

<h2 id="verdict">Verdict</h2>

<p>The five modes cover pretty much every situation I can think of, and the VPN worked on the first try once I had the right file. The side switch is really handy. What I’d like Cudy to improve is the VPN page: it should tell you where the config file comes from. And there’s only one LAN port. I haven’t taken it on a trip yet, so I can’t tell you how it deals with a hotel captive portal.</p>

<p>If you want a small router with OpenWrt underneath and a VPN client built in, for travel or as a separate router for your lab, I think this is a good one for the price.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Reviews" /><category term="Networking" /><category term="cudy" /><category term="tr3000" /><category term="travel router" /><category term="openwrt" /><category term="openvpn" /><category term="cloudconnexa" /><category term="vpn" /><category term="review" /><category term="youtube" /><summary type="html"><![CDATA[The Cudy TR3000 is a pocket OpenWrt travel router with a 2.5GbE WAN port and a built-in VPN client. Unboxing, setup, CloudConnexa VPN, and what I would improve.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/8SUszRoc4bw.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/8SUszRoc4bw.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Build Your First Home NAS With Fygo OS</title><link href="https://mylemans.online/posts/first-home-nas-fygo-os/" rel="alternate" type="text/html" title="Build Your First Home NAS With Fygo OS" /><published>2026-09-16T00:00:00+00:00</published><updated>2026-09-16T00:00:00+00:00</updated><id>https://mylemans.online/posts/first-home-nas-fygo-os</id><content type="html" xml:base="https://mylemans.online/posts/first-home-nas-fygo-os/"><![CDATA[<p>If your media library and your family’s photo backups live on the same box you break for fun on a Friday night, they will go down with it eventually. Your first home server should be a boring, dedicated NAS that just keeps working, and your experiments belong somewhere else. In this post I walk through the NAS I built from mostly recycled parts, the four jobs it actually has to do, how I tested the OS in a VM before touching hardware, and the one setting that makes your media folder look empty on day one.</p>

<blockquote class="prompt-tip">
  <p><strong>The short version:</strong> test the NAS OS in a VM with a few virtual disks first, then put it on dedicated hardware. A low-power board with an Intel iGPU, 16 GB of RAM, four drives in RAID-Z1 and a small separate OS SSD covers media streaming, photo backup, file shares and household backups. With Fygo OS the free tier handles up to four drives. If your media app shows an empty library, give the app’s own service account read access to the media folder.</p>
</blockquote>

<blockquote class="prompt-warning">
  <p><strong>Disclosure:</strong> Fygo gave me a licence and five one-year keys for a giveaway, and they are tagged as a brand partner on the video. All the hardware in this build is my own. They didn’t review this post or the video before release.</p>
</blockquote>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/NsZ3zYUDY9Y" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="keep-play-and-reliability-on-separate-boxes">Keep play and reliability on separate boxes</h2>

<p>I run a Proxmox cluster for experiments, and it breaks. That’s the point of it. What I don’t want is my photo archive depending on whether I finished a cluster migration cleanly at 23:00.</p>

<p>So the rule I’d give anyone starting out: your first home server is a dedicated NAS with one job, which is storing and serving data. Your lab can be a VM on your laptop, an old mini PC or a cluster later on. If the lab dies, the NAS doesn’t notice. (If you’re heading down the cluster road afterwards, my <a href="https://blog.mylemans.online/posts/Building_a_3Node_Proxmox_Cluster_with_Ceph_Storage_StepbyStep_Guide/">Proxmox cluster post</a> is where that starts.)</p>

<h2 id="try-before-you-buy-test-the-os-in-a-vm-first">Try before you buy: test the OS in a VM first</h2>

<p>Before I spent anything, I ran Fygo OS in a virtual machine with a handful of small virtual disks attached. That tells you most of what you need to know for free: whether the setup flow makes sense to you, how pools and shares are created and whether the apps you care about are there.</p>

<ol>
  <li>Create a VM with 2 to 4 vCPUs and 4 to 8 GB of RAM.</li>
  <li>Attach one small virtual disk for the OS and three or four more for the storage pool.</li>
  <li>Install, build a pool, create a share and connect to it from your own PC.</li>
  <li>Pull a virtual disk out of a running pool and watch how the OS reports it.</li>
</ol>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/08-vm-first-boot.jpg" alt="Fygo OS boot screen in a VM showing the ASCII banner, hostname and access URL" /></p>

<p>That last step is the one most people skip. Watching the degraded warning appear in a VM costs nothing and tells you exactly what you’ll see on the day a real drive dies.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/13-vm-degraded-volume.jpg" alt="Fygo OS Storage page showing a degraded volume with the Hard Drive Missing dialog" /></p>

<p>If you’ve never built a VM before and it refuses to start, check that hardware virtualization (Intel VT-x or AMD-V) is enabled in your BIOS. That’s the setting that stops most first attempts.</p>

<h2 id="the-four-jobs-a-home-nas-has-to-do">The four jobs a home NAS has to do</h2>

<p>Everything in this build is chosen around these four jobs. If a feature doesn’t serve one of them, it’s a nice-to-have.</p>

<h3 id="1-local-media-streaming">1. Local media streaming</h3>

<p>The NAS serves your movies and shows to TVs, phones and laptops around the house. The hard part is transcoding: when a 4K file needs to play on a device that can only handle 1080p, something has to convert it on the fly. Doing that on the CPU alone brings a low-power chip to its knees. An Intel iGPU with Quick Sync does it in hardware and barely raises the CPU load.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/05-payoff-4k-transcodes-cpu.jpg" alt="Four 4K video streams playing in parallel with Resource Manager showing CPU at 8 percent and temperature at 46 degrees" /></p>

<h3 id="2-private-photo-management">2. Private photo management</h3>

<p>Phones back up automatically to the NAS, and face recognition and search run on the box itself. Nothing goes to a third-party data centre. For a lot of households this is the feature that justifies the whole project, because it replaces a paid cloud photo subscription.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/07-smart-photo-categories.jpg" alt="Fygo Photos app showing Smart Categories with automatic grouping into palace, plaza, park, fountain, and church" /></p>

<h3 id="3-file-sharing-across-windows-and-mac">3. File sharing across Windows and Mac</h3>

<p>Network shares that show up as a drive letter on Windows and in Finder on a Mac. Nothing exotic, but it has to be reliable and the permissions have to make sense.</p>

<h3 id="4-a-central-backup-target">4. A central backup target</h3>

<p>Household laptops back up to the NAS instead of to a USB drive that lives in a drawer. One caveat I’ll always repeat: a NAS is one copy in one location. It’s a good backup target, but it isn’t your whole backup strategy.</p>

<h2 id="the-hardware-i-used-and-what-id-tell-you-to-buy">The hardware I used (and what I’d tell you to buy)</h2>

<p>Most of this came off my shelf. That’s the honest reason it looks the way it does.</p>

<table>
  <thead>
    <tr>
      <th>Part</th>
      <th>What I used</th>
      <th>What I’d recommend for a first build</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Board + CPU</td>
      <td>CWWK M11 mini ITX with an Intel i5-8265U</td>
      <td>Any efficient board with an Intel iGPU and enough SATA ports</td>
    </tr>
    <tr>
      <td>RAM</td>
      <td>2x 32 GB Crucial SO-DIMM (64 GB)</td>
      <td>16 GB</td>
    </tr>
    <tr>
      <td>Storage pool</td>
      <td>4x WD Red 3 TB in RAID-Z1</td>
      <td>Four drives in RAID-Z1</td>
    </tr>
    <tr>
      <td>Cache</td>
      <td>2x 1 TB NVMe</td>
      <td>Optional for most homes</td>
    </tr>
    <tr>
      <td>OS drive</td>
      <td>Samsung 850 EVO 250 GB SATA SSD</td>
      <td>Any small, separate SSD</td>
    </tr>
    <tr>
      <td>PSU</td>
      <td>ATX unit for now, an SFX 450 W waiting for the case</td>
      <td>350 to 450 W is plenty</td>
    </tr>
  </tbody>
</table>

<h3 id="ram-64-gb-is-overkill">RAM: 64 GB is overkill</h3>

<p>I bought that RAM in November 2024 for about €142. The same kit costs around €700 today, so I’m not telling anyone to copy it. For a first NAS, 16 GB is a comfortable start. You’ll see the old “1 GB of RAM per TB of ZFS storage” rule quoted everywhere; treat it as a loose ceiling rather than a requirement. It mostly comes from setups using deduplication, which a home NAS doesn’t need. More RAM means more caching and a snappier box, not a working versus broken box.</p>

<h3 id="storage-raid-z1-two-nvme-drives-and-a-separate-os-ssd">Storage: RAID-Z1, two NVMe drives and a separate OS SSD</h3>

<p>Four 3 TB drives in RAID-Z1 means one drive can fail without losing data, and you keep roughly three drives’ worth of capacity. That’s a reasonable trade for a home.</p>

<p>The two NVMe drives are set up as cache. Honestly, the write cache is sized for a workload my household barely generates. If you’re building on a budget, skip it and add it later if you ever feel the need.</p>

<p>The OS goes on its own small SSD. Give the installer a dedicated drive so it doesn’t take over the fast storage you’d rather use for data or cache.</p>

<blockquote class="prompt-warning">
  <p>Wipe second-hand drives before you use them, then check the boot menu for leftover UEFI entries. Those cost me a nine-minute boot fight before the installer would come up.</p>
</blockquote>

<h3 id="power-youll-run-out-of-connectors-before-watts">Power: you’ll run out of connectors before watts</h3>

<p>A small NAS draws very little, so wattage is almost never the problem. SATA power connectors are. Count the drives you plan to run (including the ones you’ll add later) and check how many SATA power plugs the PSU actually has, and in what layout, before you buy it.</p>

<h2 id="setting-up-fygo-os">Setting up Fygo OS</h2>

<p>The setup flow explains its choices in plain language. When it asks about the file system, it tells you why ZFS is worth it (it checksums your data and can repair silent corruption when it has redundancy) without drowning you in jargon. For a beginner that matters: you understand what you picked instead of clicking next.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/03-filesystem-choice.jpg" alt="Fygo OS Create Volume screen showing file system options: ext4 (high initially, strong stability), Btrfs (weaker stability), and ZFS (snapshots, compression, self-healing)" /></p>

<p>From there it’s the usual order: create the pool, create shares, create users, install the apps you want. When the setup asks about SSD cache, you’re deciding between L2ARC (read cache) and SLOG (write cache). For most homes, read cache is the useful one.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/04-ssd-cache-config.jpg" alt="Fygo OS Create SSD Cache dialog showing cache mode options: L2ARC for read caching and SLOG for write caching" /></p>

<p>The AI settings are where hardware acceleration gets toggled on. Once enabled on your specific iGPU, the photos app can process your library for face recognition and smart categories without maxing the CPU.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/06-hardware-accel-intel-uhd.jpg" alt="Fygo OS AI settings page showing hardware acceleration enabled on Intel UHD Graphics 620 with face recognition models installed" /></p>

<h2 id="the-gotcha-your-media-folder-looks-empty">The gotcha: your media folder looks empty</h2>

<p>This is the one that will catch you. You point the media app at your movies folder, the scan finishes and the library shows nothing.</p>

<p>Nothing is broken. The media app runs under its own isolated service account, which is good security practice: if the app is ever compromised, it can’t read everything on the NAS. The catch is that this account has no rights to your media folder until you give them.</p>

<p>The fix:</p>

<ol>
  <li>Open the shared folder’s permission settings.</li>
  <li>Find the media app’s service account.</li>
  <li>Give it <strong>read</strong> access (it doesn’t need write).</li>
  <li>Rescan the library.</li>
</ol>

<p>After that, the library loads with cover art and metadata. The App Store has Fygo TV pre-installed for streaming, plus AI Photo, File Snapshot for backups, and a long list of community apps.</p>

<p><img src="/assets/img/posts/first-home-nas-fygo-os/10-app-center.jpg" alt="Fygo App Center showing official and community applications: Fygo TV (home cinema), AI Photo (private face search), Fygo Sync, File Snapshot, and community apps like Jellyfin, Komga, and Syncthing" /></p>

<h2 id="licensing-what-the-free-tier-gets-you">Licensing: what the free tier gets you</h2>

<p>The free tier supports up to four drives, which fits a first build like this one. I hit that ceiling on day one, with two spare WD Reds sitting on the shelf. If you need more drives, there’s a paid licence. The lifetime licence is tied to your Fygo OS account, and Fygo confirmed to me that it transfers to a new build as long as it’s registered to that account.</p>

<p>Pricing and the full feature list are on <a href="https://fygonas.com/">fygonas.com</a>.</p>

<h2 id="whats-next-for-this-build">What’s next for this build</h2>

<p>Right now the board sits in an open test setup. The case is up to you: I’m running a poll on the YouTube community tab, and I’ll build it into the winning case on a live stream.</p>

<p>If you want to understand storage and backups properly rather than just trusting a dashboard, <a href="https://labs.mylemans.online">Mylemans Labs</a> walks through it in order.</p>

<h2 id="faq">FAQ</h2>

<h3 id="can-i-run-a-nas-and-a-homelab-on-the-same-machine">Can I run a NAS and a homelab on the same machine?</h3>

<p>You can, but I wouldn’t for a first build. When the experiments break the box, your files and backups go offline with it. Keep the NAS dedicated and run the lab on separate hardware or in VMs.</p>

<h3 id="how-much-ram-does-a-zfs-home-nas-need">How much RAM does a ZFS home NAS need?</h3>

<p>16 GB is a comfortable starting point for a home NAS. The “1 GB per TB” rule is mostly relevant when deduplication is enabled, which home setups rarely need. Extra RAM improves caching but isn’t required for the system to work.</p>

<h3 id="is-raid-z1-safe-enough-for-a-home-nas">Is RAID-Z1 safe enough for a home NAS?</h3>

<p>RAID-Z1 survives one drive failure, which is a reasonable level for a home pool of four smaller drives. It doesn’t replace backups: keep an extra copy of anything you can’t lose somewhere other than the NAS.</p>

<h3 id="is-fygo-os-free">Is Fygo OS free?</h3>

<p>Fygo OS has a free tier that supports up to four drives. For more drives there’s a paid licence, and the lifetime licence is tied to your account so it moves with you to future builds.</p>

<h3 id="why-does-my-nas-media-library-show-no-files">Why does my NAS media library show no files?</h3>

<p>Most often the media app’s service account has no permission on the folder. Give that account read access to the media share and rescan the library.</p>

<h2 id="win-a-fygo-os-licence">Win a Fygo OS licence</h2>

<blockquote class="prompt-info">
  <p>Fygo gave me five one-year Fygo OS keys for you. Two go to the best homelab showcases (post yours on the <a href="https://www.youtube.com/@mylemansonline/community">YouTube community tab</a> or on <a href="https://www.reddit.com/r/mylemansonline/">r/mylemansonline</a>), and Fygo picks one more winner from those entries. Two go to the best answers to the question I open the video with. Entries and the case poll close on <strong>Friday 25 September 2026</strong>.</p>
</blockquote>

<p>Prefer to watch? The full build is in <a href="https://youtu.be/NsZ3zYUDY9Y">the video</a>, and there’s more homelab and IT content over on Mylemans Online on YouTube.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Homelab" /><category term="Hardware" /><category term="fygo os" /><category term="nas" /><category term="homelab" /><category term="zfs" /><category term="youtube" /><summary type="html"><![CDATA[A home NAS from recycled parts and Fygo OS: the hardware, the four jobs it has to do, the permission gotcha that hides your media, and the free tier.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/NsZ3zYUDY9Y.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/NsZ3zYUDY9Y.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Proxmox Ceph Networking: Why I Split My 10GbE NICs</title><link href="https://mylemans.online/posts/proxmox-ceph-10gbe-network-design/" rel="alternate" type="text/html" title="Proxmox Ceph Networking: Why I Split My 10GbE NICs" /><published>2026-08-02T07:00:00+00:00</published><updated>2026-11-04T12:43:17+00:00</updated><id>https://mylemans.online/posts/proxmox-ceph-10gbe-network-design</id><content type="html" xml:base="https://mylemans.online/posts/proxmox-ceph-10gbe-network-design/"><![CDATA[<p>I had three identical mini PCs, one dual-port 10GbE card in each, and an eight-port 10G switch. That is not enough ports to do everything the documentation assumes you can do, and working out what to give up took longer than the actual install.</p>

<p>This is the cluster the design runs on; the build video shows the nodes, the NICs and the headless install:</p>

<p>By the end of this post you will know how to lay out the networking for a 3-node Proxmox VE and Ceph cluster on exactly two 10G ports per node, why I ended up splitting them instead of bonding them, and the four things that broke on me so they do not break on you.</p>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/qUpjmH_u_bY" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="the-short-version">The short version</h2>

<blockquote class="prompt-tip">
  <p>With two 10G ports per node, use one port for management and VM traffic (VLAN-tagged, on a bridge) and give the second port entirely to Ceph as a bare interface with jumbo frames. Do not bond them. Bonding forces every VLAN onto one bridge, which drags your management interface up to MTU 9000, and LACP hashing cannot reliably split the handful of flows a 3-node Ceph cluster generates anyway. Put corosync on its own VLAN on the first port, with a second ring on the Ceph port so one dead cable cannot take both.</p>
</blockquote>

<p>Here is the detail, including the parts where my first plan was wrong.</p>

<h2 id="the-constraint-sets-the-design-not-the-other-way-round">The constraint sets the design, not the other way round</h2>

<p>Three nodes, each with one dual-port 10GbE card plus an onboard 1GbE. One XikeStor SKS8300-8T, which is eight 10G ports. Boot on a 128GB drive, a 2TB NVMe per node reserved for Ceph.</p>

<p>Six ports for the nodes plus one uplink is seven. That leaves exactly one spare, and it is the reason this cluster is capped at three nodes until I buy a bigger switch. Worth knowing that up front rather than discovering it when you want to add a fourth.</p>

<p>I started out assuming I had four 10G ports per node. I did not. That single correction changed the entire design, which is a good argument for counting your ports before you draw any diagrams.</p>

<h2 id="why-not-a-full-mesh">Why not a full mesh</h2>

<p>For exactly three nodes there is a tempting option: skip the switch for Ceph entirely and direct-attach every node to the other two. Newer Proxmox VE releases have SDN features that can set up this kind of routed mesh without hand-editing FRR configs, so check the Proxmox documentation for what your version supports.</p>

<p>It needs two ports per node for the mesh though, which would leave nothing for VM traffic. And the Proxmox documentation itself recommends switches over a mesh if you plan to grow past three nodes, which I do. A mesh would have been a dead end I would have to tear down later.</p>

<p>So: switched, and the two ports get split by role.</p>

<h2 id="split-or-bond-the-decision-that-shapes-everything">Split or bond: the decision that shapes everything</h2>

<p>This is where I spent the most time, so let me give you the honest version of both sides.</p>

<p><strong>The case for bonding.</strong> Two ports in an LACP bond gives you 20G of aggregate and survives a dead cable. On paper that is strictly better.</p>

<p><strong>Why it does not hold up here.</strong> LACP hashes per flow, so no single connection ever exceeds 10G. A 3-node Ceph cluster with <code class="language-plaintext highlighter-rouge">size=3</code> generates very few flows: a primary OSD replicates to exactly two peers. With that few flows the hash is lumpy. Both Ceph streams can easily land on the same bond member while the other sits idle, and no QoS policy can move them, because LACP picks the physical port before QoS ever sees the frame.</p>

<p><strong>And the redundancy is thinner than it looks.</strong> Both ports live on the same dual-port card. A card or PCIe failure takes out both regardless of bonding, so the bond only ever protects against a cable, transceiver, or switch port failure.</p>

<p><strong>The part that decided it: jumbo frames.</strong> With a bond, Ceph has to live on a VLAN subinterface of the bridge. A VLAN interface cannot exceed its parent bridge’s MTU, so jumbo on Ceph forces the whole bridge to 9000, which drags the management interface with it. Split the ports and Ceph sits on a bare interface with no bridge involved, so it takes MTU 9000 and nothing else is affected.</p>

<blockquote class="prompt-warning">
  <p>I did seriously consider bonding with QoS, weighting Ceph, VM traffic and corosync by percentage. The switch supports it: the SKS8300 does SP, WRR and SP+WRR queue scheduling. But two things killed it. Hard caps waste the link when only one class is active, so you want weights rather than caps. And weights still cannot fix hash imbalance across bond members. Good idea, wrong problem.</p>
</blockquote>

<h2 id="the-vlan-layout">The VLAN layout</h2>

<table>
  <thead>
    <tr>
      <th>VLAN</th>
      <th>Purpose</th>
      <th>Subnet</th>
      <th>Interface</th>
      <th>MTU</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>2</td>
      <td>Management</td>
      <td>10.48.2.0/24</td>
      <td><code class="language-plaintext highlighter-rouge">vmbr0.2</code> (port A, tagged)</td>
      <td>1500</td>
    </tr>
    <tr>
      <td>30</td>
      <td>Virtual machines</td>
      <td>10.48.30.0/24</td>
      <td><code class="language-plaintext highlighter-rouge">vmbr0</code> (port A, <strong>untagged</strong>)</td>
      <td>1500</td>
    </tr>
    <tr>
      <td>50</td>
      <td>Ceph</td>
      <td>10.48.50.0/24</td>
      <td>port B, bare</td>
      <td><strong>9000</strong></td>
    </tr>
    <tr>
      <td>51</td>
      <td>Corosync ring0</td>
      <td>10.48.51.0/24</td>
      <td><code class="language-plaintext highlighter-rouge">vmbr0.51</code> (port A, tagged)</td>
      <td>1500</td>
    </tr>
  </tbody>
</table>

<p>Three deliberate choices in there.</p>

<p><strong>Management gets its own VLAN.</strong> My original layout had the hypervisor sitting on the VM subnet, which is how a lot of homelabs end up by default. Moving it to VLAN 2 means <code class="language-plaintext highlighter-rouge">vmbr0</code> carries no IP at all: VMs still reach VLAN 30 through it, the host just does not participate.</p>

<p><strong>VLAN 30 is untagged on the wire.</strong> Proxmox assigns any VM without a tag to the bridge’s default PVID, so untagged VM frames leave the node untagged and the switch drops them into VLAN 30. VMs needing another VLAN get an explicit tag. One consequence: never use VLAN 1 for anything, because a VM tagged <code class="language-plaintext highlighter-rouge">1</code> behaves identically to an untagged one.</p>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/vlan-layout-plan.png" alt="Table of the four VLANs used by the cluster with subnets, CIDR, usable ranges and gateways" />
<em>The layout I settled on. Management on its own VLAN was a late change, and the right one.</em></p>

<p><strong>Corosync rings sit on different physical ports.</strong> Ring0 on VLAN 51 (port A), ring1 on VLAN 50 (port B). Corosync runs its links in passive mode, so ring1 carries nothing unless ring0 fails and never competes with Ceph in normal operation. But it means a dead cable on port A does not cost you both rings. A bond cannot give you that, because both rings ride the same aggregate.</p>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/pve1-network-devices-renamed.png" alt="Proxmox VE network device list showing interfaces renamed to mgmt, nic1 and nic2" />
<em>Pinned interface names on pve1. Renaming via MAC-matched link files means the names survive PCI renumbering, which matters once Ceph and corosync are bound to specific ports.</em></p>

<h2 id="the-interfaces-file">The interfaces file</h2>

<p>This is pve1. Increment the last octet for the other two.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>auto lo
iface lo inet loopback

# 1GbE, kept as a management fallback on VLAN 2. Not bridged.
auto eno1
iface eno1 inet static
        address 10.48.2.211/24

# --- Port A: management, VM traffic, corosync ring0 ---
iface enp1s0f0 inet manual

auto vmbr0
iface vmbr0 inet manual
        bridge-ports enp1s0f0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr0.2
iface vmbr0.2 inet static
        address 10.48.2.201/24
        gateway 10.48.2.1

auto vmbr0.51
iface vmbr0.51 inet static
        address 10.48.51.201/24

# --- Port B: Ceph only. No bridge, so jumbo is safe here. ---
auto enp1s0f1
iface enp1s0f1 inet static
        address 10.48.50.201/24
        mtu 9000
</code></pre></div></div>

<p>That 1GbE address is worth keeping. I had originally planned to reserve the port for a future switch uplink, but as a permanent way back in on VLAN 2 it earns its place every day, especially if you do not have a KVM on the rack yet.</p>

<p>Apply with <code class="language-plaintext highlighter-rouge">ifreload -a</code>, one node at a time, checking you can still reach it before moving to the next.</p>

<h2 id="verify-jumbo-before-you-touch-ceph">Verify jumbo before you touch Ceph</h2>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ping <span class="nt">-M</span> <span class="k">do</span> <span class="nt">-s</span> 8972 <span class="nt">-c3</span> 10.48.50.202
</code></pre></div></div>

<p>8972 is 9000 minus 28 bytes of headers. If that fails while a normal ping works, your switch jumbo setting did not take. Fix it now, because Ceph on an inconsistent MTU fails in ways that look convincingly like a hardware fault.</p>

<h2 id="cutting-over-without-losing-access">Cutting over without losing access</h2>

<p>My nodes started life reachable on the 1GbE, so I used it as a lifeline rather than dragging a monitor to each box. Three phases:</p>

<ol>
  <li><strong>Ceph link first.</strong> Configure port B only. It touches nothing else, so there is zero risk.</li>
  <li><strong>Parallel management.</strong> Bring up port A as a <em>second</em> bridge with the VLAN 2 address while the 1GbE keeps working. Two separate bridges with one uplink each do not form a loop, so running both is safe. Verify you can reach the new address before going further.</li>
  <li><strong>Cut over.</strong> Add VLAN 30 untagged to port A at the switch, write the final config, reload, reconnect on the new address.</li>
</ol>

<p>Leave VLAN 30 off port A until phase 3, so you never briefly have two interfaces in the same broadcast domain.</p>

<h2 id="building-the-cluster">Building the cluster</h2>

<p>Corosync ring0 on VLAN 51, ring1 on VLAN 50:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># pve1</span>
pvecm create labcluster <span class="se">\</span>
  <span class="nt">--link0</span> <span class="nv">address</span><span class="o">=</span>10.48.51.201,priority<span class="o">=</span>100 <span class="se">\</span>
  <span class="nt">--link1</span> <span class="nv">address</span><span class="o">=</span>10.48.50.201,priority<span class="o">=</span>50

<span class="c"># pve2 and pve3, joining by hostname (this matters, see below)</span>
pvecm add pve1.lab.mylemans.online <span class="se">\</span>
  <span class="nt">--link0</span> <span class="nv">address</span><span class="o">=</span>10.48.51.202 <span class="se">\</span>
  <span class="nt">--link1</span> <span class="nv">address</span><span class="o">=</span>10.48.50.202
</code></pre></div></div>

<p>Then check <strong>both rings</strong>, not just quorum. A dead ring1 is completely silent in <code class="language-plaintext highlighter-rouge">pvecm status</code>:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>corosync-cfgtool <span class="nt">-n</span>
</code></pre></div></div>

<p>Ceph next, pinned to the Ceph network:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pveceph <span class="nb">install</span>          <span class="c"># all three nodes</span>
pveceph init <span class="nt">--network</span> 10.48.50.0/24
pveceph mon create       <span class="c"># all three nodes</span>
pveceph mgr create       <span class="c"># at least two</span>
</code></pre></div></div>

<p>One check is worth more than all the others here:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ceph mon dump
</code></pre></div></div>

<p>The MON addresses must be on <code class="language-plaintext highlighter-rouge">10.48.50.x</code>. If a MON bound to your management network, Ceph works perfectly and every byte of replication quietly runs over the wrong link at MTU 1500. You will not find out until you benchmark.</p>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/ceph-setup-wizard-configuration.png" alt="Proxmox Ceph setup wizard with the public network set to the dedicated Ceph subnet" />
<em>Pinning Ceph to 10.48.50.0/24 at init. Leave the cluster network blank when both would use the same physical link.</em></p>

<h2 id="the-four-things-that-actually-broke">The four things that actually broke</h2>

<p>This is the part I would have wanted to read first.</p>

<h3 id="1-creating-the-cluster-before-reloading-the-network">1. Creating the cluster before reloading the network</h3>

<p>I ran <code class="language-plaintext highlighter-rouge">pvecm create</code> before running <code class="language-plaintext highlighter-rouge">ifreload -a</code>, so corosync recorded addresses that did not exist yet. Fixing it means dissolving the single-node cluster back to standalone:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>systemctl stop pve-cluster corosync
pmxcfs <span class="nt">-l</span>                      <span class="c"># start the cluster filesystem in local mode</span>
<span class="nb">rm</span> /etc/pve/corosync.conf
<span class="nb">rm</span> <span class="nt">-r</span> /etc/corosync/<span class="k">*</span>
killall pmxcfs
systemctl start pve-cluster
</code></pre></div></div>

<p>Then recreate. Do this before any node joins and it costs you two minutes. Afterwards, you repeat it on every node.</p>

<h3 id="2-the-join-info-showed-an-address-i-had-already-changed">2. The join info showed an address I had already changed</h3>

<p>The cluster join information contained the old management IP even though corosync was correct. That field is not corosync at all: it is the API endpoint a joining node uses to fetch the config, and it comes from resolving the node’s own hostname. In other words, <code class="language-plaintext highlighter-rouge">/etc/hosts</code>.</p>

<p>Fix the file on all three nodes, then refresh the cached copy:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>systemctl restart pve-cluster pveproxy
</code></pre></div></div>

<p>Every node needs entries for all three nodes, not just for itself.</p>

<h3 id="3-hostname-verification-failed-on-join">3. Hostname verification failed on join</h3>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>500 Can't connect to 10.48.51.201:8006 (hostname verification failed)
</code></pre></div></div>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/pvecm-add-hostname-verification-failed.png" alt="Terminal showing pvecm add failing with a 500 hostname verification failed error" />
<em>The fingerprint matched. The certificate SANs did not, because they still listed the address the node had at install time.</em></p>

<p>The fingerprint matched fine. The problem is that the node’s TLS certificate was generated at install time, so its SAN list contains the <em>old</em> address. Connecting by IP means the client checks the cert against that IP and finds no match.</p>

<p>Two fixes, and you want both:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pvecm updatecerts <span class="nt">--force</span>     <span class="c"># on every node, regenerates SANs from current IPs</span>
systemctl restart pveproxy
</code></pre></div></div>

<p>And join by <strong>hostname</strong> rather than IP. The certificate always carries the node name and FQDN as DNS SANs, so name-based verification sidesteps this entire class of problem.</p>

<p>I was also joining via the corosync VLAN, which is wrong on its own terms. That VLAN is deliberately isolated and should not be carrying HTTPS. The address you pass to <code class="language-plaintext highlighter-rouge">pvecm add</code> is the API endpoint and belongs on management; the corosync addresses are the <code class="language-plaintext highlighter-rouge">--link0</code> and <code class="language-plaintext highlighter-rouge">--link1</code> arguments.</p>

<h3 id="4-cephfs-refused-to-be-created">4. CephFS refused to be created</h3>

<p>I wanted a CephFS for ISOs and container templates. It failed:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TASK ERROR: error with 'osd pool create': mon_cmd failed - pg_num 128 size 3
for this pool would result in 257 cumulative PGs per OSD which exceeds the
mon_max_pg_per_osd value of 250
</code></pre></div></div>

<p>This was my own fault. I had set <code class="language-plaintext highlighter-rouge">bulk true</code> on the RBD pool, which tells the autoscaler to size it for the whole cluster. It took 128 placement groups, and on three OSDs that is essentially the entire budget.</p>

<p>Do not raise <code class="language-plaintext highlighter-rouge">mon_max_pg_per_osd</code>. It is a guardrail doing its job. Shrink the pool instead:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ceph osd pool <span class="nb">set </span>vmdata bulk <span class="nb">false
</span>ceph osd pool <span class="nb">set </span>vmdata pg_num 32
</code></pre></div></div>

<p>The rule of thumb: your total PG budget is roughly 100 PGs per OSD divided by your replica count, so with 3 OSDs and <code class="language-plaintext highlighter-rouge">size=3</code> you get about 100 PGs across <em>all</em> pools combined. Skip <code class="language-plaintext highlighter-rouge">bulk</code> entirely at this OSD count. It only makes sense once you have enough OSDs that the budget is not the constraint. Add drives later and the autoscaler scales the pools up on its own.</p>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/ceph-health-warn-too-many-pgs.png" alt="Ceph dashboard showing HEALTH_WARN for a pool with too many placement groups" />
<em>Healthy underneath: three OSDs up, all PGs active and clean. The warning is only the autoscaler asking for a smaller pg_num.</em></p>

<h2 id="what-to-expect-once-it-is-running">What to expect once it is running</h2>

<p>With 3 OSDs at 2TB and the default <code class="language-plaintext highlighter-rouge">size=3</code> / <code class="language-plaintext highlighter-rouge">min_size=2</code>, you get roughly 2TB raw usable, or about 1.6TB practical once Ceph’s 85% warning threshold is accounted for.</p>

<p>Two behaviours to accept rather than fight:</p>

<p><strong>A node down means degraded, permanently.</strong> The cluster stays up and writable at <code class="language-plaintext highlighter-rouge">min_size=2</code>, but it will never return to <code class="language-plaintext highlighter-rouge">HEALTH_OK</code> while a node is missing, because there is nowhere to place the third replica. That is correct. Do not lower <code class="language-plaintext highlighter-rouge">min_size</code> to 1 to silence the warning; that is how you lose data.</p>

<p><strong>One OSD per node means no self-healing.</strong> If a drive dies, the cluster sits degraded until you physically replace it. Two OSDs per node fixes this, but only if they are matched in size: a 1TB drive cannot absorb a failed 2TB sibling’s placement groups, so an asymmetric pair gives you a partial version of the benefit at best.</p>

<p>For Windows guests on RBD, use VirtIO SCSI single with writeback cache enabled. It matters more to how the guest feels than anything you do on the network side.</p>

<h2 id="faq">FAQ</h2>

<p><strong>Can I run Ceph on 1GbE?</strong>
Technically yes, and it will start. But replication means every client write generates two more writes across the network, so 1GbE becomes the bottleneck almost immediately and recovery takes a very long time. 10GbE is the realistic floor for a cluster you intend to actually use.</p>

<p><strong>Do I need jumbo frames for Ceph?</strong>
No, it works fine at 1500. Jumbo buys you roughly 5 to 10 percent throughput and slightly lower CPU. It is worth taking when it is free, which it is in this design because Ceph sits on its own bare interface. It is not worth contorting your bridge layout for.</p>

<p><strong>Should the Ceph public and cluster networks be separate?</strong>
Only if they would use separate physical links. On a single link, splitting them adds configuration to keep in sync and changes nothing about the traffic. Set the public network and leave the cluster network blank.</p>

<p><strong>Why is my cluster showing HEALTH_WARN with a node down?</strong>
That is expected on a 3-node cluster. With <code class="language-plaintext highlighter-rouge">size=3</code> and a host-level failure domain, losing a node leaves nowhere for the third replica. The cluster is still readable and writable at <code class="language-plaintext highlighter-rouge">min_size=2</code>. It clears when the node returns.</p>

<p><strong>Can I live migrate a VM with a passed-through GPU?</strong>
No. Full PCI passthrough holds device state the hypervisor cannot copy to another host. The “Live Migration Capable” checkbox on a resource mapping is an assertion that the hardware supports migratable state (SR-IOV vGPUs, essentially), not something that adds the capability. On a plain passthrough iGPU it will attempt the migration and fail. Offline migration works fine, and a cluster-wide resource mapping is what makes it clean.</p>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/igpu-cluster-resource-mapping.png" alt="Proxmox cluster resource mapping showing the same Intel iGPU mapped across all three nodes" />
<em>A cluster-wide mapping is still worth doing. It is what lets an offline migration find the right local device on the target node.</em></p>

<p><img src="/assets/img/posts/proxmox-ceph-cluster/igpu-live-migration-capable-checkbox.png" alt="The Live Migration Capable checkbox marked as experimental in the Proxmox resource mapping dialog" />
<em>This checkbox asserts the hardware supports migratable state. It does not create the capability.</em></p>

<h2 id="recap">Recap</h2>

<p>Two 10G ports per node is a real constraint, and it forces one decision: split by role or bond and share. Splitting wins here because it makes jumbo frames free, keeps corosync’s rings on physically separate ports, and gives Ceph a deterministic 10G instead of a statistical share of 20G that LACP hashing may not deliver anyway.</p>

<p>Almost everything that went wrong for me was ordering, not configuration. Get every node onto its final addresses, its final hostnames and its final certificates <em>before</em> you create the cluster, and most of this post never happens to you.</p>

<p>I am covering the dedicated Proxmox Backup Server for this cluster in a follow-up, since that deserves its own post rather than a footnote here.</p>

<p>Prefer to watch? Join me on <a href="https://www.youtube.com/@mylemansonline">Mylemans Online</a>.</p>

<blockquote class="prompt-info">
  <p>Networking is the part of a homelab that quietly decides how well everything else works, and it is the part most guides skip past. The <strong>IT Foundations path on Mylemans Labs</strong> builds that layer properly: VLANs, subnetting, and switching, hands-on, before you need them at 1am. Start it at <a href="https://labs.mylemans.online">labs.mylemans.online</a>.</p>
</blockquote>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Homelab" /><category term="Proxmox" /><category term="proxmox" /><category term="ceph" /><category term="homelab" /><category term="networking" /><category term="vlan" /><category term="tutorial" /><category term="youtube" /><summary type="html"><![CDATA[Building a 3-node Proxmox VE and Ceph cluster with only two 10GbE ports per node. Why bonding lost, and the four things that broke along the way.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/proxmox-ceph-10gbe-network-design.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/proxmox-ceph-10gbe-network-design.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Hyper-V vs Proxmox in 2026: Which One Should You Run?</title><link href="https://mylemans.online/posts/hyper-v-vs-proxmox-2026/" rel="alternate" type="text/html" title="Hyper-V vs Proxmox in 2026: Which One Should You Run?" /><published>2026-07-25T00:00:00+00:00</published><updated>2026-07-25T00:00:00+00:00</updated><id>https://mylemans.online/posts/hyper-v-vs-proxmox-2026</id><content type="html" xml:base="https://mylemans.online/posts/hyper-v-vs-proxmox-2026/"><![CDATA[<h1 id="hyper-v-vs-proxmox-in-2026-what-sysadmins-must-know">Hyper-V vs Proxmox in 2026: What Sysadmins Must Know</h1>

<p>Everyone in the homelab community runs Proxmox. But walk into most small-to-mid enterprise shops and Hyper-V is still quietly handling production workloads without anyone questioning it. In 2026, the Hyper-V vs Proxmox debate has more nuance than the internet gives it credit for.</p>

<p>Both platforms have changed significantly. Proxmox VE 9.2 ships with a dynamic load balancer, native WireGuard and BGP support, and OCI container image handling. Hyper-V is no longer available as a free standalone product, and Windows Server licensing costs have become a real factor for anyone building or rebuilding infrastructure. This post cuts through the homelab hype and looks at cost, management experience, platform maturity, and which environment each hypervisor actually fits in 2026.</p>

<hr />

<h2 id="the-end-of-free-hyper-v-what-the-licensing-change-actually-costs-you">The End of Free Hyper-V: What the Licensing Change Actually Costs You</h2>

<p>Microsoft discontinued the free standalone Hyper-V Server after the 2019 release. There is no free version for Windows Server 2025. If you want Hyper-V today, you pay for a full Windows Server license to run the role.</p>

<p>The two editions matter here. Windows Server Standard limits you to two virtual machines per licensed host. Windows Server Datacenter removes that cap entirely. For any environment running more than a handful of VMs, you hit that Standard ceiling fast, and Datacenter pricing is substantial.</p>

<p>Proxmox VE is free to download and run. Enterprise support subscriptions are optional and start around 110 EUR per socket per year. For a four-node cluster, that cost sits well below what Windows Server Datacenter licensing demands. If you inherited a Hyper-V environment and have never modeled this comparison, now is the time.</p>

<p>[link: Windows Server administration labs on labs.mylemans.online]</p>

<hr />

<h2 id="what-proxmox-ve-92-brings-to-the-table">What Proxmox VE 9.2 Brings to the Table</h2>

<p>Proxmox VE 9.2, released in May 2026, runs on Debian 13 “Trixie” with Linux kernel 7.0, QEMU 11.0, LXC 7.0, and ZFS 2.4. The headline feature is a dynamic load balancer that migrates HA-managed guests across cluster nodes based on live resource utilization, not static placement rules.</p>

<p>The SDN stack now supports native WireGuard and BGP as fabric protocols, along with route maps and prefix lists for fine-grained routing control. For teams building software-defined networks without a dedicated overlay tool, that is a meaningful addition.</p>

<p>Version 9.1, released in November 2025, added support for Open Container Initiative (OCI) images. You can pull images directly from container registries and use them as LXC templates without leaving the Proxmox web UI. That closes a gap between traditional VM management and modern container workflows that previously required workarounds.</p>

<p>See the full feature list on the <a href="https://www.proxmox.com/en/products/proxmox-virtual-environment/overview">Proxmox VE product page</a>.</p>

<hr />

<h2 id="management-browser-based-vs-windows-desktop">Management: Browser-Based vs. Windows Desktop</h2>

<p>This is where the day-to-day experience diverges most clearly. Proxmox gives you a full-featured web UI accessible from any browser on any operating system. You manage VMs, containers, storage, networking, firewalls, users, and cluster operations from a single interface without installing anything on your workstation.</p>

<p>Hyper-V Manager is a Windows desktop application. It works well for single-host management, but multi-host environments push you toward System Center Virtual Machine Manager (SCVMM), which requires its own SQL Server instance and additional licensing. That is cost and complexity on top of your Windows Server spend.</p>

<p>For a sysadmin working from Linux, macOS, or a locked-down jump server, Proxmox is simply more practical. For a Windows shop where every workstation already has the RSAT tools installed, the difference matters less.</p>

<h3 id="backup-and-recovery">Backup and Recovery</h3>

<p>Proxmox Backup Server integrates natively with Proxmox VE and delivers incremental-forever backups, deduplication, and encryption without third-party tooling. Hyper-V relies on Windows Server Backup for basic scenarios, or third-party tools for anything enterprise-grade. Veeam added native Proxmox VE support in 2024, so both platforms now land in the same backup ecosystem for shops already running Veeam.</p>

<p>[link: backup and recovery learning path on labs.mylemans.online]</p>

<hr />

<h2 id="hyper-v-vs-proxmox-which-hypervisor-fits-your-environment">Hyper-V vs Proxmox: Which Hypervisor Fits Your Environment</h2>

<p>Hyper-V makes the most sense for environments already deep in the Microsoft stack. Active Directory integration, Azure Arc, Windows Admin Center, and Azure Hybrid Benefit licensing all shift the calculus toward Hyper-V for Windows-heavy shops. Microsoft is still investing in the platform. Windows Server 2025 added GPU partitioning, workgroup clusters (no Active Directory required), and live migration improvements. The <a href="https://techcommunity.microsoft.com/event/windowsserver-events/the-future-of-hyper-v-what-were-building-and-why/4507807">Windows Server Summit 2026 sessions on Hyper-V</a> confirm Microsoft views Hyper-V as a long-term product, not a sunset.</p>

<p>Proxmox wins on flexibility and total cost when your environment is mixed OS, when you are building from scratch, or when you want open-source tooling without enterprise licensing overhead. Over 300,000 Proxmox installations globally and accelerating enterprise adoption since 2024 (driven significantly by VMware pricing changes) confirm this is no longer just a homelab platform. Large organizations are running production workloads on it.</p>

<p>The honest middle ground: many shops now run Proxmox for development, staging, and general infrastructure, while keeping Hyper-V for Windows production workloads that benefit most from Microsoft-native tooling.</p>

<hr />

<h2 id="the-bottom-line">The Bottom Line</h2>

<p>The Hyper-V vs Proxmox question in 2026 is not really about features. Both are capable platforms. The real questions are how invested you are in the Microsoft ecosystem, what Windows Server licensing actually costs your organization, and how much management overhead you want to carry.</p>

<p>If you are building fresh or running a mixed environment, Proxmox VE 9.2 is mature, capable, and cost-effective. If your workloads are Windows-first and you have Azure integration in play, Hyper-V still earns its place. Know your constraints before you make the call.</p>

<p>Explore the virtualization and Windows Server labs at <a href="https://labs.mylemans.online">labs.mylemans.online</a> to get hands-on with both platforms and make an informed decision for your environment.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Proxmox" /><category term="Hyper-V" /><category term="hyper-v" /><category term="proxmox" /><category term="virtualization" /><category term="windows server" /><category term="homelab" /><category term="sysadmin" /><summary type="html"><![CDATA[Hyper-V vs Proxmox in 2026: a practical comparison for sysadmins covering cost, licensing changes, and which hypervisor fits your environment.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/hyper-v-vs-proxmox-2026.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/hyper-v-vs-proxmox-2026.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">CloudConnexa + Intune: Zero-Trust Remote Access</title><link href="https://mylemans.online/posts/cloudconnexa-intune-zero-trust-remote-access/" rel="alternate" type="text/html" title="CloudConnexa + Intune: Zero-Trust Remote Access" /><published>2026-07-17T07:00:00+00:00</published><updated>2026-07-17T10:00:00+00:00</updated><id>https://mylemans.online/posts/cloudconnexa-intune-zero-trust-remote-access</id><content type="html" xml:base="https://mylemans.online/posts/cloudconnexa-intune-zero-trust-remote-access/"><![CDATA[<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/trMrp8AwGEg" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="your-remote-access-is-fine-until-someone-leaves">Your remote access is fine, until someone leaves</h2>

<p>Most small-business remote access is a shared VPN config that has been sitting in a Teams chat for three years, an RDP port someone swears is safe because it is not the default one, and no clean way to answer the one question that matters when a person walks out the door: what can they still get into?</p>

<p>In this post I build the fix, starting from nothing. You will sign up, deploy a connector, and get identity-driven, segmented remote access running on the free tier. Then, the day you have a team, you tie sign-in to Microsoft Entra ID over SAML and push the OpenVPN Connect client across a Windows fleet through Intune with the Cloud ID already filled in. I will show the SSO error I hit on the first try, the single Intune setting that quietly breaks the rollout, and the offboarding trap that catches almost everyone.</p>

<blockquote class="prompt-tip">
  <p><strong>The short version:</strong> Sign up, spin up a small Linux VM, and paste CloudConnexa’s one-line script to install a connector. That alone gets you split tunnel, intrusion detection, DNS and audit logs, location rules, and device-posture checks, on the free tier. When you add staff, switch authentication to SAML, register CloudConnexa as an Entra enterprise app, and map the <strong>Group</strong> claim so access follows group membership. Deploy the client with <code class="language-plaintext highlighter-rouge">winget</code> for one machine, or two Intune Win32 apps for a fleet. Offboarding then becomes one move at the identity layer.</p>
</blockquote>

<blockquote class="prompt-info">
  <p><strong>Disclosure:</strong> This video and post are a paid sponsorship by OpenVPN. The setup, the testing and the opinions are my own.</p>
</blockquote>

<h2 id="why-this-instead-of-a-classic-vpn">Why this instead of a classic VPN</h2>

<p>A classic VPN drops you onto the office network and trusts you with everything on it. The model here is a doorman: it checks who you are at the entrance, walks you to exactly the resource you are allowed to reach, and writes down that you went there. Identity at the front, access scoped to one thing instead of the whole network, and a log of it. That is what people mean by zero-trust access.</p>

<p>The tool is CloudConnexa. Yes, it is from OpenVPN, the same name behind the open-source protocol, but CloudConnexa is a different product: a cloud-managed access service, not a point-to-point tunnel. Keeping remote access identity-bound, segmented, and logged maps directly onto the NIS2 risk-management measures around access control and secured communications. General guidance, not legal advice.</p>

<h2 id="step-1-sign-up-and-let-the-wizard-drive">Step 1: Sign up and let the wizard drive</h2>

<p>Start from nothing. <a href="https://myaccount.openvpn.com/signup/cvpn?fpr=7943q1">Create a CloudConnexa account</a> with a work email, or use a Google or Microsoft account, and verify the code. That signup link is my referral link, so I get a cut if you ever pay for a plan. The free tier is free either way, and nothing in this post needs you to spend anything.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/14-signup.jpg" alt="Creating a CloudConnexa account" /></p>

<p>It does not drop you into a blank dashboard and wish you luck. It is a three-step wizard: deploy a connector, connect a device, done.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/15-wizard.jpg" alt="The Welcome to CloudConnexa setup wizard" /></p>

<h2 id="step-2-give-the-connector-somewhere-to-live">Step 2: Give the connector somewhere to live</h2>

<p>The connector is the only piece that touches your own network. It needs a host, so on my Proxmox box I spin up a small Ubuntu VM. Nothing fancy, just somewhere for it to run. A Raspberry Pi or an old mini PC works too.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/16-proxmox-vm.jpg" alt="Creating the Ubuntu VM on Proxmox" /></p>

<h2 id="step-3-deploy-the-connector">Step 3: Deploy the connector</h2>

<p>Back in CloudConnexa you tell it where the connector is going. It is not just AWS, Azure or GCP; pick <strong>Other</strong> and a plain Linux box. Choose your OS (Linux), your distribution (Ubuntu 24.04), and the region closest to you, which for me is Brussels.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/17-deploy-connector.jpg" alt="The deploy-connector wizard showing OS, region and the install script" /></p>

<p>It hands you back a one-line script and a token. That token is how the box proves it is yours, and if you ever hit <strong>Generate New Token</strong> the old one is revoked immediately. Treat it as a one-time key.</p>

<p>SSH into the VM and paste the command. It pulls itself down, installs, and registers.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/04-connector-cli.jpg" alt="Pasting the connector install script into an SSH session on the VM" /></p>

<p>Notice what did not happen: no port forwarding, and nothing opened from the outside. The connector reaches out, the internet never reaches in. That property alone is why this is safer than the RDP port you are trying to retire.</p>

<p>Here is the nice part: the wizard already created the network as well as the connector, so there is nothing else to build. Open <strong>Networks</strong> and you will see it sitting there, connector reporting <strong>Online</strong>, with the description telling you it was created in the onboarding wizard. It is already set to <strong>Split Tunnel On</strong>, which matters in a minute.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/18-connector-online.jpg" alt="The Networks page showing the connector online, created by the onboarding wizard" /></p>

<p>You only come back to this page when you want to add another network later. If the connector never reports online, it is almost always that the host cannot reach the subnet you told CloudConnexa it serves, or outbound 443 is blocked from that box.</p>

<h2 id="what-you-actually-get-for-free-this-surprised-me">What you actually get for free (this surprised me)</h2>

<p>This is the part most write-ups skip, so let me be specific. Everything in this section is on the free plan.</p>

<p><strong>Split tunnel.</strong> A single toggle (“Set as only VPN”) decides whether all traffic goes through CloudConnexa or only the traffic bound for your network. Leave it off and only lab traffic is tunnelled, everything else stays on the local connection. That is why this stays usable on slow hotel or holiday Wi-Fi.</p>

<p><strong>Cyber Shield.</strong> Two things in one: domain filtering, which watches every category and blocks the malicious ones out of the box (it monitors all categories and blocks 8 of 43 by default, and you choose the rest), and traffic filtering, which is the intrusion detection side. There is a drill-down dashboard for observed and blocked domains and traffic.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/20-cyber-shield.jpg" alt="Cyber Shield with domain filtering and traffic filtering" /></p>

<p><strong>Logging.</strong> Every request is logged, allowed or blocked, with a timestamp, plus an audit log of who changed what. This is the difference between “trust me” and being able to prove it.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/21-dns-log.jpg" alt="The DNS log showing allowed and blocked requests by domain" /></p>

<p><strong>Location rules.</strong> A Location Context policy is plain if-this-then-that. If the device’s IP or subnet matches, allow or block. Otherwise, if the country matches, allow or block. So “allow from Belgium, block everywhere else,” or pin access to a known IP range. I called mine “Trusted Countries.”</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/22-location-policy.jpg" alt="Creating a Location Context policy called Trusted Countries" /></p>

<p><strong>Device posture.</strong> The machine itself has to pass a check before it gets in. It is per operating system. On Windows I required two things: the disk has to be encrypted (BitLocker counts) and it has to be running antivirus. Fail either one and you do not get in, even with the right login on the right network.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/23-device-posture.jpg" alt="A Device Posture policy requiring disk encryption and antivirus on Windows" /></p>

<p>Stack those up and look at what you have: identity at the door, a location it trusts, a device that is actually healthy, and a log of all of it. That is real zero trust, and it costs nothing. If you are a solo operator, a freelancer, or running a homelab, you can genuinely stop here.</p>

<h2 id="where-free-stops-being-enough">Where free stops being enough</h2>

<p>Not when it breaks. The day you add the one thing it was never built to manage on its own: other people.</p>

<p>The moment you hire someone, the job changes. Now you have joiners and leavers, access has to follow who someone actually is, and it has to come off cleanly the day they go. On the free tier you can do this by hand, one person at a time. That works until it doesn’t, and it will not hold up in an audit, because “I’m pretty sure I got everything” is not evidence.</p>

<p>That is the line. Not a wall you hit, a point you grow past. And it is exactly what the next tier is built for.</p>

<h2 id="step-4-turn-on-saml-this-needs-essential">Step 4: Turn on SAML (this needs Essential)</h2>

<p>Single sign-on is a paid feature, so this is where the 14-day trial starts. Everything above was free; this next part needs Essential.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/24-plans-trial.jpg" alt="The CloudConnexa plans page with the Essential trial" /></p>

<p>Go to Settings, then User Authentication, and switch on SAML (Single Sign-On). This is the change that ties access to your company directory instead of a hand-maintained user list.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/05-user-auth-saml.jpg" alt="CloudConnexa User Authentication set to SAML" /></p>

<h2 id="step-5-register-cloudconnexa-in-microsoft-entra-id">Step 5: Register CloudConnexa in Microsoft Entra ID</h2>

<p>Single sign-on always feels like a lot, but it is really just two systems agreeing on who you are.</p>

<p>In the Microsoft Entra admin center go to Enterprise applications, then New application, then create your own application. Open its Single sign-on settings and choose SAML.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/06-entra-app-gallery.jpg" alt="Browsing the Microsoft Entra app gallery" /></p>

<p>CloudConnexa gives you its side first: a sign-on URL, a reply URL, and an identifier. You paste those into Entra. Entra hands its side back: its own URL, its own identifier, and a signing certificate. That goes into CloudConnexa. That is the whole handshake. Each one holds the other’s details, plus a certificate so they cannot be faked.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/07-saml-config.jpg" alt="The SAML configuration in CloudConnexa with the identity provider metadata" /></p>

<h2 id="step-6-map-the-group-claim-the-bit-that-does-the-real-work">Step 6: Map the group claim (the bit that does the real work)</h2>

<p>Then one screen that matters more than it looks: attribute mapping. Username, email, first and last name are routine. The one that does the real work is <strong>Group</strong>.</p>

<p>Map that, and someone’s Entra security group decides what they can reach inside CloudConnexa. Back in Entra, assign your group to the app. That is the join: put a person in the group and they are in. No group, nothing.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/08-attribute-mapping.jpg" alt="SAML attribute mapping, with the Group claim highlighted" /></p>

<p>Groups are also the part most likely to misbehave, and OpenVPN’s own write-up is the best reference when they do: <a href="https://support.openvpn.com/hc/en-us/articles/4403746208155-CloudConnexa-SAML-Azure-AD-Troubleshooting-of-User-Groups">CloudConnexa: SAML (Azure AD) Troubleshooting of User Groups</a>. Read it before you start guessing at claim names.</p>

<h2 id="the-blocker-everyone-hits-the-first-sso-test-fails">The blocker everyone hits: the first SSO test fails</h2>

<p>Here is the part most guides skip. The first sign-in test will very likely fail, and the error is deliberately vague.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/09-sso-error.jpg" alt="CloudConnexa Single Sign-On Error after a failed SAML test" />
<em>“Request validation failed.” Almost always a mismatch in the SAML config, not a deeper problem.</em></p>

<p>When you see “Single Sign-On Error, we cannot authenticate you because of an issue with the SSO provider,” do not start ripping things out. Use the “Copy Details to Clipboard” link on that error, then check four values, in order: the reply URL in Entra matches the assertion consumer URL CloudConnexa expects, the identifier or entity ID is identical on both sides (a trailing slash counts), the signing certificate is the current one, and the attribute CloudConnexa reads for the username actually exists in the Entra claim. In my build it was the reply URL. Fix the mismatch, hit “Try To Sign In Again,” and you are through.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/10-sso-signin.jpg" alt="The OpenVPN Connect client signed in with the profile imported" />
<em>Signed in against Entra, profile imported, one click from connected.</em></p>

<h2 id="step-7-install-the-client-one-machine">Step 7: Install the client (one machine)</h2>

<p>On a single machine, the fastest route is <code class="language-plaintext highlighter-rouge">winget</code>. Open an elevated terminal and run:</p>

<div file="PowerShell (Administrator)" class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">winget</span><span class="w"> </span><span class="nx">install</span><span class="w"> </span><span class="nx">OpenVPNTechnologies.OpenVPNConnect</span><span class="w">
</span></code></pre></div></div>

<p>Launch it, import the connection profile, sign in, done. For one box that is the whole story. The rest of this post is about doing it for fifty boxes without touching any of them.</p>

<h2 id="step-8-deploy-to-a-fleet-with-intune-cloud-id-pre-filled">Step 8: Deploy to a fleet with Intune, Cloud ID pre-filled</h2>

<p>This is the section worth bookmarking, because the official guidance leaves out the part that actually bites.</p>

<p>You want users to install the app, open it, and connect, with no server URL to type and no Cloud ID to paste out of an email. The catch that shapes the entire design: the MSI installs the app machine-wide, in SYSTEM context, but the URL pre-fill is a per-user setting that has to be applied in the logged-in user’s context. You cannot do both in one app. So this is a two-app deployment, with the config app depending on the install app.</p>

<p>Three small scripts do it. One does the work, two are Intune detection rules. Grab them here:</p>

<ul>
  <li><a href="/assets/scripts/Apply-OpenVPNConfig.ps1">Apply-OpenVPNConfig.ps1</a> - generates the config, accepts GDPR, applies it, drops a detection marker</li>
  <li><a href="/assets/scripts/Detect-OpenVPNConnect.ps1">Detect-OpenVPNConnect.ps1</a> - detection rule for the MSI (App 1)</li>
  <li><a href="/assets/scripts/Detect-OpenVPNConfig.ps1">Detect-OpenVPNConfig.ps1</a> - detection rule for the config (App 2)</li>
</ul>

<h3 id="app-1-the-msi-system-context">App 1: the MSI (system context)</h3>

<p>Wrap the OpenVPN Connect MSI with the <a href="https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool">Win32 Content Prep Tool</a>:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>IntuneWinAppUtil.exe -c "C:\Packaging\OpenVPNConnect" -s "OpenVPN-Connect.msi" -o "C:\Packaging\Output"
</code></pre></div></div>

<p>Then in the admin center go to <strong>Apps &gt; Windows &gt; Add &gt; Windows app (Win32)</strong> and upload the <code class="language-plaintext highlighter-rouge">.intunewin</code>. Intune reads the MSI and pre-fills most fields. I make the install fully silent:</p>

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Value</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Install command</td>
      <td><code class="language-plaintext highlighter-rouge">msiexec /i "OpenVPN-Connect.msi" /qn /norestart</code></td>
    </tr>
    <tr>
      <td>Uninstall command</td>
      <td><code class="language-plaintext highlighter-rouge">msiexec /x "{product-code}" /qn /norestart</code> (auto-filled)</td>
    </tr>
    <tr>
      <td>Install behavior</td>
      <td><strong>System</strong></td>
    </tr>
    <tr>
      <td>Detection</td>
      <td>MSI product code, or <code class="language-plaintext highlighter-rouge">Detect-OpenVPNConnect.ps1</code> for a minimum version</td>
    </tr>
    <tr>
      <td>Requirements</td>
      <td>Windows 64-bit</td>
    </tr>
  </tbody>
</table>

<p><img src="/assets/img/posts/cloudconnexa-intune/11-intune-add-app.jpg" alt="Adding the OpenVPN Connect Win32 app in Intune" /></p>

<h3 id="app-2-the-config-user-context">App 2: the config (user context)</h3>

<p>App 2 carries only the apply script. The config file is generated at runtime, so nothing else is bundled. Wrap the script the same way, add a second Win32 app, and this is where your Cloud ID goes, on the install command line:</p>

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Value</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Install command</td>
      <td><code class="language-plaintext highlighter-rouge">powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File "Apply-OpenVPNConfig.ps1" -Url https://yourID.openvpn.com -CloseWhenDone</code></td>
    </tr>
    <tr>
      <td>Uninstall command</td>
      <td><code class="language-plaintext highlighter-rouge">cmd /c del "%LOCALAPPDATA%\OpenVPN Connect\ocfg-applied.tag"</code></td>
    </tr>
    <tr>
      <td>Install behavior</td>
      <td><strong>User</strong></td>
    </tr>
    <tr>
      <td>Detection</td>
      <td>Custom script: <code class="language-plaintext highlighter-rouge">Detect-OpenVPNConfig.ps1</code></td>
    </tr>
  </tbody>
</table>

<p>Before you upload the detection script, open it and set <code class="language-plaintext highlighter-rouge">$expectedUrl</code> to the same URL you put on the install command line. Detection scripts cannot take parameters, so that one value lives in two places. Keep them in sync or App 2 loops trying to reinstall.</p>

<h3 id="the-dependency-is-what-enforces-order">The dependency is what enforces order</h3>

<p>On <strong>App 2</strong>, open <strong>Dependencies</strong>, add <strong>App 1</strong> with <strong>Automatically install</strong> enabled. Now the MSI always lands before the config tries to apply, and assigning App 2 to a group pulls App 1 along with it.</p>

<blockquote class="prompt-warning">
  <p><strong>The setting that silently breaks everything:</strong> on any PowerShell detection script, leave <strong>Run script as 32-bit process on 64-bit clients</strong> set to <strong>No</strong>. Flip it to Yes and WOW64 redirection points the 64-bit <code class="language-plaintext highlighter-rouge">Program Files</code> lookup at the x86 path, so a perfectly good install reads as missing and Intune reinstalls forever. This is the single most common reason these deployments fail, and nothing in the UI warns you.</p>
</blockquote>

<h3 id="the-success-dialog-and-the-honest-workaround">The success dialog, and the honest workaround</h3>

<p>OpenVPN Connect has no real headless mode yet, so applying a config pops an informational “App configuration was successfully applied” dialog with no supported flag to suppress it. The <code class="language-plaintext highlighter-rouge">-CloseWhenDone</code> switch is the workaround: the config is already saved by the time the dialog appears, so quitting the app tears the dialog down with it. Worst case a user sees a brief flash, and only if they happen to be looking at the screen mid-sync.</p>

<h3 id="the-pro-check-confirm-it-do-not-assume-it">The pro check: confirm it, do not assume it</h3>

<p>Do not trust “I assigned it.” On a test machine after the sync, confirm the marker file exists at <code class="language-plaintext highlighter-rouge">%LOCALAPPDATA%\OpenVPN Connect\ocfg-applied.tag</code> and that its contents match your URL, and confirm both apps report <strong>Installed</strong> in Intune.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/12-intune-install-result.jpg" alt="Intune app status for OpenVPN Connect" /></p>

<p><img src="/assets/img/posts/cloudconnexa-intune/25-intune-installed-device.jpg" alt="The client installing on the device through the Company Portal" /></p>

<p>Then open the app on the device. The Cloud ID is already there, the user signs in with their company identity, and they are connected.</p>

<p><img src="/assets/img/posts/cloudconnexa-intune/26-connected-client.jpg" alt="OpenVPN Connect securely connected on the deployed machine" /></p>

<p>When something misbehaves, the logs are in <code class="language-plaintext highlighter-rouge">C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\</code>. <code class="language-plaintext highlighter-rouge">IntuneManagementExtension.log</code> covers app processing; <code class="language-plaintext highlighter-rouge">AgentExecutor.log</code> covers the script runs.</p>

<h2 id="the-offboarding-trap-this-is-the-whole-point">The offboarding trap (this is the whole point)</h2>

<p>Here is the moment everything above was building to, and the one that catches almost everyone.</p>

<p>Someone leaves. You open CloudConnexa, remove them from the user list, job done, right? Except their company identity is still live. And they are still in. This is where people get burned: the bit where everyone assumes access is gone and it quietly is not.</p>

<p>The fix is to do it once, at the identity layer. Disable the account in Entra, or pull them out of the security group, and every door that group opened shuts at the same time. That is the thing the free tier cannot do on its own, and it is the precise moment free stops being enough.</p>

<p>Then prove it. Open the log and confirm the blocked attempt is actually sitting there. Clicking “remove” is not proof; the logged denial is. That line is also what you hand an auditor when they ask.</p>

<h2 id="free-vs-essential-honestly">Free vs Essential, honestly</h2>

<p>This is the part that decides whether you spend a cent.</p>

<p><strong>Free</strong> is genuinely complete for one person: <strong>$0 for 5 seats</strong> (and note the seat pool covers users <em>and</em> connectors, so a connector uses one), split tunnel, Cyber Shield with domain filtering and intrusion detection, DNS and audit logs, one location policy, one device-posture policy, and 7-day log retention you export by hand. No log streaming.</p>

<p><strong>Essential</strong> is what a team needs, at <strong>$9 per seat per month, or $7 if you pay for the year</strong>. It adds LDAP and SAML (so offboarding is one move), IPsec, log streaming to a SIEM, a public API, application sharing, and 24/7 priority support, with 30-day retention.</p>

<p>And to stay fair in the other direction: Essential is not the top. <strong>Premium</strong> sits above it at <strong>$9.50 per seat per month</strong>, adding SCIM, multiple authentication methods, longer retention, higher network and access limits, up to 10M log-streaming events a day, a dedicated account manager and a 99% uptime SLA. Above that is Enterprise, priced on request. If you are large or in a heavily regulated sector, that is your conversation. For most small businesses and MSPs, Essential is both the floor and the ceiling.</p>

<p>On NIS2, the honest mapping: this covers access control and the asset side of who can reach what, plus multi-factor and secured transport, and the logging supports your incident handling and proving your controls work. It does not back up your data, manage your vulnerabilities, train your staff, or govern your encryption policy. So do not let anyone sell it to you as NIS2 in a box. General guidance, not legal advice.</p>

<h2 id="faq">FAQ</h2>

<p><strong>Is the CloudConnexa free tier enough for me?</strong>
If you are a solo operator, a freelancer, or running a homelab, yes. It is a real product, not a trial that expires: split tunnel, intrusion detection, logging, a location rule and a device-posture policy are all included. You grow into the paid tier the day you add people, because that is when offboarding has to be one clean move and survive an audit.</p>

<p><strong>Does the connector use one of my free seats?</strong>
Yes. The seat question in the portal reads “how many users and connectors,” so the connector counts toward the five.</p>

<p><strong>Why two Intune apps instead of one?</strong>
Because the MSI installs machine-wide in SYSTEM context, but pre-filling the Cloud ID is a per-user setting applied in the user’s context. One app cannot run in both. App 2 (user context) depends on App 1 (system context) so the order is enforced.</p>

<p><strong>My Intune app reinstalls on every sync. Why?</strong>
Two usual causes. Either the detection script is running as 32-bit (set “Run script as 32-bit process on 64-bit clients” to No), or the <code class="language-plaintext highlighter-rouge">-Url</code> on App 2 and <code class="language-plaintext highlighter-rouge">$expectedUrl</code> in its detection script do not match after normalisation, usually a stray trailing slash or a missing scheme.</p>

<p><strong>Why does the first SAML sign-in fail?</strong>
Almost always a config mismatch, not a real fault. Check the reply URL, the identifier or entity ID, the certificate, and the username attribute on both the Entra and CloudConnexa sides. Use “Copy Details to Clipboard” on the error to see exactly what failed.</p>

<p><strong>Does this make me NIS2 compliant?</strong>
It covers access control, multi-factor, secured transport, and the logging that supports incident handling. It does not back up your data, manage vulnerabilities, train your staff, or govern encryption policy, so do not treat it as NIS2 in a box. General guidance, not legal advice.</p>

<h2 id="recap">Recap</h2>

<p>You started from nothing: an account, a small Linux VM, and a one-line script. That got you a connector reaching out with nothing exposed inbound, plus split tunnel, intrusion detection, logging, a location rule and device-posture checks, all free and genuinely enough for one person. Then, for a team, you tied sign-in to Entra over SAML, mapped the group claim so access follows group membership, pushed the client to a fleet through Intune with the Cloud ID pre-filled, and made offboarding a single move at the identity layer with a logged denial to prove it.</p>

<p>Prefer to watch? The full build is on Mylemans Online on YouTube.</p>

<blockquote class="prompt-info">
  <p><strong>Make it a skill, not a one-off.</strong> I built a free, no-signup learning path on Mylemans Labs that walks you through securing remote access for a small environment in the right order. Start here: <a href="https://labs.mylemans.online">Mylemans Labs remote-access path</a></p>
</blockquote>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Security" /><category term="Networking" /><category term="cloudconnexa" /><category term="openvpn" /><category term="zero-trust" /><category term="intune" /><category term="entra id" /><category term="saml" /><category term="nis2" /><category term="tutorial" /><category term="youtube" /><summary type="html"><![CDATA[Build zero-trust remote access with CloudConnexa, free. Then wire SAML to Entra ID and push OpenVPN Connect through Intune with the Cloud ID pre-filled.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/cloudconnexa-intune/og-card.webp" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/cloudconnexa-intune/og-card.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Self-Host Your First App in 15 Minutes with Docker Compose</title><link href="https://mylemans.online/posts/self-host-first-app-docker-compose/" rel="alternate" type="text/html" title="Self-Host Your First App in 15 Minutes with Docker Compose" /><published>2026-07-06T00:00:00+00:00</published><updated>2026-11-04T12:32:31+00:00</updated><id>https://mylemans.online/posts/self-host-first-app-docker-compose</id><content type="html" xml:base="https://mylemans.online/posts/self-host-first-app-docker-compose/"><![CDATA[<p>Every app you rent is a subscription you’ll pay forever. Somebody else hosts it, somebody else controls it, and the invoice never stops. In this guide you’ll self-host your first app on your own hardware, using one text file and one command, even if you’ve never touched a container. By the end, you’ll type an address into your browser and your own app will load from your own server. We’ll cover what Docker Compose actually is, the five concepts that let you read almost any Compose file, and the two failure states that stop most beginners cold.</p>

<blockquote class="prompt-tip">
  <p><strong>TL;DR:</strong> Install Docker with the official script from get.docker.com, write a <code class="language-plaintext highlighter-rouge">compose.yaml</code> with five things (a service, an image, a port mapping, a volume, and a restart policy), then run <code class="language-plaintext highlighter-rouge">docker compose up -d</code>. Your app is live at <code class="language-plaintext highlighter-rouge">http://your-server-ip:port</code>. That’s the whole deployment.</p>
</blockquote>

<p>This post is the companion to my latest video. Prefer the video version? It’s live now:</p>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/0-R9eyEbfmw" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="why-self-host-at-all">Why self-host at all</h2>

<p>Let me be straight with you first, because I won’t sell you a fantasy: self-hosting is not really about saving money. By the time you count the hardware, the electricity, and your own time, that “free” app often isn’t cheaper than paying a few euros a month.</p>

<p>You do it for three real reasons. You <strong>own your data</strong>: nobody is mining it or holding it hostage. You <strong>control it</strong>: it doesn’t change or vanish because a company pivoted or got acquired. And you <strong>learn</strong>: everything in this post is a transferable skill you’ll use in every homelab and half the IT jobs out there. The no-subscription part is a bonus, not the point. If someone sold you self-hosting purely as “save money,” that’s the wrong reason, and it’s why most people quit.</p>

<h2 id="what-docker-and-compose-actually-are-in-one-breath">What Docker and Compose actually are, in one breath</h2>

<p>A <strong>container</strong> is an app packed in a box with everything it needs to run: the code, the runtime, the libraries. <strong>Docker</strong> is the thing that runs the boxes. A <strong>Compose file</strong> is a recipe: a short text file describing the app you want, which Docker then builds for you. That’s it. No orchestration buzzwords required for what we’re doing today.</p>

<h2 id="what-you-need">What you need</h2>

<p>One Linux machine with Docker on it. If you followed my <a href="https://blog.mylemans.online/posts/build-your-first-home-server-proxmox/">Proxmox home server build</a>, a small VM on that box is perfect. No homelab yet? A Raspberry Pi works fine. The one rule for today: <strong>the machine lives in your home, on your own network.</strong> We’re not exposing anything to the internet in this post (more on that at the end).</p>

<p><a href="https://docs.docker.com/engine/install/ubuntu/">Install Docker Engine</a> the official way</p>

<p>Set up Docker’s apt repository.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Add Docker's official GPG key:</span>
<span class="nb">sudo </span>apt update
<span class="nb">sudo </span>apt <span class="nb">install </span>ca-certificates curl
<span class="nb">sudo install</span> <span class="nt">-m</span> 0755 <span class="nt">-d</span> /etc/apt/keyrings
<span class="nb">sudo </span>curl <span class="nt">-fsSL</span> https://download.docker.com/linux/ubuntu/gpg <span class="nt">-o</span> /etc/apt/keyrings/docker.asc
<span class="nb">sudo chmod </span>a+r /etc/apt/keyrings/docker.asc

<span class="c"># Add the repository to Apt sources:</span>
<span class="nb">sudo tee</span> /etc/apt/sources.list.d/docker.sources <span class="o">&lt;&lt;</span><span class="no">EOF</span><span class="sh">
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: </span><span class="si">$(</span><span class="nb">.</span> /etc/os-release <span class="o">&amp;&amp;</span> <span class="nb">echo</span> <span class="s2">"</span><span class="k">${</span><span class="nv">UBUNTU_CODENAME</span><span class="k">:-</span><span class="nv">$VERSION_CODENAME</span><span class="k">}</span><span class="s2">"</span><span class="si">)</span><span class="sh">
Components: stable
Architectures: </span><span class="si">$(</span>dpkg <span class="nt">--print-architecture</span><span class="si">)</span><span class="sh">
Signed-By: /etc/apt/keyrings/docker.asc
</span><span class="no">EOF

</span><span class="nb">sudo </span>apt update
</code></pre></div></div>

<p>Install the Docker packages.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">sudo </span>apt <span class="nb">install </span>docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
</code></pre></div></div>

<p>This installs Docker <em>and</em> Compose in one go. Which brings us to the first thing that trips people up.</p>

<blockquote class="prompt-warning">
  <p>If an older tutorial tells you to run <code class="language-plaintext highlighter-rouge">docker-compose</code> (with a hyphen), it’s outdated. Modern Compose is built into Docker and runs as <code class="language-plaintext highlighter-rouge">docker compose</code> (with a space). If you type the hyphen version on a fresh install, you’ll get <code class="language-plaintext highlighter-rouge">command not found</code> and wrongly conclude the install failed. It didn’t. Drop the hyphen.</p>
</blockquote>

<h2 id="the-compose-file-five-concepts-and-you-can-read-almost-any-of-them">The Compose file: five concepts and you can read almost any of them</h2>

<p>Here’s the entire mental model. A Compose file has five things you care about:</p>

<ol>
  <li><strong>services</strong>: the app (or apps) you want to run.</li>
  <li><strong>image</strong>: which app to download, and which version.</li>
  <li><strong>ports</strong>: which door opens, written as <code class="language-plaintext highlighter-rouge">host:container</code>. The left number is what you type in your browser; the right number is what the app listens on inside its box.</li>
  <li><strong>volumes</strong>: where the app’s data lives <em>on your machine</em>, so it survives a restart. Never skip this.</li>
  <li><strong>restart: unless-stopped</strong>: the app comes back on its own after a reboot or a crash.</li>
</ol>

<p>In the video I deploy PrivateGlue, a little documentation tool I built, and it’s genuinely the right first app: you just built a server, you need somewhere to write down its details. Here’s the Compose file:</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">services</span><span class="pi">:</span>
  <span class="na">privateglue</span><span class="pi">:</span>
    <span class="na">image</span><span class="pi">:</span> <span class="s">ghcr.io/marcmylemans/privateglue:latest</span>
    <span class="na">ports</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="s2">"</span><span class="s">5000:5000"</span>
    <span class="na">volumes</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="s">./notes:/app/notes</span>
      <span class="pi">-</span> <span class="s">./data:/app/data</span>
      <span class="pi">-</span> <span class="s">./backups:/app/backups</span>
      <span class="pi">-</span> <span class="s">secretkey:/app/secret</span>  <span class="c1"># use a named volume</span>
    <span class="na">restart</span><span class="pi">:</span> <span class="s">always</span>
    <span class="na">healthcheck</span><span class="pi">:</span>
      <span class="na">test</span><span class="pi">:</span> <span class="pi">[</span><span class="s2">"</span><span class="s">CMD"</span><span class="pi">,</span> <span class="s2">"</span><span class="s">curl"</span><span class="pi">,</span> <span class="s2">"</span><span class="s">-f"</span><span class="pi">,</span> <span class="s2">"</span><span class="s">http://localhost:5000/"</span><span class="pi">]</span>
      <span class="na">interval</span><span class="pi">:</span> <span class="s">30s</span>
      <span class="na">timeout</span><span class="pi">:</span> <span class="s">10s</span>
      <span class="na">retries</span><span class="pi">:</span> <span class="m">3</span>
      <span class="na">start_period</span><span class="pi">:</span> <span class="s">10s</span>
<span class="na">volumes</span><span class="pi">:</span>
  <span class="na">secretkey</span><span class="pi">:</span>
</code></pre></div></div>

<p>Save that as <code class="language-plaintext highlighter-rouge">compose.yaml</code> in an empty folder. Any Docker-ready app works the same way (Uptime Kuma, Memos, Homepage, take your pick); the five concepts don’t change, only the values do. Learn to read these five lines and you can read almost any Compose file you find online.</p>

<h2 id="bring-it-to-life">Bring it to life</h2>

<p>From the folder where your <code class="language-plaintext highlighter-rouge">compose.yaml</code> lives:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>docker compose up <span class="nt">-d</span>
</code></pre></div></div>

<p>Docker pulls the image, creates the container, and starts it in the background (<code class="language-plaintext highlighter-rouge">-d</code> for detached). One file, one command. That is the entire deployment.</p>

<p><img src="/assets/img/posts/self-host-first-app/01-docker-compose-up.png" alt="Terminal output of docker compose up -d showing the image pulled, the network created and the container started" /></p>

<h2 id="access-it-this-is-the-moment">Access it (this is the moment)</h2>

<p>Open a browser on any device in your house and go to <code class="language-plaintext highlighter-rouge">http://your-server-ip:port</code>, using the <em>left</em> port number from your Compose file. Find the server’s IP with <code class="language-plaintext highlighter-rouge">ip a</code> on the machine itself.</p>

<p><img src="/assets/img/posts/self-host-first-app/02-app-loaded-local.png" alt="The nginx demo app loaded in a browser at the local server address on port 8080" /></p>

<p>That is a real application, running on a server you control, from a ten-line text file. No subscription. No account on someone else’s cloud. Yours.</p>

<h2 id="the-two-failure-states-that-stop-beginners-and-the-fixes">The two failure states that stop beginners (and the fixes)</h2>

<p>If you only follow happy-path guides, one of these two walls will get you. Here’s the real troubleshooting.</p>

<h3 id="1-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket">1. “permission denied while trying to connect to the Docker daemon socket”</h3>

<p>You run <code class="language-plaintext highlighter-rouge">docker compose up -d</code> and get a wall of red about <code class="language-plaintext highlighter-rouge">/var/run/docker.sock</code>. This is the single most common first-day failure, and it’s not broken: your user just isn’t allowed to talk to Docker yet.</p>

<p><img src="/assets/img/posts/self-host-first-app/03-permission-denied.png" alt="Terminal showing the permission denied error when connecting to the Docker socket" /></p>

<p><a href="https://docs.docker.com/engine/install/linux-postinstall/">The fix</a> is one command and one logout:</p>

<p>Create the docker group.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">sudo </span>groupadd docker
</code></pre></div></div>

<p>Add your user to the docker group.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">sudo </span>usermod <span class="nt">-aG</span> docker <span class="nv">$USER</span>
</code></pre></div></div>

<p>Then <strong>log out and back in</strong> (or reboot). That second step is the part everyone skips, and then they think the fix didn’t work. Group membership only applies to new sessions.</p>

<h3 id="2-your-data-vanishes-after-an-update">2. Your data vanishes after an update</h3>

<p>You run the app for a week, pull a new version, and everything you saved is gone. That’s what happens when the <code class="language-plaintext highlighter-rouge">volumes</code> line is missing: the data lived inside the container, and the container is disposable by design. This is why rule four above says <em>never skip volumes</em>. The <code class="language-plaintext highlighter-rouge">./data</code> folder next to your Compose file is your app’s memory; the container is just the engine. If you’re ever unsure, the app’s own documentation lists which container paths need a volume.</p>

<h3 id="the-pro-check">The pro check</h3>

<p>Before you call it done, run <code class="language-plaintext highlighter-rouge">docker compose ps</code> and confirm the state says <code class="language-plaintext highlighter-rouge">running</code>, then reboot the server once and check the app comes back on its own. If it does, your restart policy and your volume are both doing their job, and you’ve deployed this properly rather than just gotten lucky.</p>

<h2 id="the-one-catch-and-its-a-big-one">The one catch, and it’s a big one</h2>

<p>Right now this only works inside your house. The second you’re on mobile data, that address goes nowhere. Reaching your app from anywhere, securely, without punching holes in your firewall, is a whole topic on its own, and it’s the very next thing you’ll want. I’m covering exactly that in the next video in this series, so this is where I leave you deliberately hungry.</p>

<h2 id="faq">FAQ</h2>

<p><strong>Do I need a VPS or can I use a Raspberry Pi?</strong>
A Pi is plenty for a first app. Anything that runs Linux and Docker works: an old laptop, a mini PC, a VM on a Proxmox box. Start with hardware you already own; buy nothing until you’ve outgrown it.</p>

<p><strong>Is self-hosting cheaper than subscriptions?</strong>
Usually not, once you count hardware, power, and your time honestly. You self-host to own your data, control your tools, and learn skills, not to shave a few euros off a monthly bill.</p>

<p><strong>What’s the difference between Docker and Docker Compose?</strong>
Docker runs containers. Compose is the recipe file (and command) that describes what to run so you don’t have to type long <code class="language-plaintext highlighter-rouge">docker run</code> commands. On a modern install they come together, and you invoke Compose as <code class="language-plaintext highlighter-rouge">docker compose</code>, with a space.</p>

<p><strong>Is it safe to expose my self-hosted app to the internet?</strong>
Not the way we’ve set it up here, and that’s intentional. Everything in this post stays on your home network. Exposing services safely requires a proper remote-access setup, which deserves its own guide.</p>

<h2 id="recap">Recap</h2>

<p>You installed Docker with one script, described an app in a ten-line Compose file, deployed it with one command, and watched it load at your own address. You also know the five concepts that make every other Compose file readable, and the two failure states that end most first attempts. Prefer to watch it happen? The full walkthrough is on <a href="https://youtu.be/0-R9eyEbfmw">Mylemans Online on YouTube</a>.</p>

<blockquote class="prompt-info">
  <p><strong>Ready for the next step?</strong> The free <a href="https://labs.mylemans.online">Docker &amp; Containers path on Mylemans Labs</a> picks up exactly where this post ends: hands-on lessons, real exercises, and the skills to run more than one app with confidence. Go host something.</p>
</blockquote>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Homelab" /><category term="Self-hosting" /><category term="docker" /><category term="docker compose" /><category term="self hosting" /><category term="homelab" /><category term="tutorial" /><category term="youtube" /><summary type="html"><![CDATA[Host your first app on your own hardware with one Compose file and one command. No container experience, no subscription, real gotchas included.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/self-host-first-app/og-card.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/self-host-first-app/og-card.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Home Server: 5 Things to Do First</title><link href="https://mylemans.online/posts/home-server-now-what-5-things/" rel="alternate" type="text/html" title="Home Server: 5 Things to Do First" /><published>2026-06-22T08:00:00+00:00</published><updated>2026-10-30T12:19:13+00:00</updated><id>https://mylemans.online/posts/home-server-now-what-5-things</id><content type="html" xml:base="https://mylemans.online/posts/home-server-now-what-5-things/"><![CDATA[<p>The install finished, the dashboard loaded, and now you’re staring at a powerful machine with no idea what to do next. That’s the moment nobody makes a video about, and it’s exactly where good homelabs quietly go wrong.</p>

<p>The video version of these five steps:</p>

<p>This post is the five things to do <em>first</em>, before you install a single app. They take maybe twenty minutes, and they’re the difference between a server you own and a black box you’re scared to touch in three weeks. Number five is the one almost everyone skips.</p>

<blockquote class="prompt-tip">
  <p>The five first steps on a fresh home server: (1) give it a fixed IP so it stops moving, (2) stop logging in as root and make a normal admin user, (3) take a snapshot before you tinker, (4) set up updates, and (5) write down what you did. Do these before installing anything else.</p>
</blockquote>

<p>This is the companion to the video below, and it assumes you’ve already got a server running. If you haven’t built one yet, start with <a href="https://blog.mylemans.online/posts/build-your-first-home-server-proxmox/">Build Your First Home Server in 30 Minutes</a>, then come back here.</p>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/n08LhVszAZA" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="1-give-it-a-fixed-address-so-it-stops-moving">1. Give it a fixed address so it stops moving</h2>

<p>By default, your home network hands out addresses like seats at a busy restaurant: you get whatever’s free that day. That’s fine for your phone. It’s a problem for a server, because tomorrow it might sit at a different address and you won’t know where to find it.</p>

<p>The fix is to reserve its spot. The technical name is a <em>DHCP reservation</em> (or a static lease), but the idea is simple: you tell your router “this machine always gets this address.” You do it once, in your router, by tying the server’s network card to a fixed address.</p>

<p>Pin it once and everything else you do gets easier, because the server never moves again.</p>

<blockquote class="prompt-warning">
  <p>Avoid setting a static IP *inside* Proxmox that overlaps your router’s automatic range. If the router later hands that same address to another device, you get an address clash and one of them drops off the network. Reserve it in the router, or set it statically in Proxmox **and** exclude it from the router’s range. Don’t do half of each.</p>
</blockquote>

<h2 id="2-stop-logging-in-as-root">2. Stop logging in as root</h2>

<p>Right now you’re almost certainly logging in as <code class="language-plaintext highlighter-rouge">root</code>, the top-level account that can do anything, including break everything with one wrong command.</p>

<p>Think of it like the master key to a building. You don’t carry the master key around for daily work; you carry the key to your own office and fetch the master key when you genuinely need it. Same idea on a server: make yourself a normal user that can perform admin tasks when needed, and leave the all-powerful account in the drawer.</p>

<p>Create a dedicated admin user, then test it the honest way: log in as the new user and try an admin action <em>before</em> granting the rights. It should be refused. Good, that proves the account is limited. Then grant the proper permission and try again, and it works.</p>

<p>That refused-then-allowed moment is the whole point: you now work as a limited user by default, which is exactly how it should be.</p>

<h2 id="3-the-proper-way-groups-and-roles-optional">3. The proper way: groups and roles (optional)</h2>

<p>If you’re the only person who’ll ever touch this server, step 2 is plenty and you can skip to the snapshot. But if other people will ever log in, or you just want to do it the way it’s done in a real environment, this is how the pros structure it.</p>

<p>Instead of handing permissions to each person one by one, you create <em>roles</em>. Think of a role as a job title: each title carries exactly the powers that job needs, no more. Then you put people into <em>groups</em> that match the job, and the group gets the role. New person? Drop them in the group; they inherit everything. The magic part is that a role can be scoped to only part of the system.</p>

<p>Here are two genuinely useful roles to build:</p>

<ul>
  <li><strong>VM operator:</strong> can manage the virtual machines that already exist (start, stop, change settings, take snapshots) but <strong>cannot create new ones</strong> and <strong>cannot touch the storage layer</strong>. In Proxmox terms, the privilege that controls “can create a VM” is <code class="language-plaintext highlighter-rouge">VM.Allocate</code>. Leave it out and they can drive the cars but not build new ones. Give no <code class="language-plaintext highlighter-rouge">Datastore.\*</code> privileges and the storage layer stays invisible to them.</li>
  <li><strong>Full admin:</strong> can create VMs (<code class="language-plaintext highlighter-rouge">VM.Allocate</code> included) and manage storage (<code class="language-plaintext highlighter-rouge">Datastore.Allocate</code>, <code class="language-plaintext highlighter-rouge">Datastore.AllocateSpace</code>, <code class="language-plaintext highlighter-rouge">Datastore.Audit</code>). Proxmox ships a built-in <code class="language-plaintext highlighter-rouge">PVEAdmin</code> role that already covers this, so you may not even build it by hand.</li>
</ul>

<p>Then you wire it up: create a group per job, assign the role to the <em>group</em> at a <em>path</em> (a path is just where the permission applies, scope it to everything or to a single resource pool), and drop your user into the group. From then on, managing who-can-do-what is just managing group membership. That’s how it’s done in a real shop, and you just set it up at home.</p>

<h2 id="4-take-a-snapshot-before-you-tinker">4. Take a snapshot before you tinker</h2>

<p>A snapshot is a save point, exactly like in a game: a moment you can jump back to if you break something. Proxmox makes one in a couple of clicks.</p>

<p>The reason to do it <em>now</em> and not “someday” is that you’re about to experiment. You’ll install things, break things, and learn. A snapshot turns every one of those mistakes into a five-second undo instead of a full reinstall. Take one now, and take one before anything risky.</p>

<h2 id="5-set-up-updates">5. Set up updates</h2>

<p>The boring one that matters most. Your server needs updates for the same reason your phone does: the holes attackers use are the ones nobody patched. The command matters less than the habit. Updating isn’t a one-time thing you did once; it’s a small, regular check you start on day one.</p>

<blockquote class="prompt-warning">
  <p>On a fresh Proxmox install without a subscription, the enterprise update repository will throw an error until you switch to the no-subscription repository. That’s the most common “why won’t it update” wall beginners hit.</p>
</blockquote>

<h2 id="6-write-down-what-you-did-the-one-everyone-skips">6. Write down what you did (the one everyone skips)</h2>

<p>It sounds too simple to matter. It’s the most important thing on this list.</p>

<p>Here’s the failure mode I’ve watched happen a hundred times: you build something brilliant on a quiet Sunday. Three weeks later something breaks, and you cannot remember the address, the account you made, or what you changed. The thing you built becomes a black box you’re afraid to touch, so you never touch it, and eventually you wipe it and start over.</p>

<p>So keep a boring little note: the server’s address, the admin account, where your snapshots are, what you’ve installed and why. A plain text file beats nothing. A small self-hosted documentation tool is even better, and it happens to be a great first thing to actually self-host, which is exactly where the next video goes.</p>

<p>That note is what turns a one-off weekend project into a system you own and can maintain. Not a fancy tool. A note.</p>

<h2 id="faq">FAQ</h2>

<h3 id="what-should-i-do-right-after-installing-proxmox">What should I do right after installing Proxmox?</h3>

<p>Before installing any apps: reserve a fixed IP for the server in your router, create a non-root admin user, take a snapshot, configure updates (switch off the enterprise repo if you have no subscription), and write down the server’s details. Those five steps take about twenty minutes and prevent the most common beginner problems.</p>

<h3 id="do-i-really-need-to-stop-using-the-root-account-at-home">Do I really need to stop using the root account at home?</h3>

<p>For a solo homelab it’s not strictly required, but it’s a good habit and it’s free. The real value shows the moment a second person needs access, or you start running automation: a limited admin user means one wrong command or one compromised login can’t quietly wreck everything.</p>

<h3 id="whats-the-difference-between-vmallocate-and-the-other-vm-permissions-in-proxmox">What’s the difference between VM.Allocate and the other VM permissions in Proxmox?</h3>

<p><code class="language-plaintext highlighter-rouge">VM.Allocate</code> is the privilege that lets a user <em>create</em> (or remove) virtual machines. The other <code class="language-plaintext highlighter-rouge">VM.\*</code> privileges, like config, power management and snapshots, only let a user manage VMs that already exist. So a role with the config privileges but without <code class="language-plaintext highlighter-rouge">VM.Allocate</code> can run and tweak existing VMs but can’t create new ones.</p>

<h3 id="why-does-my-fresh-proxmox-install-fail-to-update">Why does my fresh Proxmox install fail to update?</h3>

<p>Most likely it’s still pointed at the enterprise repository, which needs a paid subscription. Switching to the no-subscription repository fixes it for home use. This is the single most common “it won’t update” issue on a new install.</p>

<h3 id="whats-the-best-way-to-document-a-home-server">What’s the best way to document a home server?</h3>

<p>Anything you’ll actually keep updated. A plain text file or a note in your password manager is fine to start. A small self-hosted wiki or documentation app is the step up, and self-hosting one is a useful beginner project in its own right.</p>

<h2 id="recap">Recap</h2>

<p>Five steps, about twenty minutes: pin the address, ditch root for daily use, snapshot before you tinker, set up updates, and write down what you did. That’s the gap between a server that’s merely <em>installed</em> and one that’s genuinely solid, the foundation everything else gets built on.</p>

<p>The natural next step after this is putting your first real app on the server, which is the next video in the series.</p>

<blockquote class="prompt-info">
  <p>Want to do this properly, in order, with the reasoning behind each step? The free, hands-on **Virtualization path on Mylemans Labs** walks you through it from a fresh install to a server you can actually rely on. [Start the path here.](https://labs.mylemans.online)</p>
</blockquote>

<hr />
<p><em>Prefer to watch? This guide accompanies my video walkthrough. For the full build and more homelab tutorials, check out <a href="https://www.youtube.com/@MylemansOnline">Mylemans Online on YouTube</a>.</em></p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Homelab" /><category term="Proxmox" /><category term="proxmox" /><category term="homelab" /><category term="tutorial" /><category term="security" /><category term="youtube" /><summary type="html"><![CDATA[You installed Proxmox, now what? The five first steps that take a home server from installed to solid: fixed IP, no root, snapshots, updates, docs.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/43b86a272612.webp" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/43b86a272612.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Build Your First Home Server in 30 Minutes (Proxmox)</title><link href="https://mylemans.online/posts/build-your-first-home-server-proxmox/" rel="alternate" type="text/html" title="Build Your First Home Server in 30 Minutes (Proxmox)" /><published>2026-06-05T06:00:00+00:00</published><updated>2026-10-30T12:19:13+00:00</updated><id>https://mylemans.online/posts/build-your-first-home-server-proxmox</id><content type="html" xml:base="https://mylemans.online/posts/build-your-first-home-server-proxmox/"><![CDATA[<blockquote class="prompt-tip">
  <p><strong>TL;DR</strong>: You can turn a cheap mini PC or an old desktop into a real home server in about 30 minutes. Install Proxmox VE (free), create your first virtual machine, and finish by running something useful like a network-wide ad blocker. You don’t need a server rack, expensive hardware, or prior experience. This is the companion guide to the video, with every step written down so you can follow along at your own pace.</p>
</blockquote>

<p>Prefer to watch? The full build, start to finish:</p>

<p>If you have ever wanted your own home server but assumed it meant a noisy rack, a big electricity bill, and years of experience, this is for you. None of that is true. One small machine you already own, plus free software, gets you a real server you control, and you can have it running today.</p>

<p>This post is the written companion to my video. The video shows you the whole build; this guide is the reference you keep open while you do it, with the exact steps, the menu paths, and the one mistake that trips up almost every beginner.</p>

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
<div class="embed-container">    <iframe title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/JQhM67kr5Cw" frameborder="0" allowfullscreen=""></iframe></div>

<h2 id="what-youll-build">What you’ll build</h2>

<p>By the end you’ll have:</p>

<ul>
  <li><strong>Proxmox VE</strong> installed on a spare machine, acting as your always-on server.</li>
  <li><strong>Your first virtual machine (VM)</strong> running inside it, a separate computer living on your hardware.</li>
  <li><strong>One genuinely useful service</strong> running on that VM, so the server does something real on day one, not just sit there empty.</li>
</ul>

<p>A virtual machine, if the term is new, is just one physical box pretending to be several independent computers. Proxmox is the free software that makes that possible and gives you a clean web dashboard to manage it all.</p>

<h2 id="what-you-actually-need">What you actually need</h2>

<p>Three things, and none of them are expensive:</p>

<ol>
  <li><strong>A 64-bit machine with 4 to 8 GB of RAM.</strong> A dusty old laptop, a second-hand mini PC, or a cheap refurbished desktop all work fine. You do not need server hardware to start.</li>
  <li><strong>A USB stick of 8 GB or more.</strong> This becomes the installer. Its contents get erased, so use an empty one.</li>
  <li><strong>A second computer</strong> to download the installer and, afterwards, to reach the server in your browser.</li>
</ol>

<p>That’s it. If you have an old machine gathering dust, your shopping list is one USB stick.</p>

<h2 id="step-1-download-and-flash-proxmox-ve">Step 1: Download and flash Proxmox VE</h2>

<ol>
  <li>On your normal computer, download the <strong>Proxmox VE</strong> installer ISO from the <a href="https://www.proxmox.com/en/downloads">official Proxmox downloads page</a>. It’s free.</li>
  <li>Write that ISO to your USB stick with a flashing tool such as <a href="https://etcher.balena.io/">balenaEtcher</a> or <a href="https://rufus.ie/">Rufus</a> (Windows).</li>
</ol>

<blockquote class="prompt-warning">
  <p>Flashing <strong>erases everything</strong> on the USB stick. Make sure you’ve picked the right drive before you start.</p>
</blockquote>

<p>Two steps in and nothing has exploded. Good. That’s the hardest part behind you.</p>

<h2 id="step-2-install-proxmox-and-first-boot">Step 2: Install Proxmox and first boot</h2>

<ol>
  <li>Plug the USB stick into the machine that will become your server, and boot from it. The boot menu key is usually <code class="language-plaintext highlighter-rouge">F11</code>, <code class="language-plaintext highlighter-rouge">F12</code>, <code class="language-plaintext highlighter-rouge">DEL</code>, or <code class="language-plaintext highlighter-rouge">ESC</code> depending on the machine.</li>
  <li>Choose <strong>Install Proxmox VE</strong> and walk through the installer: accept the licence, pick the <strong>target disk</strong> (this erases that disk, so choose the right one), set your country and timezone, and set a <strong>root password</strong> and an email address.</li>
  <li>On the network screen, <strong>write down the IP address</strong> it shows you. That IP is how you’ll reach the server from now on.</li>
  <li>Finish the install, remove the USB stick, and let it reboot.</li>
</ol>

<p>You’ll land on a plain black login screen. Don’t worry, you never really touch this screen again. Everything from here happens in your web browser.</p>

<h2 id="step-3-open-the-web-dashboard">Step 3: Open the web dashboard</h2>

<p>On your normal computer, open a browser and go to:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>https://YOUR-SERVER-IP:8006
</code></pre></div></div>

<p>Log in with user <code class="language-plaintext highlighter-rouge">root</code> and the password you set. Your browser will warn about the security certificate, that’s expected on a fresh install, so continue through it.</p>

<p>For today, only three things in this dashboard matter: your server in the left-hand tree, where your VMs will live, and the <strong>Create VM</strong> button in the top right.</p>

<h2 id="step-4-get-an-os-image-first-the-step-most-guides-skip">Step 4: Get an OS image first (the step most guides skip)</h2>

<p>Here’s where almost every beginner gets stuck. A fresh Proxmox server has <strong>no operating system images yet</strong>, so when you click <em>Create VM</em>, the dropdown to pick an OS is empty and confusing. Do this first:</p>

<ol>
  <li>In the left tree, click your <strong>local</strong> storage.</li>
  <li>Open the <strong>ISO Images</strong> tab.</li>
  <li>Click <strong>Download from URL</strong>.</li>
  <li>Paste the download link for the OS you want (a lightweight Linux server like Debian or Ubuntu Server is perfect for a first VM), click <strong>Query URL</strong>, then <strong>Download</strong>.</li>
</ol>

<p>Proxmox pulls the image straight onto the server itself. Nothing downloads to your own PC, and you don’t upload anything. This one step is the difference between a smooth build and ten minutes of head-scratching.</p>

<h2 id="step-5-create-your-first-virtual-machine">Step 5: Create your first virtual machine</h2>

<ol>
  <li>Click <strong>Create VM</strong>.</li>
  <li>Give it a name.</li>
  <li>On the <strong>OS</strong> tab, pick the ISO you just downloaded (and this time it’s actually sitting right there).</li>
  <li>Sensible starter resources: <strong>2 CPU cores, 2 GB RAM, 20 GB disk</strong>.</li>
  <li>Finish, then select the VM and click <strong>Start</strong>, then <strong>Console</strong>.</li>
</ol>

<p>Watch it boot. You are now looking at a brand-new, separate computer running inside your server. That’s the whole point of virtualization: one box, many machines.</p>

<h2 id="step-6-run-something-genuinely-useful">Step 6: Run something genuinely useful</h2>

<p>Don’t stop at an empty VM. Install one service you’ll actually use, so the server earns its keep on day one. A great first choice is a <strong>network-wide ad blocker</strong> (such as Pi-hole or AdGuard Home): it runs on your new VM and blocks ads and trackers for <em>every</em> device on your network, including your phone, no per-device setup.</p>

<p>That first moment when something you built just works, on every device in the house, is exactly why people fall down the homelab rabbit hole.</p>

<h2 id="where-to-go-next">Where to go next</h2>

<p>You now have the foundation for everything else: more VMs, self-hosted apps, backups, and reaching your services securely from outside the house. Each of those is its own project, and a natural next step once this base is solid.</p>

<blockquote class="prompt-info">
  <p>Want a structured, hands-on path instead of scattered tutorials? This build is the starting point of the <strong>Virtualization path</strong> on <a href="https://labs.mylemans.online">Mylemans Labs</a>, free and in order.</p>
</blockquote>

<h2 id="faq">FAQ</h2>

<p><strong>Do I need expensive or special hardware for a home server?</strong>
No. Any 64-bit machine with 4 to 8 GB of RAM works, including an old laptop or a cheap second-hand mini PC. You do not need server-grade hardware to start.</p>

<p><strong>Is Proxmox VE free?</strong>
Yes. Proxmox VE is free and open-source. There’s an optional paid subscription for an enterprise update channel, but you don’t need it for a home lab.</p>

<p><strong>What’s the difference between Proxmox and just installing apps on the machine?</strong>
Proxmox is a hypervisor, it lets one physical machine run several isolated virtual machines at once. You get separation, easy snapshots, and the freedom to rebuild a VM without touching the others.</p>

<p><strong>Why is the “Create VM” OS dropdown empty?</strong>
Because the server has no OS images yet. Download one first via your <strong>local</strong> storage, <strong>ISO Images</strong>, <strong>Download from URL</strong>, and it will then appear in the Create VM wizard.</p>

<p><strong>Can I use a USB stick to run the server long-term?</strong>
Use the USB only as the installer. Install Proxmox onto an internal SSD or HDD; running the system off a USB stick long-term wears it out quickly.</p>

<p><strong>How much RAM does my first VM need?</strong>
2 GB is plenty for a lightweight Linux server VM running a service like an ad blocker. You can adjust resources later as you add more.</p>

<hr />

<p><em>Prefer to watch? This guide accompanies my video walkthrough. For the full build and more homelab tutorials, check out <a href="https://www.youtube.com/@MylemansOnline">Mylemans Online on YouTube</a>.</em></p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Homelab" /><category term="Proxmox" /><category term="proxmox" /><category term="homelab" /><category term="home server" /><category term="virtualization" /><category term="tutorial" /><category term="youtube" /><summary type="html"><![CDATA[Build a home server from nothing in about 30 minutes with Proxmox VE: flash the installer, create your first VM and run a useful service. No experience needed.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/build-first-home-server-proxmox.webp" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/build-first-home-server-proxmox.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Three Years of SMB Pain From a Single Phantom DNS Record</title><link href="https://mylemans.online/posts/ThreeYearsofSMBPain/" rel="alternate" type="text/html" title="Three Years of SMB Pain From a Single Phantom DNS Record" /><published>2026-05-12T00:00:00+00:00</published><updated>2026-05-12T00:00:00+00:00</updated><id>https://mylemans.online/posts/ThreeYearsofSMBPain</id><content type="html" xml:base="https://mylemans.online/posts/ThreeYearsofSMBPain/"><![CDATA[<h2 id="the-call-that-started-it">The call that started it</h2>

<p>A customer calls us about their main production application. Operators are complaining the system keeps timing out. They have to redo work, restart the app, sometimes lose a transaction. “It feels like it hangs randomly. We have no idea where to look. Here’s an export of one day’s event log, can you take a peek?”</p>

<p>A few thousand lines. Lots of normal activity, transactions, badge scans, photos per truck. On first read it looks fine. But once you start grouping the events, a small pattern emerges. Every workday has a handful of incidents like these:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>08:50:56  Badge IN      Devices     : Timeout Error (8)
10:13:11  WS-OPS01      Exception   : Operating system network error.
                                       File: \\APP-SRV01\AppDB\Base.DB
10:13:54  Camera Out    Devices     : Timeout Error Photo 2 (6)
13:37:01  Camera Out    Devices     : Timeout Error Photo 2 (6)
</code></pre></div></div>

<p>A mix of peripheral device time-outs and one outright network error on the database share. Not many per day, but enough to drive operators up the wall when they hit during a busy moment. We ask for more logs. Ten days of exports plus a list of 26 specific timestamps where the customer said it was painful.</p>

<p>This is when things got interesting.</p>

<h2 id="phase-1-what-the-logs-are-too-honest-to-hide">Phase 1: what the logs are too honest to hide</h2>

<p>I parsed the ten days of logs and went looking for events tagged as <code class="language-plaintext highlighter-rouge">Timeout</code> or <code class="language-plaintext highlighter-rouge">Error</code>. Maybe a dozen per day, no clear pattern. The actual finding came from a sequence that repeats around almost every one of those 26 customer-reported moments:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Scale out    Actions     : Start
Scale out    Actions     : OK &lt;weight&gt; kg
Photo 2      Actions     : Start (APP-SRV01)
Photo 2      Actions     : OK ...jpg     &lt;-- 5 to 17 seconds later
</code></pre></div></div>

<p>In a healthy run, the gap between “Photo Start” and “Photo OK” is under a second. Throughout the reported incidents, that gap stretched to 5, 7, sometimes 17 seconds. Over the ten days I counted 145 slow photo uploads on a total of 2123, with 21 of them above 10 seconds.</p>

<p>That alone teaches you something important. <strong>From the operator’s chair, a slow action feels exactly like a failure.</strong> They are standing at the terminal, the next truck is rolling onto the scale, and the screen does not respond. They click again. They tap a different field. In our logs that registers as a graceful sequence of <code class="language-plaintext highlighter-rouge">Modify</code> actions. In their head the app is hanging.</p>

<p>So the working theory at this point was: this is not really about the application timing out. It is about photo uploads being slow. Disk I/O on the server, antivirus scanning the new JPGs, or the IP cameras themselves dragging their feet.</p>

<p>But the customer’s list also included one event on a specific day where the application actually did break, not just stall:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>WS-OPS01  Exception: Operating system network error.
                     File: \\APP-SRV01\AppDB\Base.DB
</code></pre></div></div>

<p>A network error on the SMB share that holds the entire database. Not a stall, an outright break. The operator could not work for several minutes. That deserved a deeper look.</p>

<h2 id="phase-2-when-the-application-logs-run-out-ask-windows">Phase 2: when the application logs run out, ask Windows</h2>

<p>If your application says “I cannot open this file,” the truth lies one or two layers below. SMB, TCP, DNS. So we exported the SMB Client and Server event logs from the application server. A few lines of PowerShell with <code class="language-plaintext highlighter-rouge">wevtutil epl</code> and <code class="language-plaintext highlighter-rouge">Get-WinEvent -FilterHashtable</code> dumped everything to <code class="language-plaintext highlighter-rouge">.evtx</code> plus <code class="language-plaintext highlighter-rouge">.csv</code> for fast slicing.</p>

<p>The numbers were absurd. <strong>7,737 SMB Connectivity events</strong> on this single server, of which 2,110 errors and 2,160 warnings, going back to <strong>May 2023</strong>. Three years of records. The chart over time looks like a steady drip with the occasional spike.</p>

<p>The top event IDs told the story:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ID 30808  1536x  Connection to share has been re-established
                 -&gt; \\DC01\Shares
ID 30807  1503x  Connection to share was lost
ID 30800  1282x  Server name could not be resolved
                 -&gt; Server name: NT AUTHORITY
ID 30805   657x  Client session lost
ID 30803   389x  Device timeout
ID 30810   958x  TCP/IP transport interface added
ID 30811    69x  TCP/IP transport interface removed
</code></pre></div></div>

<p>Something has been flickering daily for three years. Not loudly, just 1 to 5 events per day on average, but constantly. The most frequent target of the failures: the domain controller, <code class="language-plaintext highlighter-rouge">DC01.contoso.local</code>. The second most frequent: <code class="language-plaintext highlighter-rouge">NT AUTHORITY</code>, which is not even a server name, it is a built-in Windows security principal. That kind of weird false lookup smells like a fallback path inside the name resolution stack.</p>

<p>And on the SMB Server side of the same machine, we found 1,485 events of <code class="language-plaintext highlighter-rouge">Reopen failed</code> on the database share, hitting the same handful of database index files. That event fires when a client had a file open, briefly lost the connection, came back, and tried to reopen the same handle that had already expired.</p>

<p>The conclusion forced itself on us: the customer’s “slow application” was sitting on top of a chronic SMB instability that nobody had ever noticed in the right log. Time to walk over to the domain controller.</p>

<h2 id="phase-3-the-domain-controller-spills-the-beans">Phase 3: the domain controller spills the beans</h2>

<p>We ran our diagnostic script on the DC. Same recipe: SMB logs, system events, plus the DC-specific checks: <code class="language-plaintext highlighter-rouge">dcdiag /v /c</code>, <code class="language-plaintext highlighter-rouge">repadmin /replsummary</code>, DNS server configuration, time service, SMB configuration. PowerShell, read-only, output zipped.</p>

<p>Expect to spend an hour walking through that output. In this case the smoking gun was on <strong>page three of the DCDiag DNS test</strong>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TEST: Delegations (Del)
   Delegation information for the zone: contoso.local.
      Delegated domain name: _msdcs.contoso.local.
         Error: DNS server: server01.contoso.local.
         IP:&lt;Unavailable&gt; [Missing glue A record]
         [Error details: 9714 - DNS name does not exist.]
</code></pre></div></div>

<p>A delegation pointing at a server that has not existed for years.</p>

<h2 id="a-quick-detour-why-this-is-bad">A quick detour: why this is bad</h2>

<p>If you are not deep in AD internals, here is why this one record breaks so much.</p>

<p>The zone <code class="language-plaintext highlighter-rouge">_msdcs.&lt;domain&gt;</code> is the one every Windows client uses to locate a domain controller. SRV records for LDAP, Kerberos, KDC, GC. Glue A records for each DC’s name. Every single logon, GPO refresh, Kerberos ticket request, and secure channel check starts with a lookup in <code class="language-plaintext highlighter-rouge">_msdcs.&lt;domain&gt;</code> for a usable DC.</p>

<p>When that zone gets a delegation to a DNS server that does not exist, every client’s DC discovery query has to time out on the dead delegation first. It eventually falls back to another path (the forwarder, the cache, another configured DNS server) and finds the real DC. But the time-out adds a few seconds. Sometimes one second, sometimes five.</p>

<p>That is plenty to break a fragile SMB session. SMB has a default KeepAlive of two minutes. A short DNS hiccup can fail a Kerberos ticket renewal. A failed renewal can drop the session. A dropped session triggers a reconnect. On a database file with an open handle, that becomes a <code class="language-plaintext highlighter-rouge">Reopen failed</code> on the server and an <code class="language-plaintext highlighter-rouge">Operating system network error</code> in the application.</p>

<p>The customer feels: “Sometimes it just hangs for a moment.” We measure: “Three years of daily short SMB session drops.”</p>

<h2 id="phase-4-the-cleanup">Phase 4: the cleanup</h2>

<p>The cleanup itself is fast. The interesting part is realising what to look for, because a single demoted DC tends to leave traces in three places at once.</p>

<p>In <strong>DNS Manager</strong> on the surviving DC: any NS records pointing at the ghost server in <code class="language-plaintext highlighter-rouge">contoso.local</code>, any glue A records under <code class="language-plaintext highlighter-rouge">_msdcs.&lt;domain&gt;</code>, and any leftovers in the reverse lookup zones (<code class="language-plaintext highlighter-rouge">16.10.10.in-addr.arpa</code> and friends). All gone.</p>

<p>In <strong>Active Directory Sites and Services</strong>: walk to <code class="language-plaintext highlighter-rouge">Sites &gt; Default-First-Site-Name &gt; Servers</code> and see whether the orphaned DC still has its server object plus an <code class="language-plaintext highlighter-rouge">NTDS Settings</code> child. If yes, remove the NTDS Settings first, then the server object.</p>

<p>In <strong>Active Directory Users and Computers</strong>: search for the old DC name. If a computer account is still there, it is most likely orphaned. Delete it.</p>

<p>In some cases you also need <code class="language-plaintext highlighter-rouge">ntdsutil metadata cleanup</code>, but modern Windows handles most of that for you when you delete a DC computer object through ADUC.</p>

<p>In our case, the cleanup turned up not one but three ghost DCs in the DNS records, with IPs in the original DC range (<code class="language-plaintext highlighter-rouge">10.10.16.1</code>, <code class="language-plaintext highlighter-rouge">.3</code>, <code class="language-plaintext highlighter-rouge">.4</code>) next to the surviving DC on <code class="language-plaintext highlighter-rouge">.2</code>. Almost certainly remnants of two or three earlier domain controllers that had been demoted over the years without finishing the job. We cleaned all of them.</p>

<h2 id="phase-5-verify-do-not-trust">Phase 5: verify, do not trust</h2>

<p>The risk after this kind of cleanup is overconfidence. You ran a couple of <code class="language-plaintext highlighter-rouge">dcdiag</code> tests, they passed, you call it done. A week later somebody finds a record you missed.</p>

<p>We wrote a verification script that performs about twenty checks in 30 seconds, each one returning PASS or FAIL:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>DNS
  - _msdcs delegation no longer points to the ghost DC
  - _msdcs zone contains no stale records
  - Glue A record for the ghost DC does not resolve

DCDiag
  - dcdiag /test:DNS /DnsDelegation         (was failing before)
  - dcdiag /test:VerifyEnterpriseReferences (was failing before)
  - dcdiag /test:Replications
  - dcdiag /test:KnowsOfRoleHolders

Active Directory
  - No ghost DC computer object
  - No ghost DC in Sites &gt; Servers container
  - No NTDS Settings remnants
  - Known DC list returns only the surviving DC

DC discovery
  - nltest /dsgetdc returns the surviving DC
  - SRV records for _ldap._tcp.dc._msdcs.&lt;domain&gt; point only to live DC(s)

SMB events since cleanup
  - No new SMB 1016 (Reopen failed) events in the last 2 hours
  - No new DNS Client 1014 timeouts mentioning _msdcs
</code></pre></div></div>

<p>It is read-only, runs in 30 seconds, can be re-run a week later, and gives you something objective to show the customer or paste into a ticket.</p>

<h2 id="what-still-has-to-be-fixed-for-the-slow-photos">What still has to be fixed for the slow photos</h2>

<p>To be clear, the ghost DC explains the <strong>real outages</strong> (the 11/05 incident in our case) and the <strong>chronic one-to-five-second freezes</strong> that operators perceive as glitches. But it does not fully explain the 145 slow photo uploads.</p>

<p>For that second track we lined up a few changes:</p>

<p><strong>Archive the camera folders.</strong> <code class="language-plaintext highlighter-rouge">C:\App\Cam2\</code> and <code class="language-plaintext highlighter-rouge">C:\App\Cam3\</code> on the application server had been filling up for years. At 200 photos per day, never archived, you easily end up with hundreds of thousands of files in one folder. NTFS slows down measurably at that scale, especially when antivirus rescans the folder on every new file.</p>

<p><strong>Antivirus exclusions</strong> for the application folder and the database share. This is standard guidance from pretty much every ERP and database vendor, and gets forgotten every time the AV product is replaced.</p>

<p><strong>SMB Bandwidth Throttling</strong> was enabled on the clients (<code class="language-plaintext highlighter-rouge">EnableBandwidthThrottling: True</code>). Useful on a laptop occasionally syncing OneDrive. Bad idea on a fixed workstation hitting a database share all day long.</p>

<p><strong>Time service drift.</strong> The DC was pulling time from <code class="language-plaintext highlighter-rouge">pool.ntp.org</code> and occasionally failed even to resolve the NTP pool name in DNS. With drift exceeding five seconds we were genuinely lucky Kerberos did not start failing. We moved that to a reliable local NTP source.</p>

<p><strong>SMB1 was still enabled</strong> on the DC. No reason for that in 2026. Disabled it. Also closes a noisy protocol negotiation step that some clients still try first.</p>

<h2 id="what-this-case-teaches">What this case teaches</h2>

<p>One. <strong>Application time-outs are symptoms, not causes.</strong> The application is being honest when it says “I cannot open this file.” The cause sits two or three layers below, in the network, SMB, or DNS stack. The deeper layer rarely shows up in the application log itself.</p>

<p>Two. <strong>A good log export is gold.</strong> SMB Client Connectivity, SMB Server Operational, Directory Service. They are sitting on every Windows server right now, switched on by default, untouched by most admins. They are slightly buried under <code class="language-plaintext highlighter-rouge">Applications and Services Logs &gt; Microsoft &gt; Windows</code> in Event Viewer, which is enough to keep them out of sight.</p>

<p>Three. <strong>What <code class="language-plaintext highlighter-rouge">dcdiag</code> flags today, was created years ago.</strong> AD has a long memory. A DC that was once demoted without proper cleanup will keep generating phantom events for three, five, sometimes ten years. Do the cleanup at decommissioning time, not after a slow trickle of weird incidents.</p>

<p>Four. <strong>Automate your first-pass diagnostics.</strong> We built two scripts during this engagement, one for the DC and one for the application server. Read-only, output zipped, ready to send to the customer. The next time someone calls about “weird SMB issues,” we can run them in five minutes and have facts on the table instead of guesses.</p>

<p>Five. <strong>Always finish with a verification script.</strong> Not by clicking through tabs in DCDiag to confirm something is clean. A PASS or FAIL output is faster, repeatable, and you can paste it into the customer email as proof.</p>

<h2 id="the-tools">The tools</h2>

<p>Nothing exotic on this case. The breakdown:</p>

<p><code class="language-plaintext highlighter-rouge">pdftotext</code> and a bit of Python for parsing the application’s PDF event log exports. PowerShell <code class="language-plaintext highlighter-rouge">Get-WinEvent</code> and <code class="language-plaintext highlighter-rouge">wevtutil</code> for the SMB and system log exports. <code class="language-plaintext highlighter-rouge">dcdiag</code>, <code class="language-plaintext highlighter-rouge">repadmin</code>, <code class="language-plaintext highlighter-rouge">nltest</code>, and <code class="language-plaintext highlighter-rouge">w32tm</code> for the DC checks. <code class="language-plaintext highlighter-rouge">Resolve-DnsName</code> and <code class="language-plaintext highlighter-rouge">Get-DnsServerResourceRecord</code> for DNS validation. Excel for pivot tables of timeouts per day per camera.</p>

<p>All Windows built-in or trivially installed. The difference is not in the tools, it is in the method: structured logging, structured correlation, structured validation.</p>

<h2 id="closing-thought">Closing thought</h2>

<p>Three years. One forgotten DNS record. An entire production environment slightly miserable, never bad enough to escalate, always bad enough to annoy. The cleanup itself took thirty minutes. The hardest part will be re-training the operators to believe the application is not going to freeze on them anymore.</p>

<p>If any of this sounds familiar in your own environment, do me a favour. Open DNS Manager today, navigate to <code class="language-plaintext highlighter-rouge">_msdcs.&lt;your domain&gt;</code>, and check which name servers are listed for the delegation. If even one of them does not exist anymore, you now know what you are doing this weekend.</p>

<hr />

<p><em>Found this case study useful? I am planning a short companion video on my <a href="https://www.youtube.com/@mylemans">Mylemans Online YouTube channel</a> covering the diagnostic and verification scripts in detail. Drop your questions in the comments and I will answer them in the next post.</em></p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Windows Server" /><summary type="html"><![CDATA[A customer's random application time-outs traced through SMB client logs to a stale _msdcs delegation pointing at a demoted DC, and the cleanup.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/threeyearsofsmbpain.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/threeyearsofsmbpain.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">AV Access iDock B10 Review: KVM for Desktop and Laptop</title><link href="https://mylemans.online/posts/av-access-idock-b10-review/" rel="alternate" type="text/html" title="AV Access iDock B10 Review: KVM for Desktop and Laptop" /><published>2026-04-07T07:00:00+00:00</published><updated>2026-04-07T07:00:00+00:00</updated><id>https://mylemans.online/posts/av-access-idock-b10-review</id><content type="html" xml:base="https://mylemans.online/posts/av-access-idock-b10-review/"><![CDATA[<p>If you use both a desktop PC and a laptop on the same desk, you already know how messy things can get. One machine might be better for gaming or heavy local workloads. The other might be your work laptop. In theory, that sounds flexible. In practice, it often means too many cables, too many compromises, and way too much unplugging.</p>

<p>That was exactly my problem.</p>

<p>I needed a setup that let me switch easily between my desktop and laptop without giving up the things that mattered most to me: high refresh rate on my ultrawide, support for a second portrait monitor, proper USB performance for my peripherals, and clean charging over USB-C.</p>

<p>After trying a few workarounds, the <strong>AV Access iDock B10</strong> turned out to be the solution that brought everything together.</p>

<h2 id="my-desk-setup-before-the-idock-b10"><strong>My desk setup before the iDock B10</strong></h2>

<p>My desk setup is simple in concept but surprisingly tricky in practice:</p>

<ul>
  <li>one <strong>ultrawide monitor</strong> that supports <strong>120Hz</strong></li>
  <li>one <strong>second monitor</strong> placed in <strong>portrait mode</strong></li>
  <li>a <strong>desktop PC</strong></li>
  <li>a <strong>laptop</strong></li>
  <li>a set of shared peripherals:
    <ul>
      <li>keyboard</li>
      <li>mouse</li>
      <li>webcam</li>
      <li>wireless headset</li>
    </ul>
  </li>
</ul>

<p>My ultrawide monitor has a built-in USB-C cable and can deliver up to 90W of power. On paper, that sounds great for a laptop dock setup. I could connect the laptop with one cable and charge it at the same time.</p>

<p>But there was a catch.</p>

<p>That setup made the ultrawide easy to use with the laptop, but it did not solve my full workflow. I still needed the laptop to work cleanly with the second portrait monitor, and I still needed an easy way to move all my USB devices between the laptop and desktop without juggling cables.</p>

<p>To work around that, I used a <strong>4-port USB switcher</strong> for my keyboard, mouse, webcam, and wireless headset. It worked, but only in the most basic sense. I still had separate switching steps, more clutter on the desk, and a setup that felt cobbled together rather than properly designed.</p>

<h2 id="why-the-old-setup-was-frustrating"><strong>Why the old setup was frustrating</strong></h2>

<p>The biggest issues with my previous setup were not dramatic. They were just constant.</p>

<p>First, the workflow was split across multiple devices. My displays were handled one way, my peripherals another way, and charging was its own separate concern. Nothing felt unified.</p>

<p>Second, it was hard to get the exact display setup I wanted on both machines. The ultrawide looked great, but once the second portrait monitor entered the picture, things got awkward fast.</p>

<p>Third, I was always aware of bandwidth limits. Basic devices are easy to switch. A <strong>4K webcam</strong> is not something I want to bottleneck with a weak USB connection. The same goes for wireless headset receivers and any other higher-bandwidth accessories.</p>

<p>I wanted one box that could do this properly:</p>

<ul>
  <li>switch both monitors</li>
  <li>switch USB peripherals</li>
  <li>keep the laptop charged</li>
  <li>maintain high display performance</li>
  <li>reduce cable clutter</li>
  <li>make switching happen with a single action</li>
</ul>

<p>That is where the <strong>iDock B10</strong> finally made sense.</p>

<h2 id="what-the-av-access-idock-b10-does-well"><strong>What the AV Access iDock B10 does well</strong></h2>

<p>The <strong>AV Access iDock B10</strong> is not just a KVM switch. It feels more like a hybrid between a KVM and a proper docking station.</p>

<p>For my use case, that distinction matters a lot.</p>

<p>Instead of treating monitor switching, USB switching, and laptop charging as three different problems, the iDock B10 brings them together into one device. That is what makes it so useful in a mixed desktop-and-laptop setup.</p>

<h3 id="1-it-handles-my-two-screen-setup-properly"><strong>1. It handles my two-screen setup properly</strong></h3>

<p>The first big win is that I can connect my <strong>desktop PC to both screens</strong> and still get the experience I want on the ultrawide, including the <strong>full 120Hz refresh rate</strong> I care about.</p>

<p>That is a huge improvement over piecing the setup together with monitor inputs and separate USB switching. I do not have to think in terms of partial solutions anymore. The displays and peripherals now behave like part of one shared system.</p>

<p>For anyone who values a smooth desktop experience, this matters. Once you get used to 120Hz on an ultrawide, dropping down from that feels noticeable.</p>

<h3 id="2-it-gives-me-single-cable-laptop-convenience"><strong>2. It gives me single-cable laptop convenience</strong></h3>

<p>One of the nicest parts of this setup is how clean the laptop connection becomes.</p>

<p>The iDock B10 supports <strong>up to 100W charging over USB-C</strong>, so I can connect the laptop and power it through the same connection. That means less clutter, fewer chargers on the desk, and less friction when docking and undocking.</p>

<p>In daily use, that makes a real difference. I can sit down, connect the laptop, press one button, and get to work.</p>

<h3 id="3-it-has-enough-usb-bandwidth-for-real-peripherals"><strong>3. It has enough USB bandwidth for real peripherals</strong></h3>

<p>This was a major selling point for me.</p>

<p>The iDock B10 supports <strong>10Gbps USB</strong>, which is far more reassuring than relying on a basic USB switcher for demanding accessories. AV Access specifically markets the B10 around high-speed USB connectivity for fast transfers and high-bandwidth peripherals.</p>

<p>That means my <strong>4K webcam</strong> can operate without feeling like the weak link in the chain. My keyboard and mouse are easy, of course, but the real benefit is knowing that more demanding devices are not being squeezed through a low-end switch.</p>

<h3 id="4-switching-is-genuinely-easy"><strong>4. Switching is genuinely easy</strong></h3>

<p>The whole point of a KVM is convenience, and this is where the iDock B10 delivers.</p>

<p>I can switch using the <strong>button on the unit</strong> or use the <strong>remote puck</strong>, which is even better for everyday use. AV Access also highlights button and wired remote switching as core B10 features.</p>

<p>That sounds like a small thing until you live with it. Not having to reach behind a monitor, move cables, or juggle separate switches is exactly the kind of quality-of-life improvement that makes a desk setup feel finished.</p>

<h2 id="the-feature-i-did-not-expect-to-appreciate-so-much-shared-wired-networking"><strong>The feature I did not expect to appreciate so much: shared wired networking</strong></h2>

<p>Another feature that deserves more attention is the built-in <strong>Ethernet port</strong>.</p>

<p>The iDock B10 includes <strong>1G Ethernet</strong> and AV Access says it can serve both connected computers simultaneously.</p>

<p>That is a smart addition because networking is often overlooked in these kinds of setups. In my case, it means both hosts can benefit from the same wired network connection while I switch between them. That keeps the desk cleaner and avoids one more thing to manually reconfigure.</p>

<p>It is not the flashiest feature, but it adds to the feeling that this device was designed around real hybrid desk setups instead of just spec-sheet checkboxes.</p>

<h2 id="why-the-idock-b10-fits-my-workflow-so-well"><strong>Why the iDock B10 fits my workflow so well</strong></h2>

<p>What I like most about the iDock B10 is not any single headline feature. It is the way the whole package lines up with a real mixed-device workflow.</p>

<p>My desktop gets the full dual-monitor setup I want.</p>

<p>My laptop gets USB-C docking and charging.</p>

<p>My peripherals switch with the displays.</p>

<p>My webcam is not held back by weak USB performance.</p>

<p>My network connection stays integrated.</p>

<p>And I do not need separate gadgets to glue all of that together.</p>

<p>That last point is important. Before this, my setup depended on stacking partial solutions. One piece handled charging. Another handled USB. Another handled display input switching. The iDock B10 replaces that mess with one central device.</p>

<h2 id="what-about-macbook-users-consider-the-idock-m10"><strong>What about MacBook users? Consider the iDock M10</strong></h2>

<p>This is an important distinction.</p>

<p>If you are mainly using a <strong>MacBook</strong>, AV Access recommends the <strong>iDock M10</strong> instead. The official product page positions it specifically as a KVM docking station for <strong>MacBook</strong>, with dual-display support, <strong>100W charging</strong>, and <strong>10Gbps USB</strong>.</p>

<p>That makes sense because macOS and MacBook display support can be more nuanced than a standard Windows desktop or laptop setup. A product designed around MacBook workflows is often the safer choice if Apple hardware is your main machine.</p>

<p>So while I think the <strong>iDock B10</strong> is a great fit for my own desktop-plus-laptop use case, I would point MacBook-first buyers toward the <strong>iDock M10</strong>.</p>

<h2 id="want-to-go-bigger-the-idock-b23-is-the-next-step"><strong>Want to go bigger? The iDock B23 is the next step</strong></h2>

<p>If two monitors are not enough, AV Access also offers the <strong>iDock B23</strong>.</p>

<p>The B23 is positioned as a <strong>triple-monitor KVM docking station</strong> for one desktop and one laptop, with <strong>100W PD</strong> and support for high resolutions and refresh rates.</p>

<p>That makes it the natural step up for users who want to go even further with a bigger workstation. If your workflow includes dashboards, development tools, editing timelines, chat windows, browser stacks, or monitoring panels across several screens, the B23 is the model worth looking at.</p>

<h2 id="idock-b10-vs-idock-m10-vs-idock-b23"><strong>iDock B10 vs iDock M10 vs iDock B23</strong></h2>

<table>
  <thead>
    <tr>
      <th>Model</th>
      <th>Best for</th>
      <th>Monitor setup</th>
      <th>Charging</th>
      <th>USB</th>
      <th>Notes</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><strong>iDock B10</strong></td>
      <td>Desktop + laptop mixed setups</td>
      <td>2 monitors</td>
      <td>Up to 100W</td>
      <td>10Gbps</td>
      <td>Best all-round option for my use case</td>
    </tr>
    <tr>
      <td><strong>iDock M10</strong></td>
      <td>MacBook users</td>
      <td>2 monitors</td>
      <td>Up to 100W</td>
      <td>10Gbps</td>
      <td>Built for MacBook-focused workflows</td>
    </tr>
    <tr>
      <td><strong>iDock B23</strong></td>
      <td>Advanced multi-monitor setups</td>
      <td>3 monitors</td>
      <td>Up to 100W</td>
      <td>High-speed USB</td>
      <td>Best for users who want maximum screen space</td>
    </tr>
  </tbody>
</table>

<h2 id="who-should-buy-the-idock-b10"><strong>Who should buy the iDock B10?</strong></h2>

<p>I think the iDock B10 makes the most sense for people like these:</p>

<ul>
  <li>users with a <strong>desktop PC and a laptop</strong> on the same desk</li>
  <li>people who want <strong>dual-monitor switching</strong> without compromise</li>
  <li>anyone who cares about <strong>clean USB-C charging</strong></li>
  <li>users with high-bandwidth peripherals like <strong>4K webcams</strong></li>
  <li>remote workers who want a more polished desk setup</li>
  <li>gamers or creators who do not want to give up refresh rate and responsiveness</li>
</ul>

<p>If your current setup relies on a mix of USB switchers, monitor input toggles, and spare chargers, this kind of KVM dock can simplify your life fast.</p>

<h2 id="pros-and-cons-after-using-it-in-a-real-setup"><strong>Pros and cons after using it in a real setup</strong></h2>

<h3 id="pros"><strong>Pros</strong></h3>
<ul>
  <li>combines KVM switching and docking into one unit</li>
  <li>supports my two monitors cleanly</li>
  <li>keeps the ultrawide running at <strong>120Hz</strong></li>
  <li>gives me <strong>100W USB-C charging</strong> for the laptop</li>
  <li>offers <strong>10Gbps USB</strong> for demanding peripherals</li>
  <li>switching is easy with the button or remote puck</li>
  <li>built-in wired networking is a nice bonus</li>
  <li>reduces cable clutter in a meaningful way</li>
</ul>

<h3 id="cons"><strong>Cons</strong></h3>
<ul>
  <li>it is more of a premium solution than a cheap quick fix</li>
  <li>initial setup still takes a bit of planning</li>
  <li>the right model matters, especially if you are primarily on a MacBook</li>
</ul>

<h2 id="frequently-asked-questions"><strong>Frequently asked questions</strong></h2>

<h3 id="does-the-idock-b10-support-dual-monitors"><strong>Does the iDock B10 support dual monitors?</strong></h3>
<p>Yes. It is designed for dual-monitor desktop-and-laptop setups and worked well for my ultrawide plus portrait monitor arrangement.</p>

<h3 id="can-the-idock-b10-charge-a-laptop-over-usb-c"><strong>Can the iDock B10 charge a laptop over USB-C?</strong></h3>
<p>Yes. It supports up to <strong>100W power delivery</strong>, which is enough to replace a separate charger for many laptops.</p>

<h3 id="is-10gbps-usb-actually-useful-on-a-kvm-dock"><strong>Is 10Gbps USB actually useful on a KVM dock?</strong></h3>
<p>Absolutely. It matters most when you use devices like fast storage, a high-resolution webcam, or other peripherals that benefit from stronger bandwidth.</p>

<h3 id="is-the-idock-b10-a-good-choice-for-macbook-users"><strong>Is the iDock B10 a good choice for MacBook users?</strong></h3>
<p>It can work in mixed setups, but AV Access specifically recommends the <strong>iDock M10</strong> for MacBook-focused workflows.</p>

<h3 id="what-if-i-want-three-monitors-instead-of-two"><strong>What if I want three monitors instead of two?</strong></h3>
<p>That is where the <strong>iDock B23</strong> comes in. It is the triple-monitor option in the same family.</p>

<h3 id="does-the-ethernet-port-switch-too"><strong>Does the Ethernet port switch too?</strong></h3>
<p>The iDock B10 includes <strong>1G Ethernet</strong> and AV Access says the wired network can be shared between both connected computers simultaneously.</p>

<h2 id="final-verdict"><strong>Final verdict</strong></h2>

<p>The <strong>AV Access iDock B10</strong> solved a very specific problem for me, but I suspect I am not the only one with this kind of desk.</p>

<p>If you are trying to switch between a desktop and laptop while keeping two monitors, high refresh rate support, USB peripherals, and USB-C charging all working together, this is the kind of device that makes the whole setup feel sane again.</p>

<p>For me, the biggest benefit is not just the spec list. It is the reduction in friction.</p>

<p>One button.</p>

<p>One dock.</p>

<p>Two computers.</p>

<p>Two displays.</p>

<p>All the important peripherals.</p>

<p>That is exactly what I wanted.</p>

<h2 id="where-to-learn-more"><strong>Where to learn more</strong></h2>

<ul>
  <li><strong>iDock B10:</strong> <a href="https://www.avaccess.com/eu/products/idock-b10/">AV Access iDock B10</a></li>
  <li><strong>iDock M10:</strong> <a href="https://www.avaccess.com/eu/products/idock-m10/">AV Access iDock M10</a></li>
  <li><strong>iDock B23:</strong> <a href="https://www.avaccess.com/eu/products/idock-b23/">AV Access iDock B23</a></li>
</ul>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Hardware" /><category term="Reviews" /><category term="idock b10" /><category term="av access" /><category term="kvm switch" /><category term="dual monitor" /><category term="usb c dock" /><category term="desk setup" /><summary type="html"><![CDATA[Hands-on with the AV Access iDock B10 for dual-monitor desktop plus laptop setups: 120 Hz, 10 Gbps USB, 100 W charging and one-button switching.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/av-access-idock-b10-review.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/av-access-idock-b10-review.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">I Built a Free IT Learning Platform for Sysadmins</title><link href="https://mylemans.online/posts/ibuiltafreeitlearningplatform/" rel="alternate" type="text/html" title="I Built a Free IT Learning Platform for Sysadmins" /><published>2026-04-01T00:00:00+00:00</published><updated>2026-04-01T00:00:00+00:00</updated><id>https://mylemans.online/posts/ibuiltafreeitlearningplatform</id><content type="html" xml:base="https://mylemans.online/posts/ibuiltafreeitlearningplatform/"><![CDATA[<h2 id="the-problem-with-learning-it-online">The Problem With Learning IT Online</h2>

<p>If you’ve ever tried to learn something like PowerShell, or Proxmox, or Active Directory from scratch, you know the drill. You search YouTube, find a video, it’s two years old. You find a newer one, it assumes you already know three things you don’t. You find a written guide, it’s behind a paywall. You find a free one, it’s missing half the steps.</p>

<p>There’s no shortage of IT content out there. The problem is structure. One video here, a Reddit thread there, a Stack Overflow answer that’s mostly right but not quite for your setup. You piece it together and eventually get somewhere, but it takes three times as long as it should and you’re never sure if you actually understood it or just cargo-culted your way through.</p>

<p>I’ve been in IT for years (networking, systems, the lot) and I’ve watched junior colleagues, career changers, and homelab enthusiasts hit this same wall over and over. So I built something to fix it.</p>

<h2 id="introducing-mylemans-labs">Introducing Mylemans Labs</h2>

<p><a href="https://labs.mylemans.online">Mylemans Labs</a> is a free IT learning platform built around structured learning paths. Not a dumped playlist of videos. Not a course factory churning out certificates. Actual, deliberate paths that take you from zero to confident on a specific topic, with the knowledge checks to back it up.</p>

<p>Today it goes live with three paths and around ten lessons. More paths are in progress and rolling out over the coming weeks.</p>

<p>Here’s what’s live right now and what’s coming:</p>

<table>
  <thead>
    <tr>
      <th>Path</th>
      <th>Status</th>
      <th>What You’ll Learn</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>IT Foundations</td>
      <td>✅ Live</td>
      <td>How networks work, security basics, Windows Server &amp; AD intro</td>
    </tr>
    <tr>
      <td>Networking</td>
      <td>✅ Live</td>
      <td>VLANs in practice, real configuration and troubleshooting</td>
    </tr>
    <tr>
      <td>Virtualization</td>
      <td>✅ Live</td>
      <td>Hypervisor fundamentals, Hyper-V, Proxmox, Active Directory</td>
    </tr>
    <tr>
      <td>PowerShell</td>
      <td>🔜 Coming</td>
      <td>Fundamentals, automation, remote management</td>
    </tr>
    <tr>
      <td>Microsoft 365</td>
      <td>🔜 Coming</td>
      <td>Admin center, Entra ID, Exchange, Teams</td>
    </tr>
    <tr>
      <td>Backup &amp; DR</td>
      <td>🔜 Coming</td>
      <td>Strategy, tools (Proxmox Backup Server, UrBackup), DR planning</td>
    </tr>
    <tr>
      <td>Docker &amp; Containers</td>
      <td>🔜 Coming</td>
      <td>Fundamentals, Docker in practice, Docker Compose</td>
    </tr>
  </tbody>
</table>

<h2 id="how-it-works">How It Works</h2>

<p>Each path is made up of modules, and each module has video lessons followed by a short knowledge check. The videos are real: no slides with someone reading bullet points at you. The quizzes test whether you actually understood the content, not just whether you clicked play.</p>

<p>Your progress saves automatically in your browser. No account needed, no sign-up, no email address handed over. You come back tomorrow and pick up where you left off.</p>

<p>Finish a path with an average quiz score of 75% or better and you earn a Certificate of Completion with your name, the path, your score, and the date. You can share it, print it, or add it to your LinkedIn. It’s not a CompTIA or a Microsoft cert, and I won’t pretend otherwise, but it shows practical, hands-on knowledge and that counts for something, especially if you’re building a portfolio or making a career move.</p>

<h2 id="who-is-this-for">Who Is This For?</h2>

<p>Honestly, a few different people:</p>

<p><strong>If you’re new to IT</strong> and want to get into a sysadmin or service desk role, the IT Foundations path is your starting point. It covers the stuff that every job description assumes you already know.</p>

<p><strong>If you’re already working in IT</strong> but have gaps. Maybe you’re solid on Windows but shaky on networking, or you’ve been meaning to actually learn PowerShell properly. There’s a path for that. These aren’t beginner-only; the later modules in each path go deep.</p>

<p><strong>If you’re a homelab person</strong> who learns by doing, the paths are built around real scenarios, not toy examples. The Proxmox and Docker content especially.</p>

<p><strong>If you just want a structured refresher</strong> before a job interview or a new project, the knowledge checks tell you quickly where your gaps are.</p>

<h2 id="not-sure-where-to-start">Not Sure Where to Start?</h2>

<p>There’s a short quiz on the homepage (takes about 60 seconds) that looks at your current level and goals and recommends the best starting point. If you’re completely new, it’ll send you to IT Foundations. If you’re already working in IT, it’ll point you somewhere more appropriate.</p>

<h2 id="whats-coming-for-members">What’s Coming for Members</h2>

<p>One of the paths coming up will be members-only, available to <a href="https://www.youtube.com/@mylemansonline">YouTube channel members</a>. It’ll be extended hands-on lab content that goes beyond the video lessons: step-by-step practical exercises, real configs, the kind of thing you’d do in a lab environment. The free paths will always be free. The members path is for people who want to go further.</p>

<h2 id="go-try-it">Go Try It</h2>

<p>That’s about it. No grand promises, no “learn to code in 30 days” marketing. Just structured, practical IT content that I wish had existed when I was starting out.</p>

<p><a href="https://labs.mylemans.online">labs.mylemans.online</a>, free, no account needed, start whenever you want.</p>

<p>If you’ve been meaning to finally get your head around PowerShell, properly understand VLANs, or get comfortable with Proxmox, this is a good place to do it. And if you have feedback once you’ve been through a path, I’d genuinely like to hear it.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Community" /><category term="Homelab" /><category term="it training" /><category term="powershell" /><category term="networking" /><category term="proxmox" /><category term="docker" /><category term="microsoft 365" /><category term="active directory" /><category term="free learning" /><category term="homelab" /><summary type="html"><![CDATA[Introducing Mylemans Labs: free, structured IT learning paths for networking, PowerShell, Proxmox, Active Directory, Microsoft 365 and Docker.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/ibuiltafreeitlearningplatform.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/ibuiltafreeitlearningplatform.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Plan VLANs for a New Site with Network Designer</title><link href="https://mylemans.online/posts/how-to-plan-vlans-with-networkdesigner/" rel="alternate" type="text/html" title="Plan VLANs for a New Site with Network Designer" /><published>2026-03-30T00:00:00+00:00</published><updated>2026-03-30T00:00:00+00:00</updated><id>https://mylemans.online/posts/how-to-plan-vlans-with-networkdesigner</id><content type="html" xml:base="https://mylemans.online/posts/how-to-plan-vlans-with-networkdesigner/"><![CDATA[<h2 id="the-problem-configuring-vlans-without-a-plan">The Problem: Configuring VLANs Without a Plan</h2>

<p>Picture this: You’ve just decided to segment your network into separate VLANs. You’re excited to isolate your IoT devices from your home servers, lock down a management VLAN, and keep guest traffic separate. But you dive straight in - configuring VLAN IDs on your switch, assigning IP ranges on the fly, picking gateway addresses as you go.</p>

<p>Two hours later, you realize your IoT devices are on the same subnet as your critical servers. A guest laptop can’t reach the internet because a gateway conflicts with your router’s address. You’re editing interface configurations from scratch and cursing yourself for not spending 15 minutes planning first.</p>

<p>I built <a href="https://networkdesigner.app">networkdesigner.app</a> because I kept running into this exact scenario. After years of managing networks - both small homelabs and larger deployments - I realized that <strong>the best networks are planned before hardware is touched</strong>. This guide walks you through how the tool works.</p>

<h2 id="the-design-model-one-site-one-16">The Design Model: One Site, One /16</h2>

<p>Network Designer uses a clean, opinionated model: <strong>every site gets a single <code class="language-plaintext highlighter-rouge">10.x.0.0/16</code> block</strong>. You pick the second octet (the “Site ID”), and all your VLANs carve subnets out of that /16.</p>

<p>So if your site ID is <code class="language-plaintext highlighter-rouge">10</code>, your entire site lives in <code class="language-plaintext highlighter-rouge">10.10.0.0/16</code>. Management VLAN might be <code class="language-plaintext highlighter-rouge">10.10.2.0/24</code>, Office LAN <code class="language-plaintext highlighter-rouge">10.10.20.0/24</code>, and so on. This makes multi-site VPN and IPsec routing predictable - no accidental subnet overlaps between sites.</p>

<h2 id="step-1-enter-a-site-id">Step 1: Enter a Site ID</h2>

<p>Open <a href="https://networkdesigner.app">networkdesigner.app</a> and enter a Site ID - any number from 1 to 254 (except 99, which is reserved for guest VLANs). This becomes the second octet of your entire site’s address space.</p>

<p>For a homelab, <code class="language-plaintext highlighter-rouge">10</code> or <code class="language-plaintext highlighter-rouge">1</code> works fine. For a business with multiple sites, use meaningful numbers - <code class="language-plaintext highlighter-rouge">10</code> for HQ, <code class="language-plaintext highlighter-rouge">20</code> for branch 1, <code class="language-plaintext highlighter-rouge">30</code> for branch 2.</p>

<p>The tool shows you the base block immediately: <code class="language-plaintext highlighter-rouge">Base: 10.{x}.0.0/16</code>. Everything else flows from here.</p>

<h2 id="step-2-select-your-vlans">Step 2: Select Your VLANs</h2>

<p>The wizard offers four preset VLAN types that cover most environments:</p>

<table>
  <thead>
    <tr>
      <th>Preset</th>
      <th>VLAN ID</th>
      <th>Purpose</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Management</td>
      <td>2</td>
      <td>Router/switch admin interfaces, monitoring, restricted access</td>
    </tr>
    <tr>
      <td>Voice (VoIP)</td>
      <td>10</td>
      <td>IP phones, voice infrastructure</td>
    </tr>
    <tr>
      <td>Office / Client LAN</td>
      <td>20</td>
      <td>Laptops, workstations, printers</td>
    </tr>
    <tr>
      <td>Guest (Isolated)</td>
      <td>99</td>
      <td>Guest Wi-Fi, untrusted devices, internet-only</td>
    </tr>
  </tbody>
</table>

<p>You can enable any combination of these, and you can add custom VLANs on top - just give them a VLAN ID and a name. For a homelab, Management + Office LAN + a custom “Servers” or “IoT” VLAN is a common starting point.</p>

<h2 id="step-3-enter-device-counts">Step 3: Enter Device Counts</h2>

<p>For each VLAN, enter how many devices you expect to connect. This is what the tool uses to automatically size subnets.</p>

<ul>
  <li><strong>Under ~250 devices</strong>: the tool assigns a <code class="language-plaintext highlighter-rouge">/24</code> (254 usable hosts)</li>
  <li><strong>250 to ~500 devices</strong>: it steps up to a <code class="language-plaintext highlighter-rouge">/23</code> (510 usable hosts)</li>
</ul>

<p>You don’t need to calculate this yourself. Just enter realistic numbers and the tool picks the right size. If you’re unsure, err on the side of more - subnets are cheap.</p>

<h2 id="step-4-review-the-generated-plan">Step 4: Review the Generated Plan</h2>

<p>Once you hit Continue, the tool presents your complete network plan as a table:</p>

<table>
  <thead>
    <tr>
      <th>VLAN</th>
      <th>Name</th>
      <th>Subnet</th>
      <th>Gateway</th>
      <th>Usable Range</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>2</td>
      <td>Management</td>
      <td>10.10.2.0/24</td>
      <td>10.10.2.1</td>
      <td>10.10.2.2 - 10.10.2.254</td>
    </tr>
    <tr>
      <td>20</td>
      <td>Office / Client LAN</td>
      <td>10.10.20.0/24</td>
      <td>10.10.20.1</td>
      <td>10.10.20.2 - 10.10.20.254</td>
    </tr>
    <tr>
      <td>99</td>
      <td>Guest (Isolated)</td>
      <td>10.10.99.0/24</td>
      <td>10.10.99.1</td>
      <td>10.10.99.2 - 10.10.99.254</td>
    </tr>
  </tbody>
</table>

<p>If any subnets overlap or there’s a configuration issue, warnings appear at the bottom. Fix the inputs and regenerate. No spreadsheet, no manual subnet math.</p>

<h2 id="step-5-export-and-use-your-plan">Step 5: Export and Use Your Plan</h2>

<p>With the plan confirmed, you have three export options:</p>

<p><strong>Export CSV</strong> - downloads a spreadsheet-ready file with all VLANs, subnets, gateways, usable ranges, and IPsec routing flags. Reference this while configuring your switch.</p>

<p><strong>Export PDF</strong> - downloads a clean PDF with the full VLAN table. Useful for documentation, printing, or handing off to someone else configuring the network.</p>

<p><strong>Export IPsec Handover</strong> - downloads a DOCX template pre-filled with your local subnets for IPsec tunnel configuration. If you’re setting up a site-to-site VPN, this gives the remote side exactly what they need: your encryption domains, proposed tunnel ranges, and a checklist.</p>

<p>There’s also a <strong>CLI Preview</strong> - a modal that shows you the vendor-specific commands to configure your switches based on the plan. Check this before you start typing on the actual hardware.</p>

<h2 id="why-i-built-it-this-way">Why I Built It This Way</h2>

<p>The <code class="language-plaintext highlighter-rouge">10.x.0.0/16</code> model is opinionated by design. A tool that lets you do anything also lets you make every mistake. By constraining to one /16 per site, the tool eliminates a whole category of problems:</p>

<ul>
  <li>No accidental overlaps between sites (each has its own /16)</li>
  <li>No “which subnet was that again?” confusion (VLAN 20 is always in the <code class="language-plaintext highlighter-rouge">.20.x</code> range)</li>
  <li>No manual subnet math (device count determines size automatically)</li>
  <li>IPsec handover is straightforward because subnets are predictable</li>
</ul>

<p>That said, if your existing network doesn’t use <code class="language-plaintext highlighter-rouge">10.x</code> addressing, the tool won’t fit perfectly. It’s built for greenfield sites and new deployments, not for restructuring an existing <code class="language-plaintext highlighter-rouge">192.168.x.x</code> setup.</p>

<h2 id="start-planning">Start Planning</h2>

<p><a href="https://networkdesigner.app">Open networkdesigner.app</a> - it’s free, runs in the browser, and requires no sign-up. Enter a site ID, pick your VLANs, enter device counts, and you’ll have a complete addressing plan in under five minutes.</p>

<p>Have questions about the tool or VLAN planning in general? Drop a comment below.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Networking" /><category term="Homelab" /><category term="vlan" /><category term="networking" /><category term="network design" /><category term="unifi" /><category term="homelab" /><category term="ip planning" /><category term="networkdesigner" /><summary type="html"><![CDATA[A practical walkthrough of using networkdesigner.app to plan VLANs and subnets for a new network site]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/how-to-plan-vlans-with-networkdesigner.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/how-to-plan-vlans-with-networkdesigner.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Windows Security Configuration Framework Explained</title><link href="https://mylemans.online/posts/WindowsSecurityConfigurationFrameworkExplained/" rel="alternate" type="text/html" title="Windows Security Configuration Framework Explained" /><published>2026-01-21T00:00:00+00:00</published><updated>2026-01-21T00:00:00+00:00</updated><id>https://mylemans.online/posts/WindowsSecurityConfigurationFrameworkExplained</id><content type="html" xml:base="https://mylemans.online/posts/WindowsSecurityConfigurationFrameworkExplained/"><![CDATA[<p>Hardening Windows securely is harder than it should be.</p>

<p>Too often, environments rely on:</p>
<ul>
  <li>Random GPO templates</li>
  <li>Overly strict CIS settings</li>
  <li>Inconsistent security policies across systems</li>
</ul>

<p>Microsoft actually provides an official solution:<br />
the <strong>Windows Security Configuration Framework</strong>, delivered through the <a href="https://www.microsoft.com/download/details.aspx?id=55319"><strong>Security Compliance Toolkit</strong></a>.</p>

<h2 id="what-is-it">What Is It?</h2>

<p>The framework provides <strong>Microsoft-tested security baselines</strong> for Windows systems.</p>

<p>These baselines are designed to:</p>
<ul>
  <li>Improve security</li>
  <li>Maintain usability</li>
  <li>Stay supported by Microsoft</li>
</ul>

<h2 id="whats-included">What’s Included?</h2>

<h3 id="security-baselines">Security Baselines</h3>
<p>Predefined policies for:</p>
<ul>
  <li>Windows 10 / 11</li>
  <li>Windows Server</li>
  <li>Microsoft Defender</li>
</ul>

<h3 id="lgpo-local-group-policy-object">LGPO (Local Group Policy Object)</h3>
<p>Apply security baselines <strong>without Active Directory</strong>.<br />
Ideal for labs, templates, and standalone systems.</p>

<h3 id="policy-analyzer">Policy Analyzer</h3>
<p>Compare:</p>
<ul>
  <li>Existing GPOs</li>
  <li>Local policies</li>
  <li>Microsoft baselines</li>
</ul>

<p>This helps detect configuration drift and security gaps.</p>

<h3 id="gpo-backups">GPO Backups</h3>
<p>Import-ready Group Policy Objects for enterprise environments.</p>

<h2 id="where-this-fits">Where This Fits</h2>

<p><strong>Enterprise IT</strong><br />
Baseline first, exceptions later.</p>

<p><strong>Intune / MDM</strong><br />
Aligns cleanly with Microsoft security posture.</p>

<p><strong>Homelabs &amp; Learning</strong><br />
Learn real-world Windows hardening the right way.</p>

<h2 id="final-thoughts">Final Thoughts</h2>

<p>If you manage Windows systems and care about security,<br />
this toolkit should be part of your standard workflow.</p>

<p>In a follow-up guide, we’ll apply a baseline and analyze the impact live.</p>

<p>👉 <a href="https://learn.microsoft.com/en-us/windows/security/operating-system-security/device-management/windows-security-configuration-framework/security-compliance-toolkit-10">Official documentation</a></p>

<hr />

<p>Want more real-world IT fundamentals?
Subscribe on YouTube or follow the blog.</p>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Security" /><category term="windows security" /><category term="security baseline" /><category term="microsoft security" /><category term="group policy" /><category term="active directory" /><category term="lgpo" /><category term="policy analyzer" /><category term="windows server" /><summary type="html"><![CDATA[Microsoft’s official way to harden Windows using supported security baselines and tools.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/windowssecurityconfigurationframeworkexplained.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/windowssecurityconfigurationframeworkexplained.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Turn a Laptop into a Home Lab with Proxmox and OpenWRT</title><link href="https://mylemans.online/posts/homelab-laptop-openwrt-proxmox/" rel="alternate" type="text/html" title="Turn a Laptop into a Home Lab with Proxmox and OpenWRT" /><published>2025-10-27T00:00:00+00:00</published><updated>2025-10-27T00:00:00+00:00</updated><id>https://mylemans.online/posts/homelab-laptop-openwrt-proxmox</id><content type="html" xml:base="https://mylemans.online/posts/homelab-laptop-openwrt-proxmox/"><![CDATA[<p>You don’t need a server rack or expensive hardware to start a homelab.<br />
With a single laptop, you can build a <strong>complete, portable lab</strong> running <strong>Proxmox</strong> and <strong>OpenWRT</strong>, with Wi-Fi passthrough and Multi-WAN failover.</p>

<hr />

<h2 id="why-use-a-laptop">Why Use a Laptop?</h2>
<ul>
  <li>Portable, silent, and power-efficient</li>
  <li>Built-in UPS (battery)</li>
  <li>Perfect for learning, testing, and travel</li>
  <li>Combines Wi-Fi + Ethernet for redundancy</li>
</ul>

<hr />

<h2 id="step-1--install-proxmox-ve-and-a-desktop-environment">Step 1 – Install Proxmox VE and a Desktop Environment</h2>

<ol>
  <li>Create a Proxmox USB installer and boot your laptop.</li>
  <li>Install Proxmox VE 9 and set a static IP.</li>
  <li>
    <p>Enable IOMMU for passthrough in <code class="language-plaintext highlighter-rouge">/etc/default/grub</code>:</p>

    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">GRUB_CMDLINE_LINUX_DEFAULT</span><span class="o">=</span><span class="s2">"quiet intel_iommu=on iommu=pt"</span>
</code></pre></div>    </div>
    <blockquote class="prompt-info">
      <p>(for AMD use amd_iommu=on)</p>
    </blockquote>

    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>update-grub
</code></pre></div>    </div>
  </li>
  <li>Edit /etc/modules and ensure these lines exist:</li>
</ol>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    vfio
    vfio_iommu_type1
    vfio_pci
    vfio_virqfd
</code></pre></div></div>

<ol>
  <li>
    <p>Install a simple desktop for local control:</p>

    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>apt <span class="nb">install </span>mate chromium lightdm <span class="nt">-y</span>
adduser yourusername
systemctl start lightdm
</code></pre></div>    </div>
  </li>
  <li>
    <p>Log in and open in Chromium <code class="language-plaintext highlighter-rouge">https://127.0.0.1:8006</code>, your laptop now acts as both <strong>host</strong> and <strong>management station</strong>.</p>
  </li>
</ol>

<hr />

<h2 id="step-2---create-the-openwrt-vm">Step 2 - Create the OpenWRT VM</h2>

<p>Now that Proxmox is ready, let’s build our virtual router.</p>

<ol>
  <li><strong>Create a new VM</strong>
    <ul>
      <li>Give it 1–2 vCPUs and at least 512 MB RAM.\</li>
      <li>Add <strong>two network adapters</strong>:
        <ul>
          <li><code class="language-plaintext highlighter-rouge">net0</code> → WAN (bridged to your external network,
e.g. <code class="language-plaintext highlighter-rouge">vmbr0</code>)\</li>
          <li><code class="language-plaintext highlighter-rouge">net1</code> → LAN (bridged to your internal network,
e.g. <code class="language-plaintext highlighter-rouge">vmbr1</code>)</li>
        </ul>
      </li>
    </ul>
  </li>
  <li><strong>Attach the OpenWRT ISO</strong> and start the installation.
    <ul>
      <li>You can download the x86-64 combined-ext4 image from
<a href="https://openwrt.org/">openwrt.org</a>.\</li>
      <li>Once booted, assign <code class="language-plaintext highlighter-rouge">net0</code> as WAN and <code class="language-plaintext highlighter-rouge">net1</code> as LAN.</li>
    </ul>
  </li>
  <li><strong>Passthrough the laptop’s Wi-Fi adapter</strong> so OpenWRT can use it as
an additional WAN link.</li>
  <li>Install required packages in the OpenWRT VM:
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opkg update
opkg <span class="nb">install </span>kmod-iwlwifi iwlwifi-firmware-iwl7265d wireless-tools wpad-basic
</code></pre></div>    </div>
    <blockquote class="prompt-tip">
      <p>You can find out your Wi-Fi module and drivers in the Troubleshooting Wi-Fi Passthrough steps.</p>
    </blockquote>
  </li>
</ol>

<hr />

<h3 id="troubleshooting-wi-fi-passthrough">Troubleshooting Wi-Fi Passthrough</h3>

<p>If the Wi-Fi card doesn’t appear in OpenWRT after PCI or USB
passthrough,<br />
it usually means the Proxmox host is still “owning” the device through
its driver.<br />
You’ll need to <strong>unbind or blacklist that driver</strong> so the VM can claim
it.</p>

<h4 id="step-1-identify-the-device">Step 1: Identify the device</h4>

<p>Run on the Proxmox host:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>lspci <span class="nt">-nn</span> | <span class="nb">grep</span> <span class="nt">-i</span> wireless
</code></pre></div></div>

<p><strong>Example output</strong></p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>03:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723]
</code></pre></div></div>

<p>→ The <strong>PCI ID</strong> is <code class="language-plaintext highlighter-rouge">8086:2723</code>
→ The <strong>device path</strong> is <code class="language-plaintext highlighter-rouge">0000:03:00.0</code></p>

<h4 id="step-2-check-which-driver-is-loaded">Step 2: Check which driver is loaded</h4>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>lspci <span class="nt">-k</span> <span class="nt">-s</span> 03:00.0
</code></pre></div></div>

<p><strong>Example</strong></p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Kernel driver in use: iwlwifi
</code></pre></div></div>

<h4 id="step-3-blacklist-the-driver-on-the-host">Step 3: Blacklist the driver on the host</h4>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">echo</span> <span class="s2">"blacklist iwlwifi"</span> <span class="o">&gt;</span> /etc/modprobe.d/blacklist-wifi.conf
update-initramfs <span class="nt">-u</span> <span class="nt">-k</span> all
reboot
</code></pre></div></div>

<p>After reboot, the Wi-Fi adapter will no longer load on the host
and can be safely <strong>assigned to your OpenWRT VM</strong> as a <strong>PCI device</strong>.</p>

<p>Once booted again, OpenWRT should detect the interface (e.g. <code class="language-plaintext highlighter-rouge">wlan0</code>).
You can then connect it to your local or public Wi-Fi network as the WAN
interface</p>

<hr />

<h2 id="step-3---build-the-internal-network">Step 3 - Build the Internal Network</h2>

<ol>
  <li>Use only vmbr0 as your main bridge, it handles both WAN and LAN (via VLAN tags).</li>
  <li>Create a VLAN 999 sub-interface on the host:
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>auto enp0s31f6.999
iface enp0s31f6.999 inet static
    address 192.168.99.10/24
    vlan-raw-device enp0s31f6
</code></pre></div>    </div>
    <p>This gives your Proxmox host direct access to the OpenWRT LAN.</p>
  </li>
  <li>In the OpenWRT VM:
    <ul>
      <li>WAN NIC → attached to vmbr0 (untagged, DHCP from your upstream)</li>
      <li>LAN NIC → attached to vmbr0 with VLAN tag 999
4   Any additional VMs can join the LAN by attaching to vmbr0 and setting VLAN tag 999 in their network settings.</li>
    </ul>
  </li>
</ol>

<hr />

<h2 id="step-4--add-multi-wan-failover-optimized">Step 4 — Add Multi-WAN Failover (Optimized)</h2>

<p>Inside OpenWRT, configure:</p>

<ol>
  <li>WAN → the wired NIC (attached to vmbr0, untagged, DHCP from upstream).</li>
  <li>WWAN → the Wi-Fi interface (station mode, connects to another network).</li>
  <li>Install the failover manager:
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>opkg update <span class="o">&amp;&amp;</span> opkg <span class="nb">install </span>mwan3 luci-app-mwan3
</code></pre></div>    </div>
  </li>
  <li>Edit /etc/config/mwan3 (or use LuCI → Network → Load Balancing) to prioritize Ethernet and use Wi-Fi as backup:
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>config member <span class="s1">'wan_main'</span>
    option interface <span class="s1">'wan'</span>
    option metric <span class="s1">'1'</span>
    
config member <span class="s1">'wwan_backup'</span>
    option interface <span class="s1">'wwan'</span>
    option metric <span class="s1">'2'</span>
    
config policy <span class="s1">'failover'</span>
    list use_member <span class="s1">'wan_main'</span>
    list use_member <span class="s1">'wwan_backup'</span>
    
config rule <span class="s1">'default_rule'</span>
    option dest_ip <span class="s1">'0.0.0.0/0'</span>
    option use_policy <span class="s1">'failover'</span>
</code></pre></div>    </div>
  </li>
  <li>Enable and start the service:
    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/etc/init.d/mwan3 <span class="nb">enable</span>
/etc/init.d/mwan3 restart
</code></pre></div>    </div>
  </li>
  <li>Test failover:
Unplug the Ethernet cable and the traffic should automatically switch to Wi-Fi. Plug it back in and the routes revert to wired WAN (higher priority).</li>
</ol>]]></content><author><name>Marc Mylemans</name><email>info@mylemans.online</email></author><category term="Proxmox" /><category term="Homelab" /><category term="proxmox" /><category term="openwrt" /><category term="homelab" /><category term="networking" /><category term="laptop" /><summary type="html"><![CDATA[Turn any laptop into a portable home lab with Proxmox VE and OpenWRT: multi-WAN failover, a desktop environment, and VMs behind your own router.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mylemans.online/assets/img/posts/covers/homelab-laptop-openwrt-proxmox.jpg" /><media:content medium="image" url="https://mylemans.online/assets/img/posts/covers/homelab-laptop-openwrt-proxmox.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>