Running enclaves

Networking and ports

Every enclave reaches out; only the ports you publish reach in.

Every enclave gets an IP address and reaches the internet through the host. Enclaves can't reach each other, the host's services or the operator's LAN.

Nothing reaches in unless you publish it. --port 8080:80 sends the machine's port 8080 to the enclave's port 80. Inside an enclave, fe-vmnet gives VMs, containers and namespaces their own network.

sudo fe enclave create web --image ubuntu --cores 2 --memory 2048 --disk-gib 8 --ssh-key ~/.ssh/id_ed25519.pub --port 8080:80 --port 8443:443