Hi,
How to block block all China and Arabs IPs in windows server 2003 R2? what firewall can block the country's?
Thank you!
Hi,
How to block block all China and Arabs IPs in windows server 2003 R2? what firewall can block the country's?
Thank you!
Blocking entire countries by IP ranges is possible, but it is best done at the network edge (router/CDN/WAF) rather than only on the Server 2003 host. As warned, country CIDR lists are large and change often; blocking blindly can cut off legitimate users. As suggested, combine any IP blocks with rate limits and account lockout rules so attackers cannot simply shift to proxies or credential stuffing.
Practical options, in order of effectiveness:
Where to get ranges and tools:
Operational checklist:
References: MaxMind GeoLite2 country data (https://dev.maxmind.com/geoip/geoip2/geolite2/), Cloudflare Firewall docs (https://developers.cloudflare.com/firewall/), pfSense pfBlockerNG docs ().
Jump to Post— blud 82Most people would use just windows firewall or some other firewall software. The list of ips allocated to china can be found Here. Keep in mind they make up a good portion of the internet, so if your running a site that …
Most people would use just windows firewall or some other firewall software. The list of ips allocated to china can be found Here. Keep in mind they make up a good portion of the internet, so if your running a site that rely on visitors, you may want to double check how many of your users are in these subnets before blocking them.
I guess you are getting scanned by IP's from this countries... You can create rules on your firewall to block the segments, but like blud said, be carefull. Also it would be wise to also configure logon restrictions in order to disable or prevent future logons from usernames that fail to logon succesfully after a said number of attempts.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.