All of lore.kernel.org
 help / color / mirror / Atom feed
* Blocking ip addresses..
@ 2005-05-20 17:26 Sebastian Docktor
  2005-05-20 19:07 ` Taylor, Grant
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Docktor @ 2005-05-20 17:26 UTC (permalink / raw)
  To: netfilter

Hi,

I want to block specified IP Addresses "on the fly".

My Firewall is started, and then without a restart, I want to
block all established,new,related connection to a specified host or
port.

The Problem is, when I use the conntrack modul, and I block a IP with
this command : 

iptables -t nat -I POSTROUTING -p tcp  -s 192.168.0.23 --dport 25 -m
conntrack --ctstate ESTABLISHED,NEW,RELATED -j DROP,


then I can't create new Connections, but I can use further on the established
connections.

Is there a Solution to also stop working the established connections?

regards sebi


-- 
Sebastian Docktor <sebi@tux-labor.de>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-20 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-20 17:26 Blocking ip addresses Sebastian Docktor
2005-05-20 19:07 ` Taylor, Grant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.