Introduction to Proxy Server Knowledge
Summary:As a network administrator, how do you effectively manage your network? Although many network management tools can help you, the most effective one is…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
As a network administrator, how do you effectively manage your network? Although many network management tools can help you, the most effective one is to establish a proxy server to filter out illegal information. Therefore, as network administrators, we need to have knowledge about proxy servers.
Today, we will mainly introduce to readers when to use proxies and what types of proxy services are available.
1、 When will the proxy be used
As the name suggests, a proxy is a service that helps you access the internet. As a network administrator, what is the use of a proxy? Our company has several data centers that used to use shared connections with operating systems to access the network. However, in practice, we have found that many internet users frequently run illegal programs, viruses, and hacking tools are everywhere, and some even play online games during working hours.
How can these behaviors be prohibited?
Proxy servers can provide assistance. After installing ISA2000 on the server at the company's network exit, I enabled its proxy function. As a result, computers in the data center can only access web information through IE browser, and games and chat tools cannot be used normally. Therefore, proxy servers are widely used in practical work, as they can help us administrators effectively manage network resources.
Tip: The working mechanism of a proxy server is very similar to the agents we often mention in our daily lives. Assuming your own machine is machine A, the data you want to obtain is provided by server B, and the proxy server is C. In actual work, machine A needs data from machine B. A directly establishes a connection with machine C. After receiving the data request from machine A, machine C establishes a connection with machine B, downloads the data requested by machine A from machine B locally, and then sends this data to machine A to complete the proxy task.
2、 Types of Agents
There are many types of agents, and there are also many ways to divide them. We will explain it one by one.
1. Transparent proxy and traditional proxy:
According to the setting method of proxy, it can be divided into transparent proxy and traditional proxy.
(1) Transparent proxy is essentially a type of DNAT, similar to the declaring host in NAT. It mainly refers to the communication between internal and external networks when internal hosts need to access external hosts without any settings, completely unaware of the existence of firewalls. But the basic principle is that the firewall replaces the internal network host to complete communication with the external network host, and then returns the result to the internal network host. In this process, neither the internal network host nor the external network host realizes that they are actually communicating with the firewall. However, only the firewall can be seen from the external network, which hides the internal network and improves security.
(2) The working principle of traditional proxy is similar to that of transparent proxy, but the difference is that it requires setting up a proxy server on the client side. We often use traditional proxies to set up proxy servers in IE browser.
Some readers may still have doubts, so I will teach you a good memory method. That is to say, if you have set up a proxy on your local computer, you are using a traditional proxy. If the local computer has not set it up and all the setup work is performed on the router or server, the proxy method you use is transparent proxy.
2. HTTP proxy, FTP proxy, SOCKS proxy:
There are many types of proxy servers, some of which only provide certain services. For example, HTTP proxy only provides HTTP proxy services, and users using HTTP proxy can only access websites and pages through the proxy, and cannot access FTP sites. According to the different proxies providing services, they are divided into HTTP proxies, FTP proxies, SOCKS proxies, etc.
(1) HTTP proxy: capable of proxy client HTTP access, mainly proxy browser access to web pages, its ports are generally 80, 8080, 3128, etc.
(2) FTP proxy: It can proxy the FTP software on the client machine to access the FTP server, and its ports are generally 21 and 2121.
(3) RTSP Proxy: A proxy for Realplayer on the client to access the Real streaming server, typically with port 554.
(4) POP3 proxy: The email software on the proxy client sends and receives emails in POP3 mode, with a port of usually 110.
(5) SSL Proxy: Supports HTTP proxy with up to 128 bit encryption strength and can serve as a proxy for accessing encrypted websites. An encrypted website refers to a website that starts with https://. The standard port for SSL is 443.
(6) Telnet Proxy: A Telnet proxy that can act as a proxy for communication machines, used for remote control and frequently used in case of intrusion. Its port is usually 23.
(7) SOCKS proxy: SOCKS proxy is different from other types of proxies in that it simply passes data packets without caring about the application protocol. It can be HTTP requests or other requests such as FTP, so SOCKS proxy servers are much faster than other types of proxy servers. Its standard port is 1080.
Tip: SOCKS proxies are divided into SOCKS4 and SOCKS5. The difference between the two is that SOCKS4 proxies only support TCP protocol, while SOCKS5 proxies support both TCP protocol and UDP protocol, as well as various authentication mechanisms and server-side domain name resolution. All SOCKS5 that SOCK4 can achieve can be obtained, but SOCKS that SOCKS5 can achieve may not be achievable. For example, our commonly used chat tool QQ requires the use of SOCKS5 proxy when using a proxy because it requires the use of UDP protocol to transmit data.
3. Anonymous proxy:
If classified from the level of hidden proxy users, proxies can be divided into three types: highly anonymous proxies, ordinary anonymous proxies, and transparent proxies.
(1) Highly anonymous proxy does not alter the client's request, making it appear to the server as if a real client browser is accessing it. At this point, the client's real IP is hidden, and the server will not assume that we are using a proxy.
(2) A regular anonymous proxy can hide the client's real IP, but it can alter our request information, and the server may assume that we are using a proxy. However, when using this proxy, although the visited website cannot know your IP address, it can still know that you are using the proxy. Of course, some web pages that can detect IP can still find your IP address.
(3) Transparent proxy not only changes our request information, but also transmits the real IP address.
The level of concealment of proxy identity among the three is as follows: highly anonymous proxy is the most concealed, followed by ordinary anonymous proxy, and the worst is transparent proxy.
Tip: The transparent proxy mentioned here is named based on anonymity, while the transparent proxy mentioned above is distinguished based on the enabled proxy method. The two are different and cannot be mixed together.
Summary: When establishing a proxy server in practical work, it is important to first consider the type of proxy you want to establish. Different types of agents are applicable to different situations and cannot be discussed in the same way
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

