Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The difference between reverse proxy ip and forward proxy

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

What this article shares to you is about the difference between reverse proxy ip and forward proxy. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

1. Forward agent

Most of the discussion of network agents involves type agents called "forward agents." The proxy event in this case is a "forward agent" that retrieves data from another site on behalf of the original requestor.

The Story of three computers (part I)

For example, I will list three computers connected to Internet.

X = your computer, or a "client" computer on Internet

Y = proxy website, http://http.taiyangruanjian.com/?utm-source=wltg&utm-keyword=?03 Magi Z = the website you want to visit, usually, people will go directly from X-> Z.

However, in some cases, Y-> Z represents a better X, and the link is as follows: X-- > Y-- > Z.

The reason why X wants to use the forwarding proxy server:

This is a list of the (very) parts used by the forwarding proxy server.

X cannot access Z directly because

A) the person with administrative rights to the XInternet connection decides to block all access to the site. Example: the Storm Worm virus spreads familypostcards2008.com by luring people to visit, so the system administrator has blocked access to the site to prevent users from inadvertently infecting themselves. Employees of a large company waste too much time on facebook.com, so management wants to block access during working hours. A local primary school is not allowed to access the playboy.com website through the Internet. The government has no control over the release of news, so it blocks things such as wikipedia.org. See administrator Z of TO or FreeNetb) has shielded X. Example: the administrator of Z noticed the hacker attempt from X, so the administrator decided to block the IP address (and / or network scope) of X. Z is a forum website. X is sending spam to the forum. Z blocks X.

two。 Reverse proxy

The difference from forwarding Agent is that this time user X does not know that he is visiting Y. Reverse proxies are usually more invisible than forwarding proxies and do not require configuration or special knowledge for customers, X.

The Story of three computers (part two)

For this example, I will list three computers connected to the Internet.

X = your computer, or a "client" computer on Internet

Y = reverse proxy website, http://http.taiyangruanjian.com/?utm-source=wltg&utm-keyword=?03 Magi Z = the website you want to visit usually, people will go directly from X-> Z.

However, in some cases, it is best for the administrator Z to restrict or prohibit direct access and force visitors to pass through Y. So, as before, we must represent X through the retrieved data Y-> Z, and the chain is as follows: X-- > Y-- > Z.

The difference between this time and the forwarding agent is that user X does not know that he is visiting Y. Reverse proxies are usually more invisible than forwarding proxies and do not require configuration or special knowledge for customers, X.

Customer X may think of him as Z direct access (X-> Z), but the reality is that Y is an invisible middleman (X-> Y-- > Z again).

The reason why Z wants to set up a reverse proxy server:

Z wants to force all traffic on his site to pass through Y first. A) Z has a large website that millions of people want to see, but a single Web server cannot handle all the traffic. As a result, Z sets up a number of servers and places a reverse proxy on Internet that sends users to the nearest server when users try to access Z. This is part of the conceptual working principle of the content delivery Network (CDN). Example: Apple Trailers uses Akamai jQuery to host its javascript file using CloudFront CDN (example). Wait.

The administrator of Z is worried about retaliation for the content hosted on the server and does not want to expose the primary server directly to the public. A) owners of spam brands such as "Canadian Pharmacy" seem to own thousands of servers, when in fact most websites are hosted on fewer servers. In addition, complaints about spam abuse only shut down the public server, not the primary server.

The above is the difference between reverse proxy ip and forward proxy. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report