How do I make my server available for CloudFlare network

Hi,

I have a website protected by CloudFlare. Meanwhile, the website sends transactional emails through Mailchimp and my server IP is revealed in the mail headers, so I have a risk of attack, etc. I want to keep my server IP in secret while being protected by CF. What are my options here?

  1. See if there’s a way to get Mailchimp to not expose this IP address. I use Mailgun and it scrubs the address from the header.
  2. Regardless of the above, it’s always good to firewall the server so nobody bypasses Cloudflare to get to your server, provided all sites there are on Cloudflare. Only let the following IP addresses through:

Thanks a lot! I’ve set up a firewall so only CloudFlare can access the server now.

1 Like

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