Hello Fly.io community,
I’m deploying a security-sensitive outbound HTTP fetching service on Fly Machines, using a Go API wrapper and Smokescreen as an HTTP proxy.
The architecture requires the wrapper process (UID 10002) to access only the local Smokescreen proxy on TCP port 4750. All direct IPv4 and IPv6 outbound connections must be blocked.
The container runs Alpine Linux with iptables-nft and iptables-legacy. During startup, we attempt to install an OUTPUT rule using:
iptables -I OUTPUT 1 -m owner --uid-owner 10002 -j EOLVA_WRAPPER_OUT
Both backends fail:
iptables-nft:
Warning: Extension owner revision 0 not supported, missing kernel module?
iptables v1.8.11 (nf_tables): RULE_INSERT failed (No such file or directory): rule in chain OUTPUT
iptables-legacy:
Warning: Extension owner revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
The service intentionally fails closed and does not start.
Could someone clarify:
-
Is the
xt_ownernetfilter match supported on current Fly Machines? -
Is there a supported way to use per-process or per-UID outbound firewall restrictions?
-
Are network namespaces, cgroup-based egress filtering, or another isolation mechanism available on Fly Machines?
-
What would Fly.io recommend for enforcing that one process can reach only a local HTTP proxy, with no direct IPv4/IPv6 egress?
We want to preserve fail-closed security rather than bypass the firewall.
Thank you!