Forward proxy and Reverse proxy table of Contents
Forward Proxy
Reverse Proxy
Difference between the two
Original: http://jingyan.baidu.com/article/f54ae2fcd895b81e93b84973.htmlForward ProxySimply put, I am a
user as his content, but the user does not know it is normal, the user is generally very stupid, mentioned here Ooxx This domain corresponds to the server set up the reverse proxy function, the conclusion is reverse proxy is just the opposite, for the client it is like the original server, and the client does not need
(1). The concept of a forward proxyForward agent, that is, the legendary agent, he works like a springboard, simply said, I am a user, I can not access a website, but I have access to a proxy server, the proxy server, he can access the site I can not access, so I first connected to the proxy server, Tell him I need the content of the inaccessible site, the
reverse proxy
Continue with examples:Example user Access Http://ooxx.me/readmeBut there's no Readme page on ooxx.me.He was secretly taken back from another server and then spit it out to the user as his own content.
But the user does not knowThis is normal, the user is generally very stupid
The ooxx.me mentioned here has the reverse
1.Concept of forward proxy
Forward proxyIsOrigin server)To get content from the original server, the client sends a request to the proxy and specifies the target (original server ), then the proxy transfers the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward
client must make some special settings to use the forward proxy.
The concept of reverse proxy
Continue with examples:
Example user Access Http://ooxx.me/readme
But there's no Readme page on ooxx.me.
He was secretly taken back from another server and then spit it out to the user as his own content.
But the user does not know
This is normal, the user is generally
setBlock, All"Via:"The first line will be deleted. There will be no new"Via:"Header.
1
The proxy can be used on the local machine.
1.2 browser settings (taking Firefox as an example)
1.3 access results
Visit www.sina.com and observe the HTTP request response:
We can see that via: www.test.com, the forward proxy is successful.
2. Reverse
reverse proxy
Continue with examples:Example user Access Http://ooxx.me/readmeBut there's no Readme page on ooxx.me.He was secretly taken back from another server and then spit it out to the user as his own content.
But the user does not knowThis is normal, the user is generally very stupid
The ooxx.me mentioned here has the reverse
A forward proxy is also a legendary proxy. It works like a stepping stone. Simply put, I am a user and cannot access a website, but I can access a proxy server, which can access a website that I cannot access. So I first connect to the proxy server, tell him that I need the content
Remote Assistance Based on ssh reverse proxy and ssh reverse assistance
This article describes how to implement remote assistance through ssh reverse proxy and provides relevant code.
After Remote Assistance is enabled on the web, maintenance personnel can log on to the cust
What is an agent?Agent is for network users to proxy the network, such as Google Agent Fq.What is a reverse proxy?A proxy server that accepts connection requests on the Internet, then forwards the request to a server on the internal network, and returns the results from the server to the client requesting a connection
The usual proxy server, which is the forward proxy, is used only for proxy connection requests from the internal network to the Internet, and the client must specify a proxy server and send HTTP requests that would otherwise be sent directly to the Web server to the proxy se
: This article mainly introduces Nginx forward proxy and reverse proxy. For more information about PHP tutorials, see. Three roles
Client
Proxy Server
Target server
Forward proxy
The target server is visible to the client (whether or not the
About the agent, read some of the content, but the talk is particularly around, good confused. Suddenly understand, just don't know right forward proxy settings in the client, proxy server instead of the client to access the application server in the client settings agent, access to the normal access to the site. Servers can only find the proxy server layer, and
What is Nginx?Nginx (engine x) is a high-performance HTTP and reverse proxy server, also a IMAP/POP3/SMTP server.Nginx is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy server that is released under a bsd-like protocol. It is characterized by the
A forward proxy is a server that is located between the client and the original server (Origin server), in order to obtain content from the original server, the client sends a request to the agent and specifies the target (the original server), and the agent forwards the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward proxy.Reverse
To sum up is:1, the agent when the client knows the server, through the proxy to access the server, then the agent is the server2, reverse proxy when the client does not know the server side, the server knows the client, through the proxy to access the server, then the agent is the clientThe concept of a forward proxyT
Simple Comprehension
Agent
The agent is the client.
Reverse proxy
The agent is the service side.
A more detailed description
Agent
For example, client C needs to access site B, but because B is wall, C cannot be accessed directly, but there is another intermediate client p, he can turn over the wall
Forward proxy is a client and originalServerTo get content from the original server, the client sends a request to the proxy and specifies the target (original server ), then the proxy transfers the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward
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.