View Single Post

  #4 (permalink)  
Old 11-21-2007, 12:01 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,030
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Add following to your iptables scripts:

Code:
WINDOWS_IPS="192.168.1.2 192.168.1.5 IP3 IP4 IPn"
for i in $WINDOWS_IPS
do
 iptables -A INPUT -s $i  -j DROP
done
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote