Fixes #3436
/claim #3436
When Coolify creates Docker networks for the proxy, it uses docker network create without the --ipv6 flag. This creates IPv4-only networks. When an IPv6 client connects, the traffic routes through the proxy gateway IP (e.g., 172.18.0.1) instead of the real client IP, causing X-Forwarded-For to contain the proxy IP rather than the actual client IP.
As identified by @fa-sharp in the issue discussion, IPv6 clients don’t get proper IP forwarding because Docker networks are IPv4-only by default.
Add --ipv6 flag to all four docker network create calls in bootstrap/helpers/proxy.php:
connectProxyToNetworks)connectProxyToNetworks)ensureProxyNetworksExist)ensureProxyNetworksExist)This ensures Coolify-created proxy networks have dual-stack IPv4/IPv6 support, allowing correct client IP forwarding for all clients regardless of IP protocol version.
The fix is minimal and only adds the --ipv6 flag to existing docker network create commands. Verified that:
--driver (for overlay) and before --attachable (for regular networks)Wallet: 0x5D319A61fD62e62E82C0b38a9D5CA81c61564ea9 Network: Ethereum/Base (USDC/USDT)
bobbiejaxn
@bobbiejaxn
algora0
@algora0