Re: [despammed] Blocking ip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



am  Thu, dem 25.12.2003, um 14:13:53 +0100 mailte - folgendes:
> I would like to block a specific IP adress from the internet using an 
> iptables rule (for all ports) - How does it looks like ? (iptables v 1.2.6)

Please read the f* man-page!
iptables -A INPUT -p TCP -s 111.111.111.111 -j REJECT

This blocks all incoming traffic from 111.111.111.111 with
icmp-port-unreachable.

Andreas
-- 
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung.   Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org)     GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux