Linux Client Download

Linux Setup Guide

---or---

Download the latest version from the xray open-source repository:

https://github.com/XTLS/Xray-core/releases

Create a systemd service script

Create 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

Configure DNS Resolution

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

Start the Service

systemctl daemon-reload
systemctl start xiexievpn
# Enable auto-start on boot (optional)
systemctl enable xiexievpn

Configure System Proxy

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.

中文