Block IP/MAC address with iptables
Posted in Uncategorized on Jan 7th, 2009
So, you noticed that there is someone out there doing something nasty to your computer. Block their IP! Pulled directly from my .bashrc, I give you the most useful alias I have ever written: alias blockip=’sudo iptables -A INPUT -j DROP -s ‘ alias blockmac=’sudo iptables -A INPUT -m mac -j DROP –mac-source ‘ Also [...]