Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-12-2004, 07:51 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 27

Rep: Reputation: 15
Question Special config of SQUID ??

Hello , all

I have a LAN connected with a LINUX box to Internet that allow the LAN's users to connect only to 10-20 web servers on Internet ( by using iptable & netfilter ).
One of that web servers acts as both web server and free proxy server. And I want to block my users from accessing that free proxy server but allowing them to view that web.

My question is: how can I configure the squid or suidguard or other things on that LINUX box( this box is my LAN's gateway to Internet.)

Old 12-13-2004, 05:17 AM   #2
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
the acl section in squid.conf file should make your day.

The anonymizer you want to prevent access to being (probably) a virtual host on a server, if you wish to allow access to other virtual hosts on the same server you must use squid's name-based acl's, instead of ip filtering.

first you create the acl :

acl no_way dstdomain
(no_way can be any name you choose and isjust an example)

then you create the rule (what to do with requests to domain

http_access deny no_way

the order in which acl rules are processed is (of course) important. Refer to comments in squid distribution config file.

One more tip : you may customize the messages sent by squid to the client browser... Try "Big Brother is watching you !" for a moment of fun ;-)


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 config kernelvn Linux - Networking 1 07-15-2005 06:10 AM
Squid Config Help krishvij Linux - Networking 6 04-28-2005 10:41 PM
how to config squid thetzawko Linux - Networking 1 03-04-2005 06:34 AM
INFO: creating a special secured kernel (grsecurity kernel patch) w sysctl config markus1982 Linux - Security 0 05-25-2003 05:29 AM
squid deaktivate logging for a special ip saavik Linux - Software 0 04-14-2003 07:40 AM

All times are GMT -5. The time now is 03:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration