iptables

/Tag:iptables

Simple Iptables Blacklist

Anyone that has run a server for any length of time quickly learns that the Internet is full of spammers, bots and other characters you would prefer didn’t exist. A firewall is key to keeping these guys out and Linux comes with a Kernel level firewall called iptables that can be employed for this purpose. The only downside of iptables is that people who don’t deal with it on a regular basis tend to find its syntax a little bit daunting. In this post I am going to run you through the process of setting up a basic firewall IP blacklist. Using a bash script to read an blacklist of IP addresses and feeding these to iptables so they can no longer access your server. First up create decide where you would like the script to live. for this example I am just going to put it in /root/scripts. i.e mkdir /root/scripts nano firewall.sh Continue reading “Simple Iptables Blacklist” »

By |June 16th, 2014|Linux, Security, Uncategorized|0 Comments

Blocking VocusPR Spam With Iptables

VocusPR has a dubious reputation their main line of work is aggregating the contact details of journalists and bloggers and then selling access to that database so companies can contact them. Press releases from Vocus customers come with the required "unsubscribe" link down the bottom but the catch is clicking it will only stops the [...]

By |July 20th, 2011|Uncategorized|0 Comments

Linux Iptables

A tutorial showing the creation of simple Iptables firewall rules.

By |July 12th, 2008|Linux|0 Comments