Is there a way to block IP addresses from a specific country?



South Korea just suffered its largest data loss due to Chinese hackers. This affected over 75% of their population.


Is there a way to protect our routers from being invaded by foreign nations? If we had a list of the ID addresses to block, that would help us get started.


Topic: Internet
Answer this Question


4 total
Vote Up (18)


This is scary: over the past 5 years, China has been hacking businesses and government organizations worldwide. When one considers that the Chinese government controls their country's internet in ways that Western nations wouldn't, we should all be looking for ways to clamp down on Chinese access to our networks and websites.


Vote Up (16)

Well if you are running an apache server then you can block the offending IP from reaching your website by using a .htaccess file 


Simply add the following statement, changing the IP address to that you want to block.



<Limit GET>

order deny,allow

deny from 58.14.0





for more info, there's a huge list of Chinese address blocks at this link:

Vote Up (13)

blocking a country to get access to your website will resolve this

Please go through the forum discussion, which is helpful -

Sandeep Seeram

Vote Up (9)

If you are an enterprise and want to block the over 80% of fraud and DDoS attacks that originate from foreign countries they make an in-line appliance that blocks countries by IP address

Ask a question

Join Now or Sign In to ask a question.
A misunderstanding by immigration officials serves as a reminder of the potential headaches of working remotely from a foreign country
Google has fired back at Microsoft with cheaper cloud services, signaling another round of price cutting in an increasingly competitive market.
Twitter is investing US$10 million in a lab at the Massachusetts Institute of Technology to build platforms for online collaboration by people on civic and political issues.
Apple TV got a software update last week that didn't exactly blow our hair back. Here are five suggestions for Apple to make the next Apple TV update a real upgrade.
The Thread Group has invited more companies to join its effort at harmonizing the "Internet of things" in consumers' homes, but it still faces a tangled industry with competing and overlapping technologies.
Facebook has apologized to drag queens and the larger LGBT community in the wake of controversy over the site's names policy, clarifying that users don't have to use their legal name.
More than 2.4 million people have signed letters calling on the U.S. Federal Communications Commission to stop its proposed "takeover" of the Internet in an effort by conservative activist group American Commitment to reframe the debate about the agency's proposed net neutrality rules.
Activists are meeting with Facebook officials Wednesday, challenging the company's real-names policy and other rules they say violate free-speech rights, sense of identity and safety.
The Internet of Things is billed as an almost magical realm of possibilities where everything from thermostats to cars will be online.
Oracle chairman Larry Ellison has delivered another dose of hype for the vendor's cloud platform, but many customers may need more convincing before they make the leap.

White Papers & Webcasts

See more White Papers | Webcasts