Ensuring Consistent IPv4 Address for Outgoing Requests from Cloudflare Worker

Hello everyone,

I'm using Cloudflare Workers to make outgoing fetch requests to an external server. For various reasons, I need these requests to consistently come from the same IPv4 address.

During my tests, I've observed that the source IPv4 address changes intermittently. I understand this might be due to Cloudflare's distributed nature and how they handle outgoing traffic.

  1. Is there a way to ensure that my Cloudflare Worker uses a consistent IPv4 address for its outgoing requests?
  2. Are there any recommended practices or configurations within Cloudflare to achieve this, or is it a limitation of the platform?
Any insights or suggestions would be greatly appreciated. Thank you!
Was this page helpful?