feat(nixos): firewall cutover #123

Merged
nick merged 2 commits from nick/dotfiles:nixos-firewall-cutover into main 2026-11-15 21:15:03 -05:00
Owner
No description provided.
Hosts and guests move onto their links (undoing 51514c21's hold), and the
firewall takes over from the Asus.

- sg200 sets the switch's static management address and turns off console
  logging, answers its Y/N prompts, and ignores log lines after the prompt.
- The firewall leases router_1 its address by MAC (dhcp.nix), sends all of
  its DNS to the firewall, and lets it reach Caddy, so the house Wi-Fi gets
  the same answers as wired machines.
- Tunnel ports answer from inside as well as WAN, so the laptop tunnel works
  on home Wi-Fi.
- deploy-rs reaches each machine at its link's address, and every host trusts
  the links' SSH host keys there.
- deimos dials the firewall's laptop tunnel with its sops key, resolves
  .internal through it, and mounts eris over it; the old ceres wg0 goes.
- eris exports its share to the laptop tunnel.
- br-vms-reapply puts untagged lan back on a bridge whose first switch to
  VLAN filtering dropped it.
- docs: cloudflare.md (plan), cutover.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(network): forge SSH on 2203 without the Asus
Some checks failed
CI / check (pull_request) Failing after 6s
CI / build (ceres) (pull_request) Has been skipped
CI / build (deimos) (pull_request) Has been skipped
CI / build (eris) (pull_request) Has been skipped
CI / build (firewall) (pull_request) Has been skipped
CI / build (lamdagibson) (pull_request) Has been skipped
CI / build (mars) (pull_request) Has been skipped
CI / build (phobos) (pull_request) Has been skipped
55c260eb36
The Asus mapped 2203 to the forgejo VM's SSH, outside Nix, so git over
ssh://source.uprootnutrition.com:2203 died with it.

- The forgejo VM's sshd also listens on 2203, its link's `ssh` port.
- WAN forwards 2203 to it.
- Inside DNS sends public names to Caddy's address, so the firewall sends a
  forward's port there on to its target, accepted after the links' source
  guards; ceres does the same for its own connections (the Forgejo runner),
  which never pass the firewall, and dials the forge's SSH port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nick merged commit afb0396fd5 into main 2026-11-15 21:15:03 -05:00
nick deleted branch nixos-firewall-cutover 2026-11-15 21:15:04 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
upRootNutrition/dotfiles!123
No description provided.