fix: update compose submodule for wg-easy iptables-nft fix #40

Closed
Hermes wants to merge 7 commits from fix/wg-easy-iptables-nft into master
Collaborator

Updates the compose submodule to point to the fix/wg-easy-iptables-nft branch which adds a custom Dockerfile that installs iptables-nft (nftables-backed iptables) into wg-easy.

Fixes the wg-easy container crash-loop on kernels without legacy iptable_nat module. Merge compose PR #24 first, then this one.

Updates the compose submodule to point to the fix/wg-easy-iptables-nft branch which adds a custom Dockerfile that installs iptables-nft (nftables-backed iptables) into wg-easy. Fixes the wg-easy container crash-loop on kernels without legacy iptable_nat module. Merge compose PR #24 first, then this one.
Hermes added 7 commits 2026-05-12 18:53:25 +00:00
- New module: modules/nixos/security/ai-worker-restricted.nix
  - Bind mount for infra repo access (RW)
  - Whitelisted sudo commands: nh, nixos-rebuild, nixpkgs-fmt, nix
  - Audit logging for infra changes
  - Documentation in README-ai-worker.md

- Updated users/ai-worker.nix:
  - Enable services.aiWorkerAccess
  - Lock password (SSH key only)
  - Security documentation comments

- Updated flake.nix:
  - Include new security module

SECURITY: AI must ask for user confirmation before running nh os switch
Remove infra repo bind mount and sudo access from ai-worker user.
Now ai-worker can only:
- SSH into host from Hermes container
- Run docker commands via docker group membership
- Execute ollama benchmarks via docker exec

Results saved to /opt/data/ai-optimizer/ in Hermes container.
Updates the compose submodule to point to fix/wg-easy-iptables-nft
which adds a custom Dockerfile installing iptables-nft for nftables
backend compatibility.

Fixes the wg-easy container crash-loop:
  iptables v1.8.3 (legacy): can't initialize iptables table 'nat'
  Table does not exist (do you need to insmod?)
Hermes closed this pull request 2026-05-12 20:30:04 +00:00
Hermes deleted branch fix/wg-easy-iptables-nft 2026-05-12 20:30:05 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/infra#40
No description provided.