From d4c0d6f009186f8b9367d1d8d68ed0ee8b7d7bbc Mon Sep 17 00:00:00 2001 From: Evgeny Nerush Date: Fri, 15 Dec 2023 16:23:43 +0300 Subject: [PATCH] fix spaces, add note about bittorrent --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 54f4bbe..9949b30 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ desired command with it. Use `./ex.sh help` to see the list of all available com that installs and configures XRay. ``` -$ chmod +x ex.sh -$ ./ex.sh help -$ sudo ./ex.sh install +chmod +x ex.sh +./ex.sh help +sudo ./ex.sh install ``` Now you have `conf` folder with server and client configs and some user configs. Server config is properly installed and XRay is running. @@ -46,18 +46,17 @@ Time to share configs or *links* with users! To generate config in the link form XRay itself can be a client, besides plenty of GUI clients that are available for other popular operating systems (see below). You can manually install XRay with [official script](https://github.com/XTLS/Xray-install) and manually copy `customgeo.dat` to -`/usr/local/share/xray/` or just install them both with `sudo ./ex.sh install` command. Then, copy client config from the server and run one -of these: +`/usr/local/share/xray/` or just install them both with `sudo ./ex.sh install` command. Then, copy client config from the server and run: ``` - sudo cp config_client_username.json /usr/local/etc/xray/config.json - sudo systemctl start xray +sudo cp config_client_username.json /usr/local/etc/xray/config.json +sudo systemctl start xray ``` or ``` - sudo xray run -c config_client_username.json +sudo xray run -c config_client_username.json ``` In the current configuration, on the client side XRay creates http/https and socks5 proxies on your PC which can be used by your Telegram @@ -109,6 +108,10 @@ Most of GUI clients are based on xray core, but do not fully support its configu [TorBrowser](https://www.torproject.org/download/) in this case, use bridges. To get a bridge, send a letter to bridges@torproject.org, then copy symbols after `obfs4` and paste them to TorBrowser bridge settings. +### Bittorrent + +Bittorent protocol is blocked in the current configuration. Using bittorent on a VPS can lead to a ban from VPS provider. + ### Futher reading Template configs contain comments and links and are a good start to find another interesting Xray configuration options.