Skip to content

Ports and protocols

Reference of what listens where. For network architecture, relays, and Cloudflare Tunnel setup, see Networking.

The node firewall (nftables) drops all other inbound traffic.

Port Protocol Allowed from Service
7444 UDP (QUIC) Anywhere machined iroh endpoint (anastro/node/1, anastro/api/1, dwfs/1, dwfs-key/1, anastro/agent/1, anastro/unseal/1). Drops non-enrolled peers after handshake (except maintenance mode, host registration, and peer unsealing).
7445 UDP (QUIC) Anywhere Worker hostagent (anastro/host/1 for commands/terminals/signals; anastro/migrate/1 for live moves).
5432 TCP network.private.cidr Postgres (control plane).
5433 TCP network.private.cidr Parallel Postgres major during an online major upgrade.
8008 TCP network.private.cidr Patroni REST API (HA control plane; mutations require machined’s password).
8009 TCP network.private.cidr Parallel Patroni during an online major upgrade.
2379, 2380 TCP network.private.cidr etcd client and mTLS peer traffic (HA control plane).
3340 TCP network.private.cidr anastrod relay plain HTTP (when iroh.run_relay = true).
3901, 3903 TCP network.private.cidr In-cluster Garage RPC and admin (storage role).

On Linux workers, anastro-egress also listens on TCP 7449 on the machine bridge IP, accepting only host-redirected web traffic (Package firewall).

Private TCP ports open only on control-plane (or storage) nodes; worker-only nodes open only UDP 7444 and 7445.

Address Service
127.0.0.1:7443 TCP apid HTTP listener (cluster API, /api/docs, web UI, inference gateway for local sidecar)
127.0.0.1:7445 TCP Agents sidecar (anastro-agents, called only by local apid)
127.0.0.1:7446 TCP Hooks listener for cloudflared ingress (when Cloudflare Tunnel is enabled)
127.0.0.1:7448 TCP Local forwarder to in-cluster Garage gateways over iroh
/run/anastro-secretd/secretd.sock secretd cluster secret store (root and apid’s group only)
Address Service
vsock port 1024 anastro-guest (commands, terminals, signals from hostagent)
vsock port 1025 (host) GitHub credential broker for git-credential-anastro
vsock port 1026 (host) Inference gateway relay
127.0.0.1:7446 (guest) Guest loopback end of vsock 1026 (OPENAI_BASE_URL / ANTHROPIC_BASE_URL when machine tokens are on)
Address Command
Ephemeral loopback TCP port anastroctl ui
127.0.0.1:4141 TCP anastroctl inference proxy (override with --listen)
Source Destinations
Every node iroh peers and relays (UDP); OTLP endpoint if observability.otlp_endpoint is set
cloudflared (control plane, if enabled) Cloudflare edge (TCP/UDP 7844, TCP 443) and local ingress (127.0.0.1:7446, control-plane relays on 3340)
WAL-G (Postgres primary) Backups object store
apid, schedd, dwfsd Workspaces object store; Cloudflare API (for R2 temporary credentials)
apid, opd GitHub, 1Password (*.1password.com or connect_url), model providers, remote MCP servers
hostagent Nix binary caches listed in [machines.nix] substituters
Machines Public internet via host NAT (TCP 80/443 proxied through anastro-egress, UDP 443 QUIC inspected when package firewall is enabled)
anastro-egress (Linux workers) Machine web destinations, package registries (or configured upstreams), and OSV (api.osv.dev)