On Wed, 23 Jan 2002, Mark Neidorff wrote: > I have my local lan using IPs in the 192.168.1.x range. The box that > I'm sitting at is the gateway to the Internet. It works just > fine. There are times that I'd like to block access to the Internet > for one or more addresses on the local net. What files do I modify to > accomplish this? (Its a small local lan, so I don't need to automate the > task at this time)
Just null-route the IP in question and its content won't transit the gateway. As root on the gateway box: route add -host 192.168.1.x gateway 127.0.0.1 and you'll trap 192.168.1.x within the 192.168.1.0/24 network -- the firewall box will not be able to reach 192.168.1.x either -- just hop there from another internal host if you need to connect to 192.168.1.x. -- Russ Herrold _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list