Outgoing requests


#1

Hi,

We are using CloudFlare for a lot of our projects - some are premium plans, others are free. Recently we found out that outgoing HTTP requests are not proxied through CloudFlare thus revealing the IP address of our server.

This is best demonstrated when a user uploads an image as an avatar that is to be downloaded from our server. When our server requests that image, its origin IP is then recorded in the web server log of the remote server that hosts the image.

How can we prevent that?

Thanks in advance!


#2

That’s normal. Cloudflare only proxies your visitors.

When it comes to server-initiated requests, it starts at your server…then it looks up the destination in DNS, then contacts that destination. This also happens when your server sends out email.

If you’re on a VPS or some other setup that lets you have a firewall, and you don’t need other inbound traffic, block everything except Cloudflare:


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.