Recently, the Great Wall has been built higher, like the US-Mexico border, so, I have to figure a way out…
Since V2Ray has claimed to be more secure and powerful, I decided to configure it on my VPS so that I can crawl out of the wall.
The VPS service I used is DigitalOcean, and there is a $50 credits for 30 days link for you to try it out.
The system I am using for VM is Ubuntu 18.04. I think these commands also support Debian 7+ and CentOS 7+.
As far as I’m using this service, the process has been fairly easy. Click on the top right, and select Create -> Droplets as shown:
Then, you will see the set up page for the droplet, which allows user to modify different settings visually. The Distributions I selected is Ubuntu 18.04 x 64, and the plan I chose is the cheapest one -> $5 per months one.
I just left the rest of setting as it be, besides the Select additional options. In that section, I select _IPv6_, as it allows data to be transferred on the Internet:
I do not have any preference toward a pacific region on the list. With the current situation, I’d recommend you to ping the given IP address after the droplet has been created. If the connection is not lost, which means this address survived. Otherwise, just delete this droplet, and create a new one.
After making sure the current IP address works, it’s time for next step.
Before configuring VM, open the email account related to DigitalOcean, the IP address, Username
usually is root, and password is sent via email.
Log in to the VM via tools. I used PuTTy, but anything that can connect to VM works. First time log in to the account, the machine requires you to reset the password. After resetting the password, it’s time for real configuration.
Simply just following these processes is fine:
# install curl
If the file looks like something below, then everything at this point woks properly.
“id”: “some uuid”,
port, id, and alterId can be changed. I believe id is in the format of uuid, unless you find some generator, don’t mess with it.
# the script suppose to start the service, but just in case
All other set up tutorials stop here, and says that after this step, the V2Ray is all good and ready to connect.
However, I found it to not be true. I tried it several times, and wasn’t able to connect. Just when I thought that V2Ray has already been detected, I finally found the solution.
$ netstat -apn | grep v2ray
Again, I use windows.
Once download completes, add
v2rayN.exe into 2nd folder, which I believe is
Click on V2RayN, and click
add [VMess] server under servers as below
Then, enter the information in
/etc/v2ray/conf.json, mainly is the IP address of the VM, port set by V2Ray script, UUID generated during the process, and the AlterId which by default is 64.