--- or ---
Alternatively, download from the following address:
Create a systemd service script at /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 /usr/local/bin/ with your actual extraction path.
Restart=on-failure
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
Run the command: echo -e '\nexport http_proxy="http://127.0.0.1:1080"\nexport https_proxy="http://127.0.0.1:1080"\nexport all_proxy="socks5://127.0.0.1:10808"' >> ~/.bashrc && source ~/.bashrc; systemctl daemon-reload; systemctl start xiexievpn
(Optional) systemctl enable xiexievpn
Set the system proxy:
GNOME Desktop:
Open “Settings” → “Network”, find “Network Proxy” or “Proxy” option.
Choose “Manual” and set HTTP Proxy to 127.0.0.1, port 1080,
or set “Socks Host” to 127.0.0.1:10808 if needed.
If you want to exclude local addresses, add localhost, 127.0.0.1, ::1 into “Ignore Hosts”.
KDE Desktop:
In KDE, go to “System Settings” → “Network Settings” → “Proxy”.
Then choose “Manual” and fill in 127.0.0.1:1080 / 127.0.0.1:10808.
Other Desktop Environments:
For XFCE, MATE, Cinnamon, etc., you can also find a similar “Network Proxy” or “System Proxy” setting to fill in the same information.