5 minutes hands-on set up a proxy server (Ultimate Edition)

This article is reproduced from https://www.vpnon.net/setup-v2.html , original title "five minutes hands to build a proxy server (v 2 ray edition)"
 
Set up a private proxy is very simple, skillful, then took less than five minutes to complete. This tutorial teaches you to use the easiest way to set up a proxy of their own.
 
This tutorial all pages, completely without login access to the server.

 

Foreword

Today proxy method to introduce too important in the future for a long time will inevitably become mainstream, so spend another minute to understand the principles is necessary.
v 2 ray reason to stand out in a number of proxy scenario, because it supports a tls + ws mode. We only recommend using this mode, which is the most stable and safest mode can not be recognized in theory, [it] can not be banned forever.

 

The reason why this pattern is not recognized, because the entire communication is hidden under all normal https access. For example, you have a domain name https://www.a.com, you only see the wall it, but in fact the domain forwarding agent in normal traffic access. Due to its strong https encryption feature, it can not know the specific wall doing. We can even specify a particular path url proxy, other paths are normal traffic. Such as setting https://www.a.com/a a proxy address, and https://www.a.com/b is normal page.

 

Therefore, unless one size fits all banned all foreign https site, otherwise it [could not] identified and blocked traffic on the https proxy.

 

Note that, in theory, the ban does not mean that can not be smooth sailing practice, no difference in traffic outside wall will sometimes random packet loss may cause a brief interruption of the agent (usually a few minutes), but will not be long shielded.

 

step

This mode is divided into the following agents to build four steps (more than one step to build a common proxy "DNS Configuration"):
  • Sign up for a web hosting
  • Installation server
  • DNS Configuration
  • Install Client
Please prepare in advance a domain, secondary domain name can be.

 

Registration Web Hosting

First, open the https://www.vultr.com registered vultr account (existing account, you can skip this step). vultr is the most suitable agent VPS service providers, on top of spending $ 10 will get an extra $ 50 bonus (reward new users only).

 

Installation server

Select the node location, the region is currently $ 5 monthly package, a monthly package 1T flow, personal enough. The lowest speed delay Japan, 100 to 200 millisecond delay, the United States is generally 200 to 400 ms delay, the individual selected as necessary.

 



And then select the system configuration, select CentOS 7 system, do not choose the default CentOS 8. Select the lowest price to $ 5.

 

 

 
Step 4 does not require additional options selected.
 

 

Step 5. Click Add New, paste a one-click install scripts.

 

 

 

Script reads as follows (direct copy), you need to modify the domain name (yourdomain), Acting path (youpath) and conform to the format of a uuid (yourUUID).

 

#!/bin/bash
bash <(curl -s -L https://git.io/Jelh3) yourdomain yourpath yourUUID

 

Example: Suppose your domain name is www.a.com, wanted as a proxy url is www.a.com/b, in line with the format of uuid is 56bd12dd-1a3c-40da-a866-65a357d293e0 (in such form uuid from automatically generated here , the script content is:
#!/bin/bash 
bash <(curl -s -L https://git.io/Jelh3)  www.a.com  b  56bd12dd-1a3c-40da-a866-65a357d293e0

 

Click Deploy Now payment. At this point you should need to be prepaid, billing click on the left or select Alipay micro letter to recharge.

 

 

 

After completion of the refill payment will jump to the server list, you can see your server is running.

 

 

 

Here server installation is over. Just remember your server ip, domain name before you set the path and uuid can be.

 

DNS Configuration

The above points to your domain name server ip address, waiting to take effect. Different domain name service provider to resolve different effective time, generally 1 to 10 minutes to take effect. DNS Once in force, the server that is normal services.

 

Install Client

Client installed on your computer or mobile phone, the communication with the server. Each system has its own client version, download the following address.

 

  • Windows
    Download (not allowed to put links, github search, or point the original view)

 

  • Mac

    Download (not allowed to put links, github search, or point the original view)

 

  • iPhone

    Application market search Kitsunebi, download and install (might need to be replaced appstore countries)

 

  • Android

    Application market search BifrostV, download and install

 

The client configuration is very simple, choose tls + ws mode, enter your domain name, path, uuid to connect.

 

Test Server Status

 

The easiest way to see if the entry into force, please direct your browser to access a proxy url path, which is configured above https://www.a.com/b (note the https access), if the page displays "Bad Request", it shows the server It has been successfully configured. Properly set up client after normal use.

 

With the continuing escalation of the wall, many server IP address blacklisted. Its performance is able to ping the server, but can not access any port. Whether the test server IP blacklisted way, in both domestic and foreign ports are connected to the server. If you can communicate abroad, and domestic not connected, it shows that the IP address is not available, the need to replace VPS instances (many Japanese IP nodes have been added to the blacklist).

 

Domestic port test address: China

 

Foreign ports to test address: foreign

 

to sum up

So far, you already have your own private proxy, go and try on the Internet free. The program in vultr  repeatedly verified, no guarantee can be used elsewhere, if you have any questions, you can leave a message advice.

 

Guess you like

Origin www.cnblogs.com/osroot/p/11669103.html