Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: brianr on August 26, 2007, 12:02:10 PM

Title: exclude access to web site - quick and easy
Post by: brianr on August 26, 2007, 12:02:10 PM
I need to exclude a couple of web sites from access by anyone on a network.  I realise I could use the dansguardian or squidguard contribs, but would like to do it in a simple way initially.

I tried adding

127.0.0.1 www.ebay.com

to the /etc/hosts

file, but it does not seem to effect the workstations (although the server itself can no longer access the site).

I guess the answer is related to the dnscache, about which I know very little, anyone any good ideas?
Title: Re: exclude access to web site - quick and easy
Post by: cactus on August 26, 2007, 01:10:43 PM
I guess the answer is related to the dnscache, about which I know very little, anyone any good ideas?
Are you forcing your users to use a proxy to connect to the internet?
Title: Re: exclude access to web site - quick and easy
Post by: brianr on August 26, 2007, 09:13:20 PM
Are you forcing your users to use a proxy to connect to the internet?

I have the "automatically detect proxy settings" unset on the PC ('cos they complain it takes time!), but have the "transparent" proxy set in the server.  The server is server+gateway.

B.