Trust k3s CNI interfaces in ringtail NixOS firewall
The NixOS firewall was blocking pod-to-host TCP traffic because only tailscale0 was trusted. Pods could ping the host but not reach the API server (port 6443), breaking Tailscale Ingress TLS cert refresh and all ringtail services (authentik, frigate, ntfy, ollama). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6c5a99883f
commit
c5d82b0942
1 changed files with 4 additions and 2 deletions
|
|
@ -155,8 +155,10 @@ in
|
|||
extraUpFlags = [ "--accept-routes" "--ssh" ];
|
||||
};
|
||||
|
||||
# Trust Tailscale interface (ArgoCD on indri connects via tailnet)
|
||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||
# Trust Tailscale and k3s CNI interfaces
|
||||
# - tailscale0: ArgoCD on indri connects via tailnet
|
||||
# - cni0/flannel.1: k3s pod overlay network (pods must reach host API server)
|
||||
networking.firewall.trustedInterfaces = [ "tailscale0" "cni0" "flannel.1" ];
|
||||
|
||||
# SSH
|
||||
services.openssh = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue