Chris Geske wrote:
What is the syntax to delete this rule once it has been created? I tried replacing the -I with -D, but it had a syntax error.
Chris Geske LIMS Manager Northern Lake Service, Inc. ph: 715-478-2777 email: geskec@newnorth.net
-----Original Message----- From: root [mailto:root]On Behalf Of Chris Reeves Sent: Wednesday, September 20, 2000 11:13 AM To: SuSE Linux Mailing List; Christopher D. Reimer Subject: Re: [SLE] Using Ipchains to block web access...
Hi there,
Does anyone know how to set up an ipchains rule to prevent a certain computer on the network from having internet web access? I would like to actively discouraged web access from a Windows machine, but the machine must still be able to telnet out. My previous attempts have ended up as being all or nothing for access.
What about (on the gateway computer): ipchains -I input 1 -p tcp -s $WINIP -d 0.0.0.0/0 80 -j REJECT Where $WINIP is the IP address of the Windows machine.
ipchains -D input 1 The above should get rid of that rule - no need to include the rest of it. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq