Debian / Ubuntu

The function of v2rayA depends on the V2Ray core, so the kernel needs to be installed.

Install v2rayA

Method 1: Install through the software source

Add public key

wget -qO - | sudo tee /etc/apt/keyrings/v2raya.asc

Add V2RayA software source

echo "deb [signed-by=/etc/apt/keyrings/v2raya.asc] v2raya main" | sudo tee /etc/apt/sources.list.d/v2raya.list
sudo apt update

Install V2RayA

sudo apt install v2raya v2ray ## you can install xray package instead of if you want

Method 2: Manually install the deb package

After downloading the deb package , you can use graphical tools such as Gdebi, QApt to install, or you can use the command line:

sudo apt install /path/download/installer_debian_xxx_vxxx.deb ### Replace the actual path where the deb package is located by yourself

V2Ray and Xray debian packages can be found in APT Repo

Start v2rayA / Enable v2rayA start automatically

From the 1.5 version, it will no longer default start v2rayA and set auto-start.

  • Start v2rayA

    sudo systemctl start v2raya.service
  • Set auto-start

    sudo systemctl enable v2raya.service

Use nftables

If you already have nftables firewall on your system, then v2rayA will use nft command first to create firewall rules. You can use the --nftables-support parameter or V2RAYA_NFTABLES_SUPPORT to control whether to enable nftables support.

Edit this page on GitHub

Last update on: Sep 12, 2023 21:56 +0800

Contributors: mzz2017 MarksonHon cubercsl izeroo