Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-15-2009, 07:37 AM   #1
Registered: Aug 2009
Posts: 39

Rep: Reputation: 15
Smile squid proxy server in ubuntu

Hi forum ,

I have configured squid proxy server . I want to restrict some web site . I have made following changes in /etc/squid/squid.conf file .

on the bottom of acl tag

acl blocksites dstdomain

top of the http_access

acl_access deny blocksites

and I restarted the squid service after that i can not open any web site . did i make any mistake please tell me how to restrict web site through proxy server .

thank you
Old 09-15-2009, 11:05 AM   #2
LQ Newbie
Registered: Jul 2008
Posts: 24

Rep: Reputation: 17
Look for sarg reports
there u will find porn,noprn file.

or by using webmin you can block by access list

Old 09-16-2009, 04:44 AM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
What is "sarg"? How about a link, please.,
Your LQ user name is too long & stupid dangerous to you -- I suggest you e-mail jeremy & ask for something shorter, like just "vikas.dange" or "124vikas.dange".

It's too long because it distorts the normal balance between right & left panels of the LQ display.

It's dangerous to you because it's an invitation to spammers.

Old 09-16-2009, 05:01 AM   #4
LQ Newbie
Registered: Jul 2008
Posts: 24

Rep: Reputation: 17
Sarg is Squid Analysis Report Generator
and its link is

And most importantly please check this link for access list. there u will find porn noporn file u can use it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
My squid server is running slow i have 40 fedora 11 in my squid proxy Linux - Server 4 09-15-2009 12:17 AM
LXer: Squid Proxy Server On Ubuntu 9.04 Server With DansGuardian, ClamAV, And WPAD LXer Syndicated Linux News 0 07-03-2009 08:51 PM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 01:03 AM
Ubuntu, Squid Transparent Proxy server is not working pocs Linux - Networking 6 10-31-2007 10:42 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration