Hello Everyone,
My first post here, please excuse and direct me to the right place, if this question has already been answered.
We are developing our website on CMS and want to publish this site (all pages) only to a certain IP address for doing both functional and security testing. We have our own subscription of CloudFlare for multiple services including DNS, WAF, CDN etc. So I am trying to use Cloudflare to setup this source IP based restriction.
I am using the features like IP Access Rules, Zone Lockdown, Firewall Rules in Cloudflare to Block access to our site www.oursite.ai, if the traffic is coming from any IP source other than our company IP addresses. However since the DNS CName entry on cloudflare (pointing to the Hubspot URL) cannot be ‘Proxied’ in Cloudflare, none of the above rules are working.
I have created an A DNS record for oursite.ai (without the www) pointing to 2 IP address provided by Hubspot and set it to be ‘Proxied’. Since it is Proxied, it looks like all the IP rules are working and I get blocked if trying to access the site as oursite.ai (without the www) in the browser.
Have anyone tried to do this use case? Please help if anyone has managed to get a similar use case working. I’ve spoken to Hubspot support team as well, however as per them, there does not seem to be a straight forward way to do this
Thanks in advance
RDN