How to bypass censorship in China?
Required skills: Linux command line, installing projects from github
Useful but not always required: knowledge of Chinese language (for better tech support)
Setting up personal proxy:
Xtls:
Official project page - https://github.com/XTLS/Xray-core
Before install run sudo apt update && sudo apt upgrade
Installation method - https://github.com/XTLS/Xray-install
go to /usr/local/etc/xray using cd /usr/local/etc/xray
here you will have to get a config file for your server
Download it and put inside /usr/local/etc/xray
to check if you are inside type pwd
After download open the document. Change xray id by running xray uuid
and put it into the file into "clients":
"id": "
uuid example
"id": "2256c1e1-ec87-4b8b-9939-55da9f1a77c3",
Run run xray x25519
and put it into "privateKey": "",
inside the file
Warning. You will have to save the key pair. Not just one key
Example of output of 'xray x25519'
Private key: 6HowcWIwOHvu9nhIyYwcxspsH6ZYlOln21iK5MdSs0M
Public key: EV5KpdjcGtdMxII97QE0Sbsw1GJeC4XW8v6h44Dkwhk
Can be changed to any domain which isn't blocked
Then save the file. And make sure it's named config.json
Run
'sudo systemctl status xray.service'
If it shows status running and no errors. Then it works fine
Then you need a client to use the service on your computer
Go to https://github.com/XTLS/Xray-core/releases
Download the archive which corresponds to your os and cpu architecture and unzip to a dedicated folder
Then download https://rentry.co/eg5hensi in the same directory where you unzipped the files. Rename the txt file to config.json
In
"address": "",
You will have to set up ip address of your vps
You will have to add same uuid as in your vps
In the example given it's '2256c1e1-ec87-4b8b-9939-55da9f1a77c3'
You will have to change "publicKey"
It was in the key pair you generated in the server. We used EV5KpdjcGtdMxII97QE0Sbsw1GJeC4XW8v6h44Dkwhk
So the line will turn to
"publicKey": "EV5KpdjcGtdMxII97QE0Sbsw1GJeC4XW8v6h44Dkwhk",
Then run xray through the terminal. On linux systems it's ./xray