Need to allow specific URL over public Internet for a nated server

I have one Public facing web server which has 10 Websites hosted with different URL where prefix is same but suffix is different for each website. I need to allow just couple of URL to be accessed over public internet, rest URLs should be accessible over Intranet and not Internet. Please help me creating such rules.

Welcome to the Cloudflare Community. :logodrop:

Your question is unclear. Is there a reason why the private sites are not served by an internal domain that does not resolve on the public internet? That is the often most practical and effective solution.

Can you create some examples with example.com? If you need to additional domains, example.net and example.org are good choices.

I think i could not explain the requirement. Briefing again, I have one web server which has around 10 sites hosted in my data center. This server is nated with a public IP to be accessible over public internet and its A record is configured on cloudflare. Out of 10, there are couple of sites which we need to allow access over public internet (For customers) and rest sites are not required to be accessed over public Internet. Those 8 sites are for Internal users. Now since the server is accessible over public Internet, all 10 sites are accessible over Internet. Here i would like to allow just 2 sites should be accessible externally and rest 8 should not. Please help me configure this rule in cloudflare

Why is an intranet-only site even connected to Cloudflare? It would be a lot easier to secure your intranet-only sites against unwanted internet access if you secure them at the origin instead of connecting them to Cloudflare. Surely your webserver can limit access to only LAN IPs for those sites. Problem solved. No Cloudflare required.

You can save the Cloudflare proxy for the two sites that are allowed to be accessed from the internet.

2 Likes

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