logo
icon

v2ray

A platform for building proxies to bypass network restrictions.

PlatformZeabur
Deployed21
PublisherLovelyGuYiMeng
Deployed21 times
PublisherLovelyGuYiMeng
Created2025-01-22
Services
service icon
service icon

v2ray

Configure v2ray Proxy

  1. First, open the v2rayN client, add a server, and click "Generate" under the User ID section to get a random ID.
  2. Fill the generated random User ID into the v2ray configuration file.
  3. Restart v2ray.

Configure Nginx Web Page Camouflage

  1. Place the static webpage file index.html into the /usr/share/nginx/html folder.

How to Connect to the Proxy

  1. Add a server in any client that supports the vmess protocol.
  2. Set the address to the domain name of Nginx and the port to 443.
  3. Set the User ID to the ID specified in the v2ray configuration file.
  4. Choose "ws" as the transport protocol and set the path to /ws.
  5. Select "tls" for transport layer security.

Final Effect

  • Accessing the domain directly via a browser will display the camouflaged static webpage.
  • Accessing the domain+/ws via a browser will return Bad Request.
  • Connecting to the domain+/ws via a client will successfully connect to the proxy.

Warning

  • It is prohibited to deploy this service on shared clusters or other servers within mainland China; otherwise, you will bear the consequences.