Case:
Web server: domain name www.abc.com IP: 192.168.21.129 China Telecom single line access
Users: Telecom broadband users and mobile broadband users
Problem: 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
All the files on my site are static HTML, so in order to speed up the speed of the web, I use squid to implement the reverse proxy caching function.
@ Install Squid
To be lazy, use the ports installation directly, because I have all the server systems installed in the/s partition, so set the prefix to/s/squid
# Cd/u
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
1. Squid reverse proxy single background Web server
A, if the Web server and the reverse proxy server are two separate machines (the general reverse proxy should have two network cards are connected to the internal and external network respectively). Then, you should modify the following to set up the reverse
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Download the squid of windwosnt: HTTP://Squid. acmeconsulting. it/Download/Squid-2.6. Stable13-Bin.zip 1. Put squid-2.6. Stable13-Decompress bin.zip and copy the squid folder
Install squid proxy server for Linux installation1. Case topology Diagramsystem centos6.5 Software sarg-2.3.7.tar.gz squid-3.4.6.tar.gz650) this.width=650; "style=" Float:none; "title=" Picture 1.png "src=" https://s2.51cto.com/wyfs02/M02/9A/46/ Wkiom1ltlvqs3zkpaaazzye7kyo804.png "alt=" Wkiom1ltlvqs3zkpaaazzye7kyo804.png "/>2. Case Requirements(1) If you need to
Proxy server, there is no need to introduce, simply say the installation process. At the beginning of the hosting24 above, installation, how the installation has not been successful, replaced by Linode, half an hour on the deal, Guess hosting24 the agent made restrictions.
One, server description
A foreign VPS (recommended Linode), service-side squid
A company's internal PC, can access the external netwo
1. Download and install squid for Windows
Download the squid of windwosnt:
Http://squid.acmeconsulting.it/download/squid-2.6.STABLE13-bin.zip
1. Decompress squid-2.6.stable13-bin.zip and copy the squid folder to C:/(squid is C:/
A simple record of squid transparent proxy server configuration
Environment: VirtualBox + CentOS 6.0 + squid-3.1.4-1.el6.i686
0, check squid is installed by default, no installation of the first installation
The code is as follows:
[Root@slyar ~]# Rpm-qa Squid
The reverse proxy can be divided into two types in transmission:
1: Synchronous mode (apache-mod_proxy and squid)
2: asynchronous mode (Lighttpd and nginx)
In the nginx documentation, I mentioned the asynchronous transmission mode and mentioned that it can reduce the number of backend connections and pressure. Why?
Next, let's take a look at the differences between synchronous transmission of tradit
Squid proxy string processing Null Pointer Reference Vulnerability
Release date: 2010-09-03Updated on: 2010-09-07
Affected Systems:Squid Web Proxy Cache 3.2Squid Web Proxy Cache 3.1Squid Web Proxy Cache 3.0Unaffected system:Squid Web Pro
Squid agent is divided into "forward proxy" and "reverse proxy".The "Forward proxy" is mainly used for proxy users to access the external network, to manage the user's access behavior and to save the bandwidth (the/data/cache directory holds the cache of user access, and whe
Tags: proxy server firewall squid
1. Traditional proxy
Traditional proxies can hide IP addresses mostly for the Internet.
In Linux, squid is not installed by default. Therefore, you must install the support for the Perl Language Pack in red hat.
The Squid
The Squid software required to install the proxyYum-y Install SquidSecond, the configuration file location/etc/squid/squid.conf#默认配置文件是可以代理所有私网地址的, add your own if you have additional addressesThird, turn on the cache functionCache_dir UFS/VAR/SPOOL/SQUID 100 16 256#默认改行是被注释掉的, if you need to turn on the cache, remove the comment.Four, open the authentication fun
to use squid after 2 hours, you must re-enter the account and password
Auth_param basic realm This is a Squid porxy-cachingThe auth_param basic realm option defines the domain content displayed when a user logs on, similar to the Apache membership authentication.
Acl auth_user proxy_auth REQUIREDHttp_accel allow auth_userDefine an ACL named auth_user. The ACL type is proxy_auth. Use an external program to
In Ubuntu, use Squid to set a server as a proxy server. first install squidsudoapt-getinstallsquid and then check that squid is installed there and whereissquid is used to modify the squid Configuration file sudogedit/etc/squid. conf and then go to # Andfinallydenyallother U
Tags: Internet service configuration file, Internet Explorer, Proxy Server
Experiment topology:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/13/wKioL1RKOo6AXrJzAAKMWnZ2NlI216.jpg "Title =" three virtual machines, one router as the Internet "alt =" wkiol1rkoo6ax1_zaakmwnz2nli216.jpg "/> requirement: Configure iptables policies to share the Internet with SNAT
Configure the Squid
As shown in the network configuration, Squid uses CentOS5.8 + squid, and the web server uses FreeBSD + nginx for testing. The local network uses VMnet1 for simulation, the public network uses VMnet2 for simulation, and the IP address is planned as shown in figure. First install the web server and select Vmnet2.pkg _ add -...
As shown in the network configuration, Squid
Configuring squid proxy for http and rsync is too bad. In what time, the CPU is 4, and the memory is only 1.5 gb ddr. Fortunately, there is USB. It's no fun to install gentoo on a virtual machine. The CPU does not support VT-x and is 32-bit. ubuntu running 32-bit virtualbox is almost slow. Scan the IDC network one day and find an available server, Zhiqiang E7520, good guy, dual-channel, 16-core, 16 GB. It's
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.