[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] How to Restrict users from accesing some particular site



Best way to restrict a site is to restrict it at NIC level via IPCHAINS
command. Proxies are OK but if the cliant disables proxy he can recah to
that site.
here is exact ipchain command.
Suppose you wish to reject hotmail the via DNS name the coomand is as
follows

ipchains -A output -d www.hotmail.com -j REJECT

Suppose you wish to stop a particular IP then the command is as folows


ipchains -A output -d 209.185.243.135/24 -j REJECT



--S.K. Singh--

On Tue, 21 Dec 1999, Shanker Balan wrote:

> Sathya Rangaswamy wrote:
> 
> > Hello joseph some details of your webserver would help ?
> > Anyway assuming apache:
> >  use mod_proxy and configure it
> > ProxyBlock will let you block access to your hosts of choice.
> > thx
> 
> Hi,
> 	And if u are using Squid, set your Access control List (ACL) in
> /etc/squid.conf. Refer manpage!
> 
> -- Shanu
>   - - - - - - - - - - - - - - - - - - - - - = = (SHANU) = = - -
>   St. Albert's College             Debian/GNU Linux 2.2.1 (Aloo)
>   Cochin  India
> 
> 
> --------------------------------------------------------------------
> The Linux India Mailing List Archives are now available.  Please search
> the archive at http://lists.linux-india.org/ before posting your question
> to avoid repetition and save bandwidth.
> 

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.