V2Ray VPN User Guide

Guide to use V2Ray VPN Client on Mobile, Windows, Linux and Mac, such as V2RayNG for Android, Shadowrocket for iOS and QuantumultX for iOS.

This page is a documentation for how to use V2Ray VPN applications for Android, iOS, Desktop and Linux server, such as V2RayNG for Android Moibles, Shadowrocket for iOS, V2RayN for Windows, ClashX for MacBook and etc.

Introduction

V2Ray may be the most advanced VPN technology, by cooperating with other tools, V2Ray can demonstrate different website access methods, so as to avoid detection and illustrate proxy access to the network. for example, use websocket and TLS to obfuscate network data to make it impossible to detect or consume a lot of detection resources, making detection more than worth the cost.

V2RayNG for Android

Download From Source    
Google Play Github APKPure
Import config from QRcode.
1: click + on the top right of V2RayNG
2: click "Import config from QRcode"
3: scan a QRcode which you get from a VPN provider.
4: click the logo on the bottom left of V2RayNG and make the connection to work.
Import config from Clipboard.
1. copy a VMess link which you get from a vpn provider.
2. click + on the top left of V2RayNG.
3. click "Import config from Clipboard".
4. click the logo on the bottom left of V2RayNG and make the connection to work.
// an example a V2RayNG format VMess url.
vmess://eyJhZGQiOiIxMDBtanAxMDAwMy53ZXJzZC54eXoiLCJhaWQiOiIyMzMiLCJob3N0IjoiMTAwbWpwMTAwMDMud2Vyc2QueHl6IiwiaWQiOiI2MGExN2NiOS0wODVjLTRkYTgtYTAzNS1jZDkyZmI4MzdmMTciLCJuZXQiOiJ3cyIsInBhdGgiOiJyMiIsInBvcnQiOiI0NDMiLCJwcyI6IlYyUkFZUSIsInNjeSI6ImNoYWNoYTIwLXBvbHkxMzA1Iiwic25pIjoiMTAwbWpwMTAwMDMud2Vyc2QueHl6IiwidGxzIjoidGxzIiwidHlwZSI6IiIsInYiOiIyIn0=

Click+

Click+

Click+

Click+

Click+

Click+

Click+

Click+


Shadowrocket for iOS

Download Shadowrocket from Appstore

Import config from QRcode.
1. click scan icon on the top left of Shadowrocket.
2. allow the Shadowrocket has the camera permission.
4. scan and import and then allow Shadowrocket has VPN permission.
5. click the enable button.
Import config from Clipboard.
1. copy a VMess url which your vpn provider given.
2. open Shadowrocket application.
4. add copied config to your list.
5. click the enable button.
// an example a Shadowrocket format VMess url.
vmess://Y2hhY2hhMjAtcG9seTEzMDU6YjZiMGJmNWQtZWFjMS00NzM1LThiNDYtNmJlYTYwZTEwZmQwQDEwMGdoazEwMDAxLndlcnNkLnh5ejo0NDM=?remarks=R2VPN&obfsParam=%7B%22Host%22:%22100ghk10101.wgwsd.xyz%22%7D&path=/r2&obfs=websocket&tls=1&peer=100ghk10101.wgwsd.xyz&mux=1&alterId=233

Click+

Click+

Click+


QuantumultX for iOS

Download Quantumult X from Appstore

Copy Quantumult X Vmess to configuration file.
1. click setting on bottom right.
2. click the link icon on the top right of Setting screen.
4. click the direction icon on the top right of configuration file screen.
5. click the [server_local] and then scrol down to line 182 and paste the VMess URI.
5. click the Right icon and save back to Home screen and then enable the VPN.
// an example a QuantumultX format VMess url.
vmess=100ghk10001.wewd.xyz:443, method=chacha20-poly1305, password=ab0afc33-4df5-44a8-ac27-e96c888514a8, obfs=wss, obfs-host=100ghk10001.werwe.xyz, obfs-uri=/r2, tls13=true, fast-open=false, udp-relay=false, tag=R2VPN

Click+

Click+

Click+

Click+

Click+


V2RayN for Windows

Download From Source
Github
  1. Download V2RayN from Github and unzip it.
  2. Double click “v2rayN.exe”, it will be open.
  3. Click “Add VMess Server” or other kinds.
  4. Input the server configurations and save.

Click+

Click+


ClashX for Mac

Download from Source      
ClashX Github ClashX Pro App Center
  1. Double click ClashX.dmg and install it, and then open ClashX
  2. Click ClashX icon on the tab bar, and navigate to “Config” -> “Open config folder”.
  3. Open “config.yaml” in an editor, set port and some proxy configurations.
  4. Save and exit.
  5. Change proxy mode to “Rule” or “Global”, set proxy to what you just set in config.yaml.

ClashX

ClashX

ClashX

ClashX

ClashX

ClashX

ClashX

ClashX


V2Ray for Linux

Download V2Ray from Github

execute below commnands one by one
  sudo mkdir -p /usr/bin/v2ray/
  sudo mkdir -p /etc/v2ray/
  sudo mkdir -p /var/log/v2ray/
  sudo mv v2ray v2ctl /usr/bin/v2ray/
  sudo mv config.json /etc/v2ray/
  sudo chmod +x /usr/bin/v2ray/*
  sudo mv v2ray.service '/etc/systemd/system/v2ray.service'
replace config.json contents to below
{
    "log": {
        "loglevel": "warning",
        "access": "/var/log/v2ray/access.log",
        "error": "/var/log/v2ray/error.log"
    },
    "inbounds": [
        {
            "port": "9001",
            "listen": "127.0.0.1",
            "protocol": "vmess",
            "settings": {
                "clients": [
                    {
                        "id": "75a4f17c-d013-4d67-8a1d-2860158ea8e4",
                        "alterId": 233
                    } 
                ]
            },
            "streamSettings": {
                "network": "ws",
                "wsSettings": {
                    "path": "/r2"
                }
            }
        } 
    ],
    "outbounds": [
        {
            "protocol": "freedom",
            "settings": { }
        }
    ]
}
set your proxy inbound port to 9001, and password to 75a4f17c-d013-4d67-8a1d-2860158ea8e4.