Xray Client Importing the Configuration - DanielLavrushin/asuswrt-merlin-xrayui GitHub Wiki

Importing the configuration

In client mode, XRAY UI allows you to import the connection configuration, so you don't have to deal with a complicated setup.

Usually, VPS servers with XRAY onboard allow you to generate an XRAY connection string or a QR code. The connection string should look like:

vless://[email protected]:22222?path=/telegram-channel-vlessconfig-ws&security=tls&encryption=none&host=somedomainname.com&type=ws&sni=telegram-channel-vlessconfig.sohala.uk#Telegram @VlessConfig

XRAY UI can parse it and convert it into the XRAY client configuration. Switch to client mode by pressing the Client button in the top right corner.

In the Import Configuration section, press the Import button:

image

An import manager window will pop up:

image

Here, you can upload your QR code or paste an XRAY connection string into the Outbound Proxy Uri textbox. This will perform a minimal setup by adding a new outbound configuration to the Outbounds collection.

If you want a complete setup, check the I'd like to have a complete setup! box. In this case, the import manager will also generate all the required inbound and outbound proxies (FREEDOM and BLACKHOLE outbounds, and DOKODEMO inbound). Additionally, you can select the services and sites to include in a filter so that they are routed through your XRAY server proxy. It is recommended to check only those services that are blocked in your region.

By default, XRAY UI configures your router to redirect all traffic to the XRAY service. However, sometimes this is overkill, and some devices may stop working on the network (some users have reported issues with IoT devices, PlayStation, etc.). In this case, it is recommended to check the Don't break my network devices option. With this option, the router will only redirect traffic from ports 80 and 443 to XRAY, which is sufficient in most cases.