We all know IPTables can be difficult. By adding the following lines to your ~/.bashrc you can simplify the tasks of blocking packets from a certian ip. First your going to need to install IPTables: Gentoo: emerge iptables (Must be Root to use/install iptables) Ubuntu/Debian: sudo apt-get install iptables Then edit your .bashrc file and add the following alias blockedips="iptables [...]
Continue reading...Thursday, April 9, 2009
If your running a SSH server on the default port(22) you've probably noticed a lot of failed login attempts cause due to brute force attacks Adding the following to your IP tables will only allow 3 connections at once from any IP if it goes above 3 then that IP is locked out for 3minutes. At [...]
Continue reading...
Sunday, August 30, 2009
0 Comments