How to use IPTables to Rate Limit using the Recent Module
If you have a sever that must have SSH open to the world, at a minimum we encourage you to consider throttling all requests. It is hard to think of a legitimate reason why any IP should be allowed...
View ArticleCommenting in IPTables
If you are writing an IPtables rule, you need to add comments.Comments are imperative for your future self, and anyone that takes over your job, to better understand what the rule is doing.For...
View ArticleBlocking HTTP requests via IPtables for a specific domain
In a previous article, we showed how to block specific domains at the DNS level using iptables. Today, we will expand into that and show how to also block HTTP requests for a specific domain (or URL)...
View ArticleCreate Default Blocks with IPTables
If you are configuring IPTables (or any firewall for that matter), you should always start with a block all rule. Within IPTables, it is very easy to do: /sbin/iptables -I INPUT -j DROP -m comment...
View ArticleBlocking DNS requests via IPTables
IPTables has to be one of the tools that I use the most on my day to day work. The default firewall tool chain on Linux has a lot of options to filter pretty much any traffic you wish.In this article...
View Article