Simple reverse proxy implementation based on CentOS
Source: Internet
Author: User
The topology of a simple reverse proxy is basically the same as that of a common proxy server. com1.squid server-& gt; override squid. conf-& gt; http_port200.98.10.1: 80vhost-& gt; visible_hostname200.98.10.1-& gt; aclall...
The topology of a simple reverse proxy is basically the same as that of a common proxy server.
1. squid server-> override squid. conf-> http_port 200.98.10.1: 80 vhost-> visible_hostname 200.98.10.1-> acl all src 0.0.0.0/0.0.0.0-> http_access allow all-> cache_peer 192.168.3.2 parent 80 0 originserver
-> Reconfigure the port-> # ifconfig eth0 200.98.10.1 up-> # ifconfig eth1 192.168.3.1 up-> re-apply squid-> # squid-k reconfig
Www.2cto.com 2. web server-> ifconfig le0 192.168.3.2 up3. the client machine is changed to a public ip address and accessed successfully ~
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