LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2012, 05:29 AM   #1
elvis91
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
SQUID Server Configuration


how does SQUID Server work....?? What are the steps for configuring SQUID Server...??
 
Old 02-03-2012, 05:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
we are not a human library for you, there is plenty of documentation out there, the visolve.com website is very useful, just have a google first and when you have *SPECIFIC* questions, please ask again.
 
Old 02-03-2012, 10:32 AM   #3
jeanCarloMachado
LQ Newbie
 
Registered: Jul 2011
Location: Carlos Barbosa Brazil
Distribution: CentOS
Posts: 19

Rep: Reputation: 0
Squid basical

how does SQUID Server work....?? What are the steps for configuring SQUID Server...??

Hello Elvis

Squid is the main unix proxy server he works getting all packages requisitions of a network and saving it from further requisitions to the same.

squid configuration file stays on /etc/squid/squid.conf:
This is the mine simpel squid.conf

#SQUID CONFIGURATION:
http_port 3128 #here you enable the squid port to the other browser access this port you need to put on the other browsers proxy configuration tab.
visible_hostname jean-HP-Pavilion-dm4-Notebook-PC #your hostname
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 #http
acl Safe_ports port 21 #ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 #wais
acl Safe_ports port 280 #http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 #filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 #swat
acl Safe_ports port 1025-65535 # high ports
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

#to problematic sites:
# acl site dstdomain siteproblematico.com
# always_direct allow site

acl redelocal src 192.168.1.0/24
http_access allow localhost
http_access allow redelocal

http_access deny all

http_access allow localhost
http_access allow redelocal

You need to allow groups after deny others
example:

http_access allow users192
http_access deny users192


Will enable users192 because you had already allow it.
Resuming. All the configuration of squid is on his owner /etc/squid/squid.conf there you could find all that you need to up a secure server.
 
Old 02-04-2012, 02:42 PM   #4
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Rep: Reputation: 8
i have a great book if you interested !
 
  


Reply


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 configuration for icap server Tahir Saleh Linux - Networking 0 09-06-2011 01:09 AM
Regarding Squid server configuration dhiman.manish23 Linux - Networking 1 06-12-2011 02:54 PM
Problem with configuration of Squid server behind a squid ajitup Linux - Server 13 08-12-2009 11:55 PM
Squid Configuration for a Server which is also under Proxy hepfpklk Linux - Server 8 06-11-2009 12:49 PM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 AM.

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