FreeVPNNet

How to set up V2Ray / Xray on Android

V2Ray (VLESS over WebSocket and TLS) looks like normal HTTPS traffic on port 443, so it works on networks that block other VPNs. You import one connection link or scan a QR code.

Last reviewed

What you need

  • An active V2Ray configuration from this site
  • The connection link (vless://…) or the QR code from your configuration page

App

v2rayNG

Get it from GitHub

Official source only.

Where each detail goes

Account details and the matching fields in the app
On your configuration pageIn the app or settings
Connection link / QR codeImport from clipboard / Scan QR code — fills every field
Server, PortAddress, Port (443)
UUIDUser ID / UUID
Transport, Path, SNI, SecurityNetwork ws, path, SNI/host, TLS — already in the link

Steps

  1. Install the latest v2rayNG from its official GitHub releases page (link above).

    Illustration of step 1: Install the latest v2rayNG from its official GitHub releases page (link above).
    Illustration — your app may look slightly different.
  2. On your configuration page, copy the connection link, or show the QR code on another screen.

    Illustration of step 2: On your configuration page, copy the connection link, or show the QR code on another screen.
    Illustration — your app may look slightly different.
  3. In v2rayNG tap + → Import config from clipboard (or Import config from QR code).

    Illustration of step 3: In v2rayNG tap + → Import config from clipboard (or Import config from QR code).
    Illustration — your app may look slightly different.
  4. Tap the new server so it is selected, then tap the round V button and allow the VPN request.

    Illustration of step 4: Tap the new server so it is selected, then tap the round V button and allow the VPN request.
    Illustration — your app may look slightly different.

Check that it works

The app shows it is connected. Search the web for "what is my IP"; the location should match your server country.

Disconnect

Tap the round button again.

Tips

  • Only install v2rayNG from its official GitHub page or a store listing published by its developer.

Troubleshooting

Connected but no internet

Make sure you imported the newest link from your configuration page and that the configuration has not expired. Check that the app's time is correct; TLS needs an accurate clock.

TLS or certificate error

Update the app to its latest version. If your configuration page says the certificate is self-signed, follow the note shown there.

Import fails

Copy the whole link starting with vless:// using the copy button, then import from the clipboard again.