If your talking about blocking a local-net address you could use route or
ipchains. Using route would be easier to delete the entry and wont get messy in
memory.

ex: route add -host 192.168.1.x reject  : to deny access
ex: route del -host 192.168.1.x reject  : to re-allow them

But heres an ipchains example:

ex: ipchains -I input -s 192.168.1.x -j REJECT : to deny
ex: ipchains -I input -s 192.168.1.x -j ACCEPT : to allow


Kirk

>On Mon, 5 Mar 2001, M. Neidorff wrote:


> Hi all,
>
> I have my home network (RedHat 6.2) set up so that everyone is on the
> Internet full time.  I have eth1 going out to the net via DSL and eth0
> going to the local net (192.168.1.*). I'd like to be able to turn net
> access off on an ip-address by ip-address basis.  (Its easy to turn off the
> entire eth0 interface) How would I best turn off and on individual
> addresses at will?  If the answer is ipchains, could someone please cobble
> together an example?
>
> Thanks for any help,
>
> Mark
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>

-- 
     Kirk Whiting <[EMAIL PROTECTED]>
     *** Gothic Unix Freak, Windoze hater ***
         http://www.prince-of-darkness.cc



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to