This is a shell script that launches iptables to add rules that will flag various types of nmap scans.
You can download it from the following link: https://packetstormsecurity.com/files/download/110042/blocknmap.sh.txt
Source: https://packetstormsecurity.com/files/110042/Nmap-Iptables-Shell-Script.html

