This is the 25th day of my participation in the August Genwen Challenge.More challenges in August !
define
Proxy Server is an important Server security function. It mainly works in the session layer of OSI model and acts as a firewall. Proxy servers are mostly used to connect to the INTERNET and intranets
classification
Forward agent
Is a server (proxy server) that sits between a client and a target server. To get content from the target server, the client sends a request to the proxy server and specifies the target. The proxy server forwards the request to the target server and returns the content to the client
USES:
-
Access to resources (such as foreign websites) that would otherwise be inaccessible
-
Improve access speed, you can do cache, speed up access to resources
-
Authorize client access and authenticate Internet access
-
The proxy can record user access records (online behavior management), so it can hide user information externally
The reverse proxy
The actual operation mode of reverse proxy is that the proxy server receives the Internet connection request, forwards the request to the internal network server, and returns the result obtained from the server to the Internet client. In this case, the proxy server acts as a server externally
USES:
-
Hide the real SERVER IP address
-
Load balancing
The reverse proxy server can perform load balancing and distribute client requests to different real servers based on the load of all real servers
-
Increase access speed
The reverse proxy server can cache static content and dynamic content that has a large number of access requests in a short time to improve access speed.
-
Provide security
The reverse proxy server functions as an application-layer firewall to protect Web sites from web-based attacks, such as DoS and DDoS, making it easier to check malicious software. It also provides encryption and SSL acceleration (such as SSL terminal proxy) and HTTP access authentication for back-end servers
Forward proxy and reverse proxy differences:
The forward proxy is the proxy between the client and all other servers (responsible to the client), while the reverse proxy is the proxy between the client and the server to be proxy (responsible to the proxy’s server)
- USES:
The typical use of a forward proxy is to provide LAN clients within a firewall with access to the Internet. Forward proxies can also use buffering features to reduce network utilization. The typical use of a reverse proxy is to provide Internet users with access to a server behind a firewall. Reverse proxies can also provide load balancing for multiple servers on the back end, or buffering for servers on the back end that are slower
In addition, the reverse proxy enables advanced URL policies and management techniques so that web pages in different Web server systems reside in the same URL space
- Security:
A forward proxy allows clients to access any web site through it and hide the client itself, so you must take security measures to ensure that only authorized clients are served. Reverse proxies are transparent to the outside world, and visitors do not know that they are accessing a proxy
Transparent proxy
Transparent proxy means that the client does not need to know about the presence of a proxy server, which ADAPTS your request fields and delivers real IP addresses
Note that the encrypted transparent proxy is an anonymous proxy, meaning that the proxy is not set to use