logo
icon

Xray(v2ray)

A platform for building proxies to bypass network restrictions.

PlatformZeabur
Deployed1507
PublisherauthorLovelyGuYiMeng
Deployed1507 times
PublisherLovelyGuYiMeng
Created2025-01-22
Services
service icon
service icon

Xray

Configure Xray 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 Xray configuration file.
  3. Restart Xray.

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 vless 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 Xray 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.