[wellylug] Blocking bad IPs from server

John Durham johndurh at spunge.org
Sat Jan 27 09:17:24 NZDT 2007


Andrej wrote:
> On Saturday 27 January 2007 08:30, John Durham wrote:
>
>   
>>> for i in `cat list-of-bad-ips`; do iptables -A INPUT -s $i
>>> -j DROP; done
>>>       
>> Could anything associated with this have turned off port 80?
>>     
> Nope.  It will block any traffic from that IP.  The problem may
> be with your list.
I checked the list, but the server IP is NOT present, so maybe the list 
can be discounted in this case. Note: Port 80 appears to be open.

-- 
Regards, John Durham <http://modecideas.com/contact.html?sig>
Fax/Phone 64 4 5286786
Award winning web site at http://modecideas.com?sig
Server hosted on Ubuntu 4.10
PC-HELPERS list subscribe/unsub at http://modecideas.com/discuss.htm?sig
Good advice is like good paint- it only works if applied. 




More information about the wellylug mailing list