[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-user
Subject:    Re: [IPCop-user] How to block multiple ip's
From:       "Henrik Thomsen" <henrikpthomsen () pjokk ! com>
Date:       2003-01-31 9:13:18
[Download RAW message or body]

 John Edwards wrote    
>
>3) Use a for loop in the shell script:
>
>## Block IP addresses from
>for blocked_ip in `seq 20 30` ; do
>         ipchains -I input -j DENY -p tcp -s 10.0.0.${blocked_ip} -d 
> 0.0.0.0/0 20:21
>done

Thats a beauty and it works like a charm. I am impressed. 
Thanks a million.

Henrik Thomsen
Denmark


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
IPCop-user mailing list
IPCop-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic