Wait, I've fixed it... It needed the -j
Is there any way I can just block them from like port 2121 and port 9997..
And if so how do i remove what i just did from iptables..
----- Original Message -----
From: "civileme" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 7:28 PM
Subject: Re: [newbie] Block Ip


> Gerald Waugh wrote:
>
> >On Thursday 28 February 2002 07:32 pm, Jesse Angell wrote:
> >
> >>Is there anyway I can block the ip address
> >>12.229.110.8
> >>From connecting to anything on my server. I mean anything just to where
> >>linux will just say hell no and do whatever if it tries to connect. I've
> >>tried banning them in the Palace Server software I use (chat place, they
> >>are being disruptive and keep coming back) but they have a way around
that.
> >>SO is there something I can do in linux just to stop any connections
from
> >>them This would be so much simpler then talking to their isp..
> >>
> >
> >Use ipcahins or iptables and block the ip
> >
> >--
> >Gerald Waugh
> >
> >
> >------------------------------------------------------------------------
> >
> >Want to buy your Pack or Services from MandrakeSoft?
> >Go to http://www.mandrakestore.com
> >
> in such a case
>
> iptables -A input -s 12.229.110.8 REJECT
>
> or
> iptables -A input -s 12.229.110.8 DROP
>
> would probably fulfill your needs.
>
> Just put that in /etc/rc.local as next to last line and issue it once as
> root.  No need to reboot.  The entry in rc.local should cover the reboot
> scenario while the once-issued rule should persist unless you set up
> some firewall that initially flushes rules before setting up its own.
>
> Civileme
>
>
>
>
>


----------------------------------------------------------------------------
----


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to