mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
The in-guest IMDS relay listened on 169.254.169.254:80, so Apache and other wildcard port-80 listeners could not start in an EC2 guest. The relay now listens on its own port, 42169, and an iptables or nft NAT rule routes local link-local port-80 traffic to it. The guest's own nft rules are kept, and only Floci's relay rule is added or removed. With no working NAT backend, the older port-80 listener keeps IMDS available. A protected instance's restart retires a retained older listener before the workload starts, and a failed start rolls back the IMDS registration it made. The network helper image now includes iptables. Closes #7937