how to install and use v2ray on termux android

before start the tutorial thanks from 姿势小王子

before you srat you can watch a video on youtube that do all this work https://youtu.be/lr9tRykvMSo

 at first  it's better to intall  fdroid  

here is the link of fdroid

so next step is install termux from  fdroid (if you use the link below , you can download termux directly 

here is the link of termux in fdroid

you must let termux to access your storage 


termux-setup-storage

make a directory and name it v2ray

mkdir v2ray

then next step is go to the directory that you maked by this code


cd v2ray

now in this directory you must dowmload a version of termux realise for android

here is the page of v2ray realise

but i chose this realise you can just copy this link https://github.com/v2fly/v2ray-core/releases/download/v5.3.0/v2ray-android-arm64-v8a.zip

the next step


you must being in v2ray directoy that you maked and use this command


wget https://github.com/v2fly/v2ray-core/releases/download/v5.3.0/v2ray-android-arm64-v8a.zip

probably you may faild in this step by this error

CANNOT LINK EXECUTABLE "wget": library "libssl.so.3" not found: needed by main executable

but not afraid i search for it here is the link that i find the answer

@RoushaanRj
RoushaanRj commented on May 16, 2022
1- $ termux-change-repo
2- select "main repository"
3- Then select "Mirror b6 BFSU"
4- Ok
5- restart your app
6- Now you can fix it.

 

so try again and use the command once more


wget https://github.com/v2fly/v2ray-core/releases/download/v5.3.0/v2ray-android-arm64-v8a.zip

so you download the zip now you must

unzip it by this command


unzip v2ray-android-arm64-v8a.zip

install screeen by this command


apt install screen

you must scrren v2ray


screen -S v2ray

now run v2ray and config it


./v2ray run -C config.json

on the directory that you maked , we have a file that name is "config.jason"


unzip v2ray-android-arm64-v8a.zip

i found the config file from 教程:https://zsxwz.com/2020/12/26/


"inbounds": [
    {
      "tag": "proxy",
      "port": 1080,
      "listen": "0.0.0.0",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "auth": "noauth",
        "udp": true
      }
    },
    {
      "listen": "0.0.0.0",
      "port": 8080,
      "protocol": "http",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "auth": "noauth",
        "udp": true
      },
      "tag": "http"
    }
  ]
  
  
  
  

Comments

Popular posts from this blog

how to install Live Kali Linux that is persistence on a USB