Too many unused servers? Come and build your own ladder to death!
Are you still worried about the expensive airport? Come and take a look!
No more nonsense, let's get started (.
Must-read#
Do not use servers from big companies! Do not use servers from big companies! Do not use servers from big companies!
What you need#
- A server that can be used for studying abroad (preferably an unknown idc or a dd clean mirror image)
- A brain
Recipe (?)#
-
Use a handy ssh tool to connect to the server
-
Paste and execute the following command:
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
-
When the following message appears:
For security reasons, you need to forcibly change the port and account password after installation/update
Confirm whether to continue? [y/n]:You can enter y (to continue) or n (to skip) based on your specific needs
-
Enter [Server IP]:[the port you set] in the browser, enter the password you set on the displayed page, and click login to enter the x-ui background (if you cannot access it, please disable the server firewall or allow the relevant port in the security group)
-
Click on the inbound list - blue plus sign, and fill in the following information in the pop-up window:
Remark: for identification, fill in randomly
Protocol: you can use your favorite one, if you have difficulty choosing, you can choose trojan like me
-
If you choose trojan, fill in the following information:
Domain name: fill in your own, or you can get a free one here
Public key/private key content: select file content, and fill in the content of the SSL certificate you applied for
-
Congratulations! Configuration is complete!
This article is synchronized and updated to xLog by Mix Space
The original link is https://laobinghu.top/posts/program/making-yourself's-vpn