How to allow traffic only for indian people one server port alone

Hi Team,

We need to block the 443 and 80 port for one server out side India and only India 80 and 443 able to access for the same. Please advice how to do the same.

With Regards
Edukondalu P

You can use something like Require specific HTTP ports ยท Cloudflare Web Application Firewall (WAF) docs and add fields for country.

WAF rule is not working

we have create rule for the ful URL xxx.xxxxxxx.xx and country does not equal to india block , but it is not blocking . Please help for the same.

With Regards
Edukondalu P

You probably want hostname and not full URL

I am unable to show the screenshot and even host name also not working to blocking traffic outside India for specific