Skip to content

cvm-deployment: example .env files bind external ports to 0.0.0.0 — recommend an explicit public IP #3472

@barakeinav1

Description

@barakeinav1

Background

The example env files for deploy-launcher.sh (deployment/cvm-deployment/default.env, configs/sgx.env, configs/kms.env) set all EXTERNAL_MPC_* ports to 0.0.0.0:<port>. Operators copy these as-is, so qemu ends up listening on every host interface (internal/secondary networks included), not just the intended public one. Binding to 0.0.0.0 contributed to an incident on one of our testnet nodes.

User Story

As a node operator, I want the example configs and guide to bind external ports to an explicit host IP, so MPC services are not unintentionally exposed on interfaces I didn't plan for.

Acceptance Criteria

  • Example .env files use an explicit placeholder (e.g. EXTERNAL_MPC_MAIN_PORT=<HOST_PUBLIC_IP>:80) or a comment recommending it over 0.0.0.0
  • deploy-launcher-guide.md (and/or the external TDX guide) briefly explains choosing the bind IP

Resources

  • deployment/cvm-deployment/default.env lines 30–34; same pattern in configs/sgx.env / configs/kms.env

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions