Linux Setup Guide
---or---
Download the latest version from the xray open-source repository:
https://github.com/XTLS/Xray-core/releasesCreate file /etc/systemd/system/xiexievpn.service with the following content:
[Unit] Description=xiexievpn Service After=network.target [Service] Type=simple ExecStart=/usr/local/bin/xray # Replace the path above with your actual extraction path Restart=on-failure LimitNOFILE=65535 [Install] WantedBy=multi-user.target
sudo mkdir -p /etc/systemd/resolved.conf.d
sudo tee /etc/systemd/resolved.conf.d/xray.conf << EOF
[Resolve]
DNS=127.0.0.1
DNSStubListener=no
EOF
sudo systemctl restart systemd-resolved systemctl daemon-reload
systemctl start xiexievpn
# Enable auto-start on boot (optional)
systemctl enable xiexievpn Open "Settings" → "Network", find "Network Proxy" or "Proxy" option.
Choose "Manual" and configure as follows:
HTTP Proxy: 127.0.0.1, Port: 1080
SOCKS Host: 127.0.0.1:10808 (if needed)
If you want to exclude local addresses, add localhost, 127.0.0.1, ::1 to the "Ignore Hosts" list.