2023 Use self-built V2RAY to surf the Internet quickly (1) - VPS option
2023-04-07 · 351 · 13 min# Preface
This article mainly explains how to choose a suitable VPS, and how to test to find a vps that suits you. As for how to install, debug and deploy, I will explain it separately later.
# 1. How to choose a suitable VPS server
1.1. The geographical location of the server
First of all, we need to choose a VPS server with low latency. The relationship between delay and geographical location in the process of connecting to the server is a very common network knowledge, which can be simply understood as "time delay caused by physical distance". When we use a computer to connect to a network service located on a VPS server, the data packet needs to travel a certain distance to reach the server, and this process will cause a delay in data transmission, that is, network latency (Latency).
Specifically, network latency actually consists of two components: transmission latency and processing latency. Transmission delay refers to the time required for network data packets from sending to receiving, which is mainly formed by the influence of transmission speed caused by network bandwidth and distance. Processing latency is the time it takes for a packet to be processed on the server.
The following is the delay data in milliseconds (ms) from some major network centers around the world to Shanghai, China, for reference only.
North America New York, USA: 170-180 Chicago, USA: 190-200 Los Angeles, USA: 170-180 Toronto, Canada: 240-250 Seattle, USA: 200-210 San Francisco, USA: 170-180 Dallas, USA: 210-220 Portland, USA: 210-220 Washington, USA: 210-220 Mexico City, Mexico: 260-270
South America Sao Paulo, Brazil: 250-260 Buenos Aires, Argentina: 310-320 Lima, Peru: 260-270 Bogota, Colombia: 280-290 Santiago, Chile: 250-260 Quito, Ecuador: 280-290 Caracas, Venezuela: 360-370 La Paz, Bolivia: 310-320 Asuncion, Paraguay: 300-310 Montevideo, Uruguay: 270-280
Europe London, UK: 200-210 Paris, France: 220-230 Frankfurt, Germany: 210-220 Amsterdam, Netherlands: 220-230 Zurich, Switzerland: 250-260 Stockholm, Sweden: 240-250 Moscow, Russia: 270-280 Madrid, Spain: 270-280 Milan, Italy: 260-270 Dublin, Ireland: 260-270
Asia Tokyo, Japan: 35-45 Hong Kong, China: 30-50 Seoul, South Korea: 60-70 Singapore: 70-80 Bangkok, Thailand: 70-80 Kuala Lumpur, Malaysia: 110-120 Manila, Philippines: 130-140 Mumbai, India: 170-180
Oceania Sydney, Australia: 175-185 Auckland, New Zealand: 205-215 Brisbane, Australia: 140-150 Melbourne, Australia: 180-190 Perth, Australia: 240-250 Wellington, New Zealand: 220-230
1.2. Server speed
The speed of a VPS service is critical to a user's experience as many users interact with content on the internet through a VPS. If the VPS server is slow, users will experience weak signal, high latency, and seriously affect the network experience. Faster server speeds mean watching videos in real time, downloading files smoothly, browsing the web quickly, and more.
When choosing a VPS service provider, server speed limitations should be considered to get the best V2ray performance without sacrificing advanced security. Overall, faster and sufficient bandwidth can provide users with a better V2ray experience.
1.3. Server stability and reliability
Broadband refers to the maximum speed at which the server can transmit data. For V2ray applications, the bandwidth of the server will directly affect the speed and stability of V2ray.
When V2ray transmits data, the bandwidth of the server will become the bottleneck of the data. If the bandwidth of the server is too small, the speed of data transmission will be limited, resulting in a poor user experience of V2ray, or even failure to use it normally.
Please note that although the bandwidth and network speed of the VPS server are important, it is not the only factor that affects the experience of using V2ray. The performance of V2ray is also related to various factors such as the configuration of the VPS server, line quality, and network environment.
# 2. Server test
2.1. Use speedtest to measure speed
Steps to test with speedtest-cli on Ubuntu system:
- Enter the following command in the terminal to install speedtest-cli:
sudo apt-get install speedtest-cli
- After the installation is complete, enter the following command to execute the test:
speedtest-cli
After the test is complete, the server's download speed, upload speed, and ping response time are displayed. During testing, it is recommended to close other network connections to ensure test accuracy.
2.2. Use ping to test the response time of the server
Perform a ping test on a Windows system:
Open the command prompt window: click the Start menu --> Run (or press the Win+R key), enter "cmd", and press the Enter key; In the Command Prompt window, enter the following command and press Enter to execute the test:
ping IP address or domain name -t
Please replace the IP address or domain name with the server address you want to test. The -t option means continuous testing, and you can stop it manually when you plan to test for how long.
After the test is complete, the server's IP address, test packet size, response time and response data from the server are displayed.
To do a ping test on a Linux system: On Ubuntu and Debian systems, the way to open the terminal is to click: Applications menu --> System Tools --> Terminal.
In a terminal window, enter the following command and press Enter to execute the test:
ping IP address or domain name
Please replace the IP address or domain name with the address of the server you want to test.
After the test is complete, the server's IP address, test packet size, response time and response data from the server are displayed. The network delay and response speed of the server can be evaluated according to the average response time of ping.
Please note that the results of the ping test will be affected by many factors, including the performance of the server, geographical location, network environment, network congestion, etc. Therefore, the test result is only a reference value.
2.3. Use traceroute to view network routes
Finally, we can also examine network routing with the traceroute command to evaluate the travel path and delay of packets from source to destination server.
Here are the steps to test using the traceroute command on Windows and Linux systems:
Do a traceroute test on a Windows system:
Open the command prompt window: click the Start menu --> Run (or press the Win+R key), enter "cmd", and press the Enter key; In the Command Prompt window, enter the following command and press Enter to execute the test:
tracert IP address or domain name
Please replace the IP address or domain name with the server address you want to test.
After the test is completed, the IP address of the server, the name and IP address of each routing node, the delay time generated by all routing nodes, etc. will be displayed.
Do a traceroute test on a Linux system: On Ubuntu and Debian systems, open the terminal by clicking: Applications menu --> System Tools --> Terminal.
In a terminal window, enter the following command and press Enter to execute the test:
traceroute IP address or domain name
Please replace the IP address or domain name with the server address you want to test.
After the test is completed, the IP address of the server, the name and IP address of each routing node, the delay time generated by all routing nodes, etc. will be displayed.
Note that the traceroute command just provides the name and IP address of each routing node, and the delay time to these routing nodes. But in reality, network routing is dynamic in nature and can change due to many factors, including network congestion, router failure, etc.
# Epilogue
Having said so much, there is one more thing, that is GFW, because no matter what node you choose, the VPS will eventually enter the mainland network. If it is blocked, its route may go around the world several times, reaching an abominable 400ms , basically it can be declared that this VPS is useless.
The choice of VPS service provider is not introduced in this article, because the introduction of service providers on the Internet is basically soft and wide. If you want to build it yourself, you still have to buy a few for testing.
Copyright Notice :
This article is written by SaltyLeo. If the content is incorrect, please leave a message for feedback. When reprinting or quoting this article, please comply with the CC BY-NC-SA agreement, must be attributed, used non-commercially and share alike!Comment :
Readmore :
After such an operation, I can finally use the company's network to surf the Internet at home.
The main content of this article is to build a micropython development environment for ESP8266 from scratch, and a series of articles will be published on this basis.
During the process, it was found that each vendor's strategy for resetting passwords was different. Some s appeared to be safe, but the logic was very mentally retarded. And some looks simple, but it's safer.
One-click installation script for Trojans
Chatbots tease me!
Table of contents
Popular Tags
Site info
Tags: 164
Total page views: 12,890,453
Loading time: 6.2 ms
Ver : 4.0.1