v2ray client, v2ray one-click tutorial

4.94 Download
Note: To prevent users from installing apk files from outside, Google Play has now added a warning when installing apks & mods. PlayProtect will tell you the file is harmful. Simply, just click “Install anyway (unsafe)”.
Grand Theft Auto V / GTA 5 v2.00 APK + MOD (Beta)

Information

Namev2ray client, v2ray one-click tutorial
Category
  V2Ray is an excellent software that emerged after Shadowsocks. It can currently meet all common and uncommon mobile and computer platforms on the market. It complements all the existing defects of Shadowsocks and has been updated on the basis of Shadowsocks. Make it more superior in performance, more difficult to be walled by the Great Firewall of China, very suitable for scientific Internet users.

Preface

I have been groping for many years on the road of scientific Internet access. After I started using SSR by chance in junior high school, I learned about overcoming the wall. Although of course I am not very familiar with SSR, I can find it in the tutorials on the Internet. appropriate. Now I have entered the workplace life, and the nature of my work requires the use of scientific Internet access, almost every day I need to go over the wall for one to two hours.


I am quite knowledgeable about the scientific experience of surfing the Internet. I believe readers who have followed me before will know that I have recommended a lot of Internet tools for everyone. Facing the emerging star V2Ray, I naturally have to explore and write this tutorial based on it. V2Ray is just an online tool, so this article will introduce how to use and operate V2Ray.


I hope that readers who have finished reading this article can correctly start the path of scientific Internet access, after all, there is so much fun information waiting for you in the world. If you think it is troublesome to set up, you can choose to buy from the merchant: v2ray pro



1. Introduction of V2Ray (Project V)

Project V includes a series of tools to build your own network

The operation of V2Ray is naturally indispensable for the mutual support between the server and the client. In short, in addition to the device you are using, the user also needs to configure an overseas remote server. The process of establishing an overseas remote server is relatively complicated. For this reason, I will explain these contents below, hoping to answer the difficult questions for you.

1-2, what is the difference with Shadowsocks

V2Ray is like a toolbox, you can use a variety of tool combinations, you can use it as a simple Internet tool, and at the same time, you can develop and expand the functions you need based on your own needs to save development time. If V2Ray is A, and the remaining tools are B, then A+B can be equal to C, where C refers to a brand new software.



If you need to customize your own V2Ray software, you have to add more personalized configurations to the basic functions. If you don’t need redundant configurations, you only need to modify the existing ones, according to your own Need to judge.



As long as it is an overseas VPS, it is recommended to choose the node on the west coast of the United States, and the node on the coast of Asia is also possible. The computer rooms of Hong Kong, Singapore, and South Korea are especially recommended. Their speed delays will be relatively low. However, the cost of these coastal nodes is relatively more expensive, and it is necessary to test whether the line can directly connect to China before it is officially used.



In fact, today's networks have been optimized, so there is almost no way to feel the slight delay between network speeds, but you need to pay attention to the packet drop rate, as long as the node delay does not exceed three hundred and fifty, the packet drop rate does not exceed 100% Fifteenth, then the network speed of this node can already meet the needs of most people. The normal node delay is within a hundred, so there are still many choices for users.



If you don’t have enough budget, you don’t need to always pursue the nodes on the coast of Asia and the nodes on the west coast of the United States.



Merchant selection



Limited time event: New users can get one hundred dollars after registering and recharging 25 dollars. This price-performance ratio is still super high. At present, the website only supports PayPal and credit card recharge. Users must first have an account with one of them.



Of course, if you want to continue to gather wool, you can re-register a new account with the email and phone number of your relatives and friends. It is best to register with a new mobile phone so that the system will not detect your cheating.



Vultr is very friendly to the Chinese market. It has opened Alipay and WeChat payment methods. In many computer rooms, you can choose to pay at least 17 yuan a month, and you can also create multiple vps, which means you can use unlimited data through backup Snapshot, delete and restore the VPS can reset the traffic.



Personally, my favorite is the package of 25 yuan a month. After the user purchases a VPS, it is recommended to install the Ubantu system. The system is relatively simple, and there are very teaching videos on the Internet. Questions can also be answered on the Internet, so the following tutorials in this article are based on the context of Uban Figure 18.04.



Ubantu 18.04 LTS in Vultr has enabled sharp acceleration by default, so no additional configuration is required, just deploy V2Ray.

Learning must be patient
We must maintain patience before learning all new things. After all, patience is the first way to learn. If you encounter any incurable diseases during the learning process, you can leave a message under the comment area. I am honored to answer your questions.
For novices

Many novices will rely on their own ideas when configuring. They feel that these steps can be replaced, or if they encounter any problems, they will actively skip this step. This is absolutely impossible. Think about it. , Can we omit one of the ingredients when we are making cakes? Can a cake without ingredients be made into a cake? For this reason, this article shows the complete server configuration below, and shows the complete client configuration in the following chapter 3–3Linux (client configuration is common, Windows users can copy and paste directly).



When you cannot understand the meaning of the configuration, the configuration following the tutorial is the safest choice . When you are not familiar with these configurations, following the tutorial is the safest choice . Customize according to your own needs, and you will be familiar with it. Configuration matter.



V2Ray is updated frequently, and its performance on the clients of different systems will be different, so in order to save trouble, users must choose the latest version of V2Ray for operation.

Can I use other systems? Such as Centos

The answer is naturally yes, but it should be noted that when the Centos software is running, the firewall is turned on by default. This means that even after you install V2Ray, you still cannot connect because the firewall becomes a stumbling block to their connection.


Therefore, when users use Centos, they need to turn off the built-in firewall of the system. After all, the firewall is the biggest stumbling block for you who are not familiar with the system at this moment. Only when you have a thorough grasp of Centos, the firewall is for users The advantage of, can be revealed, the firewall can be turned off after entering the following two commands in the program.

#Stop firewall

systemctl stop firewalld

#Prohibit firewall startup

systemctl disable firewalld

Second, the server construction process

The first option is to install the script automatically. If you cannot use the script to install successfully, you can follow the manual installation, and the manual installation steps are naturally relatively troublesome.

If you are currently using the Win10 system, you can directly use the ssh client that comes with the win10 system to connect to the remote host.

2–1 Automatic installation script (recommended)

It is not recommended to use third-party software here. Use the official most formal script. V2Ray officially provides an installation package that meets all mobile phones and computer systems on the market. Just find the installation package you want and click the following command directly. The installation can be completed, and this command can also be used in more detail in V2Ray.

bash <(curl -L -s https://install.direct/go.sh)#The above command will automatically install V2Ray, and then execute the following command to run

systemctl start v2ray

After the installation is complete, many files will be added, and the user does not need to make additional adjustments. If a window pops up, just click the enter key.

After the script installation is complete, you must first enable root privileges, and then you can perform the following operations:

1. Edit the vim /etc/v2ray/config.json file to configure the proxy mode you want;

2. Run systemctl start v2ray to start V2Ray;

3. Then you can use systemctl start|restart|stop|status v2ray to control the operation of V2Ray.

The data of IP, port (Port), id (UUID) can be displayed after the installation of our automatic script is completed. These three information are extremely important to us. We must take a small book and write it down. The installation will also be used. The appearance of these data also means that the deployment of the server has been completed.

If we want our system to support Shadowsocks, we need to add a seasoning, that is, take the V2Ray server port and take out one of them to configure the Shadowsocks protocol. After all, V2Ray has several ports. If there are other protocol ports, Usually you use it more, you can also use it, you don't need a non-V2Ray client.



2-2 manual installation

Manual installation is not recommended. After all, the manual process is the same as the automatic installation script, and the manual is particularly cumbersome. If it can be installed with one click, why not? After all, you can save yourself a lot of trouble.

2–2–1 Download and installation


First use SSH to connect to your overseas VPS, and then find the version suitable for your VPS system in Releases, right-click on the download link to copy the link.

In most cases, the CPU of VPS is of Inter architecture, and the number of system bits has been determined when VPS is purchased.

We can determine the CPU model and operating mode (32 or 64) by command, enter the following command:

getconf LONG_BIT

When you press the Enter key, you will find out how many digits your operating mode is. My digits are 64 digits as above. You can only query the CPU model by following the command. Enter the following

lscpu | grep "Model name"

Model name: 2 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz

The following commands are the main process of downloading the 64-bit version of V2Ray, which will be explained in detail later (the configuration file "vpoint_vmess_freedom.json" here corresponds to /etc/v2ray/config.json in the automatic installation script, which are identical):

# Create a directory and enter

mkdir v2ray;cd v2ray

# Download the compressed package

wget https://github.com/v2ray/v2ray-core/releases/download/v4.16.0/v2ray-linux-64.zip

Unzip the compressed package

unzip v2ray*.zip

# Copy the configuration file in the installation package to

/etc/v2ray directory

cp vpoint_vmess_freedom.json /etc/v2ray/config.json

# Create a directory to store log files

mkdir /var/log/v2ray/

# Run, find the configuration file in /etc/v2ray/config.json by default

./v2ray

After the above various commands, the following data will appear.

First put the configuration file in the etc path, and the executable file in the /usr/bin path:

sudo mkdir /etc/v2ray /usr/bin/v2ray /var/log/v2ray

# Create a directory

sudo chmod +x v2ray v2ctl

# Grant executable permissions

sudo mv v2ray v2ctl geoip.dat geosite.dat -t /usr/bin/v2ray

# Move files

touch /etc/v2ray/config.json

# Create only empty file of configuration file

sudo mv systemd/v2ray.service /etc/systemd/system/

sudo systemctl enable v2ray

# Used to restart the program automatically when the program starts and crashes

After the above operations, the effect achieved by our V2Ray and the automatic installation of the script is basically the same. Tip: The last command we entered in the program is to make V2Ray run permanently and boot up. This premise is in the configuration You can start after finishing config.json.

If you want to modify our configuration file, you can enter the following command, and each configuration change requires the system to restart the program before it will take effect:

sudo systemctl restart v2ray

2–3, configure V2Ray


Edit the configuration file with the following command:

vim /etc/v2ray/config.json

The server configuration is as follows:

{

"Inbounds": [

{

“port”: 443, // Vmess 协议服务器监听端口

"Protocol": "vmess",

"Settings": {

"Clients": [

{

"Id": "b831381d-6324–4d53-ad4f-8cda48b30811" // id(UUID) needs to be modified

}

]

}

},

{

"Port": 444, // SS protocol server listening port

"Protocol": "shadowsocks",

"Settings": {

"Method": "aes-128-gcm", // encryption method

"Password": "yuan.ga" //Password

}

}

],

"Outbounds": [

{

"Protocol": "freedom",

"Settings": {}

}

]

}

The above operation process is actually equipped with two protocols. They are Vmess protocol on port 443 and Shadowsocks on port 444. These two protocol methods are our most recommended. You don’t need to choose v2ray protocol directly. If There are other protocols you can choose directly.

In fact, just modify the ID of Vmess and the password of Shadowsocks and you can use it directly.

2–3–1Vmess

You can use the Online UUID Generator website to generate the ID to change the ID, but the ID of the server must be consistent with the client.

Our default port number is 10086, and users can change the port directly.

2–3–2Shadowsocks
Shadowsocks port configuration supports continuous multi-port configuration in the form of 1000-1010.

"Inbounds": [

{

"Protocol": "shadowsocks",

"Port": 444, // monitor port 444

"Settings": {

"Method": "aes-256-cfb", // encryption method

"Password": "yearliny" // Password, must be the same as the client

}

}

],

V2Ray's json configuration file supports comments in the form of //, /* */. When running, you should also pay attention to the operation of good symbols. When your text shows an error in the running program, don’t pay attention to it, because V2Ray Will deal with it directly.

Currently, the main encryption methods of V2Ray are the following two.

· Aes-256-gcm: Recommended for users of computer clients.

· Chacha20-ietf: Recommended for mobile clients, which is more flexible than computer clients.

2–3–1, permanent operation
After we configure Systemd, we can consider how to manage the operation of V2Ray. The operation is also very simple, just remember the following commands.

Enable and disable

The enabled and disabled programs and the operation of V2Ray will not have any impact. If the V2Ray system in the enabled state crashes, it will automatically restart. In the meantime, it does not need to spend too much time.

V2Ray.

sudo systemctl enable v2ray

sudo systemctl disable v2ray

The commands to start, stop, and restart V2RAY are as follows

sudo systemctl start v2ray

sudo systemctl stop v2ray

sudo systemctl restart v2ray

Check status

sudo systemctl status v2ray

Three, the use of the client

3–1Windows

3–1–1 installation
We can download V2Ray directly from the Github store. For your convenience, we will attach its link again: https://github.com/v2ray/v2ray-core/releases. After clicking the link to enter the webpage, you can continue to search on the webpage The words with the v2ray-windows-32.zip installation package mean that this is a Windows 32-bit system client. If you want a 64-bit version, just look for v2ray-windows-64.zip.

3–1–2 configuration

After the installation package is downloaded, it is naturally decompressed. Users can create a new folder in a place with sufficient disk space, and then decompress V2Ray into it. After we open the installation package, we can see that there are many files in it, including the config.json file that we need to modify. For your convenience, we listed it directly. Users can directly delete the original content and copy and paste it below. content.

{

"Log": {

"Loglevel": "info"

},

"Inbounds": [

{

"Port": 1080,

"Protocol": "socks",

"Sniffing": {

"Enabled": true,

"DestOverride": [

"Http",

"Tls"

]

},

"Settings": {

"Udp": true // enable UDP protocol support

}

},

{

"Port": 8080,

"Protocol": "http",

"Sniffing": {

"Enabled": true,

"DestOverride": [

"Http",

"Tls"

]

}

}

],

"Outbounds": [

{

"Tag": "proxy-vmess",

"Protocol": "vmess",

"Settings": {

"Vnext": [

{

"Address": "8.8.8.8", // server's IP

"Port": 443, // server port

"Users": [

{

// id is UUID, equivalent to user password

"Id": "7d4c4078-e129–416b-a483-cf5713a96a66",

"AlterId": 4

}

]

}

]

}

},

{

"Tag": "direct",

"Settings": {},

"Protocol": "freedom"

}

],

"Dns": {

"Server": [

"8.8.8.8",

"1.1.1.1"

],

// Your IP address, which is used for DNS resolution to the fastest CDN away from you

"ClientIp": "203.208.40.63"

},

// Configure the routing function to bypass the LAN and mainland China addresses

"Routing": {

"DomainStrategy": "IPOnDemand",

"Rules": [

{

"Type": "field",

"Domain": [

// Skip domestic websites by default. If you want to act as a proxy for a domestic website, you can add it to the following list

"Cnblogs.com"

],

"OutboundTag": "proxy-vmess"

},

{

"Type": "field",

"Domain": [

"Geosite:cn"

],

"OutboundTag": "direct"

},

{

"Type": "field",

"OutboundTag": "direct",

"Ip": [

"Geoip:cn",

"Geoip:private"

]

}

]

}

}

The value of alterId cannot exceed the value specified by the server, otherwise it cannot be used normally. The default value of alterId is 0 when there is no user automatic configuration. Personally, it is recommended to fill in the value 4

In the above configuration, you only need to modify the IP, port and id (UUID) to the contents of the previous installation, and run v2ray.exe directly after saving.

Set your system proxy to socks5 127.0.0.1:1080 or http 127.0.0.1:8080 and it can be used normally.

After completing the above steps, the V2Ray client has been running normally. We can customize the system. If you want to know the specific adjustment method, you can learn from one of the explanations below.

First, we can open the settings on the homepage of the computer, and then the interface will turn to the network and Internet interface, click on the proxy, and then fill in the above data. Here I am using http 127.0.0.1:8080 instead of the socks protocol, because I think the system has better support for http proxy.

When everything is set up, if you don't like the current window interface, you can directly double-click in the blank space, and the window will be hidden. If you want the window to pop up, in the same way, double-click to call out the window.

3–1–3 Boot up

If you want to set the system to automatically run after booting, just press the shortcut key WIN+R, enter shell:startup, and press the Enter key, then a folder will pop up, we just need to put this Put the system in this folder, and the system will pop up the next time you boot.

Of course, the value here is not to put the entire installation package of the system directly, we first create a shortcut for this system, and then pull the shortcut directly into the folder.

The Windows key can be referred to as the "Win key" for short. The position of this key is the key between the Ctrl and Alt keys in the lower left corner of the computer keyboard. The pattern is the Windows icon of Microsoft Windows. If you want to know what this button looks like, you can look at the keyboard in your hand.

3–1–4 advanced (optional)

After the above steps, we can already circumvent the wall on Google Chrome. If you want to know if it is useful, you can watch the video on YouTube.

The biggest feature of GFWList is that it can help agents block some unwanted content. In addition, it can also be configured with Omega+GFWList. Omega can also generate PAC files to set system-level automatic agents.

SwitchyOmega tutorial


3–2 Android Android

v2rayNG , BifrostV and Actinium are the more popular styles. If you don't particularly like it, you can use BifrostV. This interface is the most handy system I have used so far. Its interface and layout are more concise, and you can know how to operate it at a glance.

The more popular protocols such as VMess, Shadowsocks, and SOCKS on the market can all be known, which means that the connection of the above protocols can be done with only one client. But in the course of use, some advertisements will be generated. (If you don’t like to see ads, you can get Google’s support first, and then turn off ads in the settings.) Of course, don’t be angry when you see these ads. After all, every business needs to have a meal, as long as there is better Only the funds can run the software better.

The apps mentioned in this article can all be downloaded in Google Play. If you don’t have Google downloaded in your phone, you can use APK to download. The app is mainly a software store based on the installation package source in the Google Store. The advantage is that you can download the cleanest software, without any rogue software to bind your computer.

3–3Client configuration under Linux system

Linux is a relatively unpopular computer system on the market. The V2Ray client's performance on this system is the same as that of the Windows client. If you want to know how to run V2Ray on Linux, you can refer to the above content, these two The biggest difference in the system is the configuration file config.json.

One-click installation of the automatic script is quick and easy. Since its V2Ray downloads the installation package from Github, its main requirement for the computer network is that it can be freely located on the Internet. At this time, you can download the automatic installation script go.sh, Use some means to download the V2Ray compressed package, and then use the ./go.sh –local v2ray.zip command to install the local file named v2ray.zip.

3–3–1V2Ray Vmess configuration

The following two ways are the main ways to connect to our proxy settings:

· Socks://127.0.0.1:1080

· Http://127.0.0.1:8080

When you do this, V2Ray is already in a fully configured state. But some people will have a situation, that is, the configuration is clearly configured, but the Internet is still not available. In fact, this is because you also need to let the target software use a proxy.

PAC automatic proxy (recommended index five stars)
MacOS and Windows clients generally have automatic PAC system proxy settings, so you can use the proxy for different websites without a browser plug-in . Linux also supports this function, but the process will be more complicated.

First of all, we must first check the content of 3–1Windows , and then install the paired plug-ins according to the browsers we use daily. The plug-ins of Firefox and Google Chrome can be shared.

After the plug-in is installed, click to enter the configuration page, set the Proxy to the port 1080 of the socks5 protocol 127.0.0.1 address, and then click Apply changes, the function can take effect immediately.

Then we need to equip the auto switch. We need to remember three key points during the equip process.

1. The rules of the rule list need to be set to proxy. It means to follow the rules to go through our set agent.

2. The default value can be set to direct connection. It means a direct connection that does not meet the rules.

3. The rules list URL is as follows

https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt, after entering, we can see the words to download the configuration file immediately, click on the gold UR.

Finally, click Apply changes and the settings will take effect immediately. If you want to export our proxy rules, you can click Export PAC at the top of the interface.

Finally, in terms of setting the PAC proxy, different Linux desktop environments will be different, you can search for keywords by yourself: set pac "system name + version number". Here is an example of Ubantu 18.04:

Open the settings to reach the network interface, then click on the network proxy, select the automatic mode, fill in the absolute path of the file://pac file, if your pac configuration file is placed in /etc/v2ray/proxy.pac, then fill in: file :///etc/v2ray/proxy.pac.

Four, simple troubleshooting
Strictly follow the method of operation in this article, and there will be no mistakes. If you make a mistake, it means you missed a step.

The first time we encounter a problem, we must check whether the server V2Ray is in a normal running state. There is no system crash, because even a crashed system can run normally.

Everyone of us will have a work log on their computer. If the work log can be successfully interpreted, most of the problems can be solved, but two conditions must be met to interpret the work log: the user must understand English and the user must be able to operate the computer with common sense. . If you have a computer expert around you, you can also export the log directly, and then send your configuration file to the computer expert, and your problem will disappear soon.

4–1 Get logs

This is the most basic and most important step.
4–1–1 server log
The log format of the server is set in the config.json configuration file. If there are fields similar to the following in the configuration file:

"log": {

"loglevel" : "warning",

"access" : "/var/log/v2ray/access.log",

"error" : "/var/log/v2ray/error.log"

}

Then the server log exists in the /var/log/v2ray directory, and there are two files in this directory:

· Access.log: contains messages about normal connections

· Error.log: only contains messages about incorrect connections

The log will be very long, because it records all kinds of things that happened to the computer user during this period, you only need to scroll down, the lower the content is the latest information. At this point, the Linux system is better than the Windows and MaciOS systems. On the Linux system, you can use the tail tool to view the log. By default, only the bottom 10 lines of the file are displayed.

sudo tail /var/log/v2ray/error.log

If the log redirection is not stated in the configuration file, then we can use the journalctl tool to view:

sudo journalctl -b -u v2ray

4–1–2 Client Log
The log information will only be printed in the command line window where the v2ray.exe program is running.

If your client is also Linux, then follow the method of 4–1–1 server log .

4-2 Check whether the server is running

systemctl status v2ray

When we can see the word active (running) in the active line, it means that everything is running normally.

5. FAQ
Why is V2Ray slower than SS/SSR?
Under normal circumstances, the performance of V2Ray is better than SS/SSR, so its speed is not as slow as ss and SSR. If you think your speed is slow, it may be due to regional issues, or you can check Under the system.

http protocol 127.0.0.1:8080 plus socks5://127.0.0.5:1080 socks5 protocol proxy, this combination package can be described as a super excellent proxy, in order to let readers feel the best internet speed, and super high Performance, so this article is explained on this basis.

If you want to know if it is a problem in your own area, you can test your account with a friend far away from your area. If it runs fast, it means that your area may not work well.

Recommendations
In order to ensure your online safety, I would like readers to put forward my views

1. Before running, we can uninstall the domestic antivirus and housekeeper that comes with the Windows system, such as Master Lu.

2. It is best not to use domestic browsers to browse foreign websites. Firefox and Google are both good choices.

3. When you move the port of your mobile phone, remember to close the proxy link at night.

4. Do not share this software on public platforms such as Weibo, WeChat, Zhihu, Tieba, etc. It is a small thing to be banned, but it is a big deal to be invited to drink tea.

I hope you can master V2Ray through the teaching of this article. It is really troublesome at the beginning, but as long as you master it, you can open a new world of scientific Internet access for yourself, and everyone should also treat scientific Internet access rationally.
Mới hơn Cũ hơn
Gangstar Vegas v6.8.0e MOD APK + OBB (Unlimited Money/VIP 10)
Poppy Playtime Chapter 1 v1.0.8 APK (Full Game)