<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Security on The Empty Cup</title>
    <link>https://blog.plz.ac/en/categories/security/</link>
    <description>Recent content in Security on The Empty Cup</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>chris@lesscrowds.org (Chris Su)</managingEditor>
    <webMaster>chris@lesscrowds.org (Chris Su)</webMaster>
    <lastBuildDate>Thu, 26 Nov 2026 00:20:00 +0800</lastBuildDate>
    <atom:link href="https://blog.plz.ac/en/categories/security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>HashiCorp Boundary &#43; Vault: Zero Trust Access in a Homelab</title>
      <link>https://blog.plz.ac/en/posts/homelab-boundary/</link>
      <pubDate>Sun, 15 Nov 2026 22:00:00 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/homelab-boundary/</guid>
      <description>&lt;h2 id=&#34;why-not-a-vpn&#34;&gt;Why Not a VPN&lt;/h2&gt;&#xA;&lt;p&gt;My old way of reaching the Homelab was typical: connect to the internal network over WireGuard, then SSH from a jump host to the other machines. It worked, but a few problems were unavoidable:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Once the VPN is up, the whole internal network is visible to the client, and the only access boundary is &amp;ldquo;connected or not&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;Keys and known_hosts entries pile up on the jump host, and the only record of who logged in to which machine and when lives in shell history&lt;/li&gt;&#xA;&lt;li&gt;Giving a temporary device access usually means adding a VPN peer or copying a private key&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Zero trust turns this around: &lt;strong&gt;you are not trusted just because you are on the internal network&lt;/strong&gt;. Every connection re-verifies identity and authorizes only up to a specific Target. HashiCorp Boundary does exactly this: users first sign in through an auth method (password, OIDC, LDAP, and so on), then a Role/Grant decides whether they can connect to a given Target. The actual connection is proxied by a Worker, so the user never needs the target&amp;rsquo;s network location or long-lived credentials.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Avoid Claude Account Bans with a Fixed Egress IP on Qubes</title>
      <link>https://blog.plz.ac/en/posts/qubes-magpie-claude-exit/</link>
      <pubDate>Sun, 01 Nov 2026 08:00:00 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/qubes-magpie-claude-exit/</guid>
      <description>&lt;p&gt;This post is about how I &lt;strong&gt;try&lt;/strong&gt; to keep a Claude account from getting banned.&lt;/p&gt;&#xA;&lt;p&gt;Claude&amp;rsquo;s risk controls look at where logins and requests come from. If the same account logs in from country A today and sends requests from country B tomorrow, or if the IP is at home today, at a hotel tomorrow and behind some proxy the day after, that easily trips the risk controls, and in serious cases gets the account banned. You run into this when the account was registered in one country or region but you use it from another, or when you switch networks often.&lt;/p&gt;&#xA;&lt;p&gt;My approach: &lt;strong&gt;hand both Claude sign-in and model requests to the same qube, with egress fixed through &lt;a href=&#34;https://mullvad.net/&#34;&gt;Mullvad&lt;/a&gt;&amp;rsquo;s &lt;a href=&#34;https://www.wireguard.com/&#34;&gt;WireGuard&lt;/a&gt;.&lt;/strong&gt; The address Claude sees is always this one and doesn&amp;rsquo;t follow your local machine&amp;rsquo;s network. Writing code and running commands still happens on your own computer, so changing networks there doesn&amp;rsquo;t affect Claude.&lt;/p&gt;&#xA;&lt;div class=&#34;admonition admonition-warning&#34;&gt;&#xA;  &lt;div class=&#34;admonition-title&#34;&gt;&lt;svg class=&#34;icon&#34; viewBox=&#34;0 0 24 24&#34; aria-hidden=&#34;true&#34;&gt;&lt;use href=&#34;#i-alert-triangle&#34;/&gt;&lt;/svg&gt;&lt;span&gt;Setting the boundaries first&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;admonition-content&#34;&gt;This only lowers the chance of being flagged or banned because the sign-in environment changed; it can&amp;rsquo;t guarantee the account stays up. It mainly covers the IP and sign-in environment side; payment, KYC and usage behavior are separate tracks. If the account itself has payment, behavior or content violations, it will still be banned. And if the account has already been suspended, changing the address won&amp;rsquo;t bring it back.&lt;/div&gt;&#xA;&lt;/div&gt;</description>
    </item>
    <item>
      <title>OpenClaw Gateway and Exec Nodes with Nix in a Homelab</title>
      <link>https://blog.plz.ac/en/posts/homelab-openclaw-agents/</link>
      <pubDate>Wed, 25 Feb 2026 09:37:31 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/homelab-openclaw-agents/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;When I first wrote about deploying &lt;a href=&#34;https://docs.openclaw.ai/&#34;&gt;OpenClaw&lt;/a&gt;, it was on an Ubuntu Desktop VM: install &lt;a href=&#34;https://nodejs.org/&#34;&gt;Node.js&lt;/a&gt;, &lt;a href=&#34;https://www.docker.com/&#34;&gt;Docker&lt;/a&gt; and &lt;a href=&#34;https://lmstudio.ai/&#34;&gt;LM Studio&lt;/a&gt; by hand, then set up the Gateway as a systemd service. It worked, but after a while I couldn&amp;rsquo;t say what had changed on that machine, and upgrades meant retracing the commands from memory.&lt;/p&gt;&#xA;&lt;p&gt;Today the setup is completely different: &lt;a href=&#34;https://nixos.org/&#34;&gt;Nix&lt;/a&gt; manages OpenClaw. The gateway runs on a Mac (keiki), the &lt;a href=&#34;https://nixos.org/&#34;&gt;NixOS&lt;/a&gt; workstation taiki serves as the exec node, secrets go through &lt;a href=&#34;https://github.com/getsops/sops&#34;&gt;sops&lt;/a&gt;, and &lt;a href=&#34;https://telegram.org/&#34;&gt;Telegram&lt;/a&gt; handles approvals.&lt;/p&gt;&#xA;&lt;p&gt;This post documents the current structure, not the old Ubuntu + LM Studio setup. I&amp;rsquo;ll say which parts I actually observed on the machine and which are just config evaluation or description.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Homelab Certificate Management with step-ca and cert-manager</title>
      <link>https://blog.plz.ac/en/posts/homelab-certificate-manage/</link>
      <pubDate>Sun, 08 Feb 2026 15:31:39 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/homelab-certificate-manage/</guid>
      <description>&lt;h2 id=&#34;introduction-why-build-your-own-certificate-management-system&#34;&gt;Introduction: Why Build Your Own Certificate Management System&lt;/h2&gt;&#xA;&lt;p&gt;Once a Homelab has a few services, certificates end up scattered across Nginx configs, Kubernetes Secrets, container mount directories and a handful of VMs. Public certificates are covered by Let&amp;rsquo;s Encrypt and Cloudflare, but internal services are not so forgiving: self-signed certificates trigger warnings in browsers and command-line tools everywhere, and public CAs will not issue certificates for &lt;code&gt;*.homelab.internal&lt;/code&gt; at all.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Dedicated WireGuard VPN Gateway on Qubes OS</title>
      <link>https://blog.plz.ac/en/posts/qubes-vpn-services/</link>
      <pubDate>Sun, 24 Mar 2024 12:51:50 -0400</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/qubes-vpn-services/</guid>
      <description>&lt;p&gt;These notes cover how to turn a VPN into a dedicated netvm on Qubes, then route an AppVM&amp;rsquo;s network through it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using Split GPG and Split SSH on Qubes OS</title>
      <link>https://blog.plz.ac/en/posts/qubes_split-gpg/</link>
      <pubDate>Sat, 23 Mar 2024 12:17:45 -0400</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/qubes_split-gpg/</guid>
      <description>&lt;p&gt;How I used Qubes Split GPG for key isolation, and the pitfalls I hit while setting it up.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
