<P>
Try using iptables<BR>
<BR>
#for restricting access from the linux box acting as internet and email gateway<BR>
iptables -A OUTPUT -t filter -d 1.1.1.1 -j DROP  <BR>
<BR>
#for clients that are accessing sites via the gateway<BR>
iptables -A FORWARD -t filter -d 1.1.1.1 -j DROP  <BR>
<BR>
I am a newbie... I do not know if this is the best way... others might have a better idea... just my $.02<BR>
<BR>
Hope it helps!<BR>
Raj<BR>
<BR>
<BR>
On Thu, 24 Feb 2005 Sammy Msafiri wrote :<BR>
>Hi guys,<BR>
><BR>
>I have a redhat linux 7.2 box used as internet and email gateway.<BR>
>I need to restrict access to some internet sites.<BR>
><BR>
>How can I achieve this. Thanks in advance.<BR>
><BR>
>Cheers<BR>
><BR>
>Sammy<BR>
><BR>
><BR>
>-----Original Message-----<BR>
> From: rhn-users-bounces@redhat.com [mailto:rhn-users-bounces@redhat.com]<BR>
>On Behalf Of Ferguson, Michael<BR>
>Sent: Tuesday, February 22, 2005 3:01 PM<BR>
>To: Red Hat Network Users List<BR>
>Subject: RE: [rhn-users] TFTP Server<BR>
><BR>
>Thanks. I will give it a try. 'preciate it.<BR>
><BR>
>-----Original Message-----<BR>
> From: rhn-users-bounces@redhat.com [mailto:rhn-users-bounces@redhat.com]<BR>
>On Behalf Of Strickler Carl<BR>
>Sent: Tuesday, February 22, 2005 5:10 PM<BR>
>To: 'Red Hat Network Users List'<BR>
>Subject: RE: [rhn-users] TFTP Server<BR>
><BR>
><BR>
>http://www.linux.com/howtos/Clone-HOWTO/setting-up.shtml<BR>
><BR>
>-----Original Message-----<BR>
> From: rhn-users-bounces@redhat.com [mailto:rhn-users-bounces@redhat.com]<BR>
>On Behalf Of Ferguson, Michael<BR>
>Sent: Tuesday, February 22, 2005 4:06 PM<BR>
>To: rhn-users@redhat.com<BR>
>Subject: [rhn-users] TFTP Server<BR>
><BR>
><BR>
>G'Day All,<BR>
><BR>
>I did quite a bit of reading on setting up a TFTP server for the benefit<BR>
>of my CISCO Switches and IP Phones but am now more unsure that before.<BR>
>Can someone help me to locate docs on setting up the TFTP server<BR>
>successfully?<BR>
><BR>
>Thanks<BR>
><BR>
>Ferg<BR>
><BR>
><BR>
>_______________________________________________<BR>
>rhn-users mailing list<BR>
>rhn-users@redhat.com https://www.redhat.com/mailman/listinfo/rhn-users<BR>
><BR>
>_______________________________________________<BR>
>rhn-users mailing list<BR>
>rhn-users@redhat.com https://www.redhat.com/mailman/listinfo/rhn-users<BR>
><BR>
>_______________________________________________<BR>
>rhn-users mailing list<BR>
>rhn-users@redhat.com<BR>
>https://www.redhat.com/mailman/listinfo/rhn-users<BR>
><BR>
><BR>
><BR>
>____________________________________________________________________<BR>
>- This email and any files transmitted with it are confidential and<BR>
>   intended solely for the use of the addressee. If you have received<BR>
>   this email in error you may not disclose, copy, distribute or act<BR>
>   upon its contents without the authors prior written consent. Please<BR>
>   can you notify the system manager at postmaster@somak-nairobi.com<BR>
>   immediately and delete this email.<BR>
>- Any views or opinions expressed are those of the author and do not<BR>
>   necessarily represent those of Somak Travel Limited, Kenya.<BR>
>- This footnote also confirms that this email message has been swept<BR>
>   for the presence of computer viruses. No responsibility can be<BR>
>   accepted in the event that a virus is contained within it or any<BR>
>   attachments.<BR>
>- SOMAK TRAVEL LTD - KENYA<BR>
>   NAIROBI, PO BOX 48495. Tel: +(25420) 557832 Fax:+(25420) 535175<BR>
>   MOMBASA, PO BOX 90738. Tel: +(25441)5486197 Fax:+(25441)5487324<BR>
><BR>
>____________________________________________________________________<BR>
><BR>
>_______________________________________________<BR>
>rhn-users mailing list<BR>
>rhn-users@redhat.com<BR>
>https://www.redhat.com/mailman/listinfo/rhn-users<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>