wardmundy
Nerd Uno
- Joined
- Oct 12, 2007
- Messages
- 19,168
- Reaction score
- 5,199
wardmundy submitted a new resource:
IPtables: BlackList Countries - Here's an efficient way to blacklist entire countries from accessing public servers
Read more about this resource...
IPtables: BlackList Countries - Here's an efficient way to blacklist entire countries from accessing public servers
Now that some of us are running public web servers, you may find it useful to block certain countries from accessing your server to reduce denial of service attacks, etc. Here's how with IPtables without bringing your server to its knees.
NOTE: This will NOT work on OpenVZ-type servers because of the shared kernel component (i.e. wable). Syntax is provided for CentOS, then Ubuntu/Debian below.
1. Install ipset (yum install ipset OR...
Read more about this resource...