Build Linux safe Squid Proxy server

Source: Internet
Author: User
Tags version access squid proxy backup linux

Proxy server is the function of network users to obtain network information, it is a transit point for network information. With the widespread use of proxy servers, a series of security issues followed. Because there is no comprehensive and meticulous configuration of the access control policy of proxy server, the user can access many pornographic and reactionary illegal sites through proxy server at will, and these behaviors are often difficult to trace, which brings great inconvenience to the management work.

Squid is the next Linux proxy Server software that caches Internet data, receives users ' download requests, and processes downloaded data automatically. In other words, when a user wants to download a home page, can send a request to squid, squid in lieu of it to download, and then squid connection to the application site and request the home page, and then the home page to the user to keep a backup. When another user applies for the same page, squid passes the saved backup to the user immediately, making the user feel very fast. At present, squid can proxy http, FTP, GOPHER, SSL and WAIS protocol, temporarily can not proxy POP3, NNTP and other protocols. Squid can work in a number of fields, such as AIX, Digital, Unix, FreeBSD, HP-UX, Irix, Linux, NetBSD, Nextstep, SCO, Solaris, OS/2, and so on. Operating system

Installing and configuring Squidserver

Usually, there are two ways to install squid: one is to obtain the software from the RedHatLinux9 RPM package, and the second is to install the official site from squid http://www.squid-cache.org/download the software source for the compilation and installation. At present, the latest stable version of the internet is squid-2.5.stable10, the following is an example of this version of the two installation methods introduced.

Squid Server Working principle diagram

1. Installation of RPM Package

First, check to see if squid has been installed:

#rpm-qa|grepsquid

REDHATLINUX9 with squid installation package, put the first CD-ROM into the optical drive and mount the disc partition:

Zebian: Bean Technology Application



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.