Reality Proxy Setup Guide 2026 | Generated by AI

Home 2026.02

Question: How to use https://github.com/flq367/reality to install a proxy program on a server?

Answer:

The repository flq367/reality provides a simple one-click installation script for setting up Reality (typically referring to the VLESS + XTLS-Reality protocol in Xray-core setups), which is commonly used to create censorship-resistant proxies.

Installation Steps

  1. Connect to your server
    Use SSH to access your Linux server (Ubuntu/Debian, CentOS, or Alpine are common choices for such scripts).

  2. Run the one-click installation command
    Execute this command as root (or use sudo):

    bash <(curl -sL https://raw.githubusercontent.com/flq367/reality/main/r.sh)
    
    • This downloads and immediately runs the script r.sh.
    • The script usually handles:
      • Installing required dependencies
      • Downloading a pre-built Xray-core binary (with Reality support)
      • Generating keys and certificates
      • Creating a basic server configuration
      • Setting up systemd service (or equivalent) to run automatically
  3. During installation
    The script is interactive in most similar Reality installers. You will likely be asked to:
    • Choose a port (default often 443)
    • Enter a domain name / SNI / serverName (for Reality camouflage)
    • Select a fallback destination website (e.g. www.microsoft.com:443)
    • Generate or input public/private keys for Reality
    • Choose whether to enable uTLS fingerprinting, etc.

    Follow the on-screen prompts carefully.

  4. After installation finishes
    • The script typically shows:
      • Server configuration summary
      • VLESS Reality URL / share link (for clients like v2rayN, Nekobox, Hiddify, etc.)
      • Possibly login info if it installs a panel
    • Save the VLESS link immediately — it usually looks like:
      vless://uuid@your-server-ip:443?security=reality&...
  5. Common locations after install
    • Config file: usually /usr/local/etc/xray/config.json or /etc/xray/config.json
    • Binary: /usr/local/bin/xray
    • Service: systemctl status xray (or similar name)
  6. Test & manage
    • Check status: systemctl status xray (or the service name shown)
    • Restart: systemctl restart xray
    • View logs: journalctl -u xray -ef or check /var/log/xray/

Important Notes & Requirements

If the script doesn’t work or you want alternatives

Popular maintained options in 2026 include:

References:


Back Donate