• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
From Linux Home Networking
Forums | Corrections | About (c) Peter Harrison
Search
Quick HOWTO : Ch32 : Controlling Web Access with Squid
Contents
1Sponsors
2Introduction
3Download and Install The Squid Package
4Starting Squid
5The /etc/squid/squid.conf File
5.1The Visible Host Name
5.2Access Control Lists
5.3Restricting Web Access By Time
5.4Restricting Access to specific Web sites
5.5Restricting Web Access By IP Address
5.6Password Authentication Using NCSA
6Forcing Users To Use Your Squid Server
6.1Making Your Squid Server Transparent To Users
6.1.1Squid Transparent Proxy Configuration
Ads by Google
Your LinuxLinux HowtoIE for LinuxGiant Squid
 
www.Plixer.comFeedback - Ads b Goole
 
Sponsors
Introduction
Two important goals of many small businesses are to:
Reduce Internet bandwidth charges
Limit access to the Web to only authorized users.The Squid web caching proxy server can achieve both these goals fairly easily.Users configure their web browsers to use the Squid proxy server instead of going to the web directly. The Squid server then checks its web cache forthe web information requested by the user. It will return any matching information that finds in its cache, and if not, it will go to the web to find it onbehalf of the user. Once it finds the information, it will populate its cache with it and also forward it to the user's web browser.
6.1.2Configuring iptables to Support the Squid Transparent Proxy
6.2Manually Configuring Web Browsers To Use Your Squid Server
7Squid Disk Usage
8Troubleshooting Squid
9Conclusion
www.SolarWinds.comFeedback - Ads b Google
 
As you can see, this reduces the amount of data accessed from the web. Another advantage is that you can configure your firewall to only acceptHTTP web traffic from the Squid server and no one else. Squid can then be configured to request usernames and passwords for each user that usersits services. This provides simple access control to the Internet.
Download and Install The Squid Package
Most RedHat Linux software products are available in the RPM format. Downloading and installing RPMs isn't hard. If you need a refresher,Chapter 6, "Installing Linux Software", provides details. It is best to use the latest version of Squid.
Starting Squid
Use the chkconfig configure Squid to start at boot::Use the service command to start, stop, and restart Squid after booting:You can test whether the Squid process is running with the pgrep command:You should get a response of plain old process ID numbers.
The /etc/squid/squid.conf File
The main Squid configuration file is squid.conf, and, like most Linux applications, Squid needs to be restarted for changes to the configuration filecan take effect.
[root@bigboy tmp]# chkconfig squid on[root@bigboy tmp]# service squid start[root@bigboy tmp]# service squid stop[root@bigboy tmp]# service squid restart[root@bigboy tmp]# pgrep squid
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...