Build a secure LinuxSquid Proxy Server

Source: Internet
Author: User
Article Title: Build a secure LinuxSquid proxy server. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The proxy server is used to obtain network information from a proxy network user. It is a transfer station for network information. With the widespread use of proxy servers, a series of security problems emerge. Because the access control policy of the proxy server is not configured in detail, users can freely access many pornographic and reactionary illegal sites through the proxy server, these actions are often difficult to track and cause great inconvenience to management.

Squid is the agent server software for caching Internet Data in Linux. It receives user download requests and automatically processes the downloaded data. That is to say, when a user wants to download a home page, he can send an application to Squid to download it instead of Squid. Then Squid connects to the requested website and requests the home page, the home page is sent to the user and a backup is retained. When another user applies for the same page, Squid immediately transmits the saved backup to the user, making the user feel that the speed is quite fast. Currently, Squid can proxy HTTP, FTP, GOPHER, SSL, and WAIS protocols. It cannot proxy POP3, NNTP, and other protocols. Squid can work in many ways, such as AIX, Digital, Unix, FreeBSD, HP-UX, Irix, Linux, NetBSD, Nextstep, SCO, Solaris, OS/2, etc. Operating System

Install and configure SquidServer

Generally, there are two ways to install Squid: one is to obtain the RPM package of the software from RedHatLinux9; the other is to install the source code of the software from the official site of Squid http://www.squid-cache.org. The latest stable version of the current online for the squid-2.5.STABLE10, the following version as an example to introduce the two installation methods.

Working principle of Squid Server

1. Install the RPM package

First, check whether squid has been installed:

# Rpm-qa | grepsquid

RedHatLinux9 comes with the Squid installation package. Place the first installation disc into the optical drive and mount the disc partition:

[1] [2] [3] [4] [5] [6] [7] [8] Next page

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.