This section briefly introduces the configuration of the proxy server squid, which has previously recorded the reverse proxy configuration, but is more widely used in the production environment for proxy and forward transparent proxy, this is also the focus of the RHCE test
Article Title: Set up a Squid 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.
Author: D.S. Oberoi
Is Squid already installed?
The Squid rpm file has been bundled wi
Case:Web server: domain name www.abc.com IP: 192.168.21.129 China Telecom single line accessUsers: Telecom broadband users and mobile broadband usersProblem: telecom users can access www.abc.com normally. Mobile users can access www.abc.com very slowly or even not.Solution: place a CDN proxy server in the mobile data center. through intelligent DNS resolution, telecom users can directly access the Web server and mobile users can access the CDN
November 26, 2011? Web server architecture? Number of reviews 2 web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line access Access users: Telecom broadband users, Mobile broadband users solution: Place a CDN proxy server in the mobile room, Through intelligent DNS resolution, let telecom users access the Web server directly, let mobile users access the CDN Proxy server, solve the p
SQUID proxy server for user authentication
SQUID and MYSQL are installed using the binary installation package released by SUN, which can be found in software_companion_x86 CD; and MYSQL_AUTH can be found by GOOGLE search.
1. install and configure SQUID + MYSQL
1. create Users and Groups# Groupadd
Squid reverse proxy working principle when a user's browser sends an HTTP request, the request is directed to the reverse proxy server through domain name resolution (if you want to implement reverse proxy for multiple WEB servers, you need to direct the domain names of multiple WEB servers to the reverse
Brief introduction:Squid reverse proxy is often used for server side, Client access Squid Proxy Server 80 port, Squid Proxy Server according to the configuration to request the backend Web server,The requested information is then saved locally and passed back to the client,
Objective:
This paper mainly introduces the use of Squid and Squidguard configuration Proxy server in Linux, with the WWW Proxy service as an example to explain how to filter harmful sites and restrict users ' access to the Internet.
I. INTRODUCTION
Squid is the most popular pro
Common configurations of squid Proxy
Squid. conf is the main configuration file of squid. Common configuration items include:
Http_port 192.168.8.88: 3128
# Specify the listening port and IP address
Cache_mem 64 MB
# Set the memory size used for caching,
# MB can be used to save frequently accessed web pages.
Maximum_o
As a free network operating system, Linux is more and more popular with the network enthusiasts, the current Internet run a large number of hosts are Linux, and China has to Linux as a government Internet designated network operating system. There are signs that Linux is gradually maturing.
In order to solve the contradiction between the rapid development of Internet and the resource tension of IP address, proxy server is used more and more widely.
1. Install squid-2.5Groupadd squidUseradd? G squidRpm? Ivh squid-2.5.STABLE3-3.3E.i386.rpmIi. Configure squid. conf:# Set the proxy port of SQUID (with the IP address added, Squid will not listen to external network interfaces)Htt
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecommunications broadband users, mobile broadband usersProblems: Telecommunications users open www.abc.com Normal, mobile users open www.abc.com very slow, or even openSolution: Place a CDN proxy server in the mobile computer room, through the intelligent DNS resolution, let the telecommunication user directly access the Web server, let the mobile use
squid:squid/data/cache/# squid-z2013/06/12 16:25:14| Creating Swap Directories2013/06/12 16:25:14| /data/cache existsOK, after the initialization is complete, squid can be started:#/etc/init.d/squid StartStarting squid:.Test:1. Use IE to test, set proxy IP and port, open We
Squid Reverse proxy)Reverse Proxy also provides cache acceleration, but the service object is reversed.Traditional and transparent proxies mostly provide cache proxies for LAN users to access web sites on the Internet;Reverse Proxy, on the contrary, provides cache acceleration for internet users to access web sites in
relatively safe and reliable method. Through the establishment of a dedicated WWW (FTP) agent to meet the user's main needs, through the erection of SOCKS5 agents to meet the needs of users.
Second, hardware and software selection
Hardware
Cache server can be a common PC server plus cache software (such as squid, Inktomi) composition, can also be a hardware and software system and a dedicated cache server. According to the actual situation of the
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecom broadband users, mobile broadband usersProblems: Telecom users open www.abc.com Normal, mobile users open www.abc.com very slow, even can't openSolution: Put a CDN proxy server in the mobile room, through the intelligent DNS resolution, let the telecom users directly access the Web server, let mobile users access the CDN
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.