Skip to content

Check Methods

Check Methods

Xray Checker supports two methods for verifying proxy functionality:

IP Check Method (Default)

Terminal window
--proxy-check-method=ip

This method:

  1. Gets current IP without proxy
  2. Connects through proxy
  3. Gets IP through proxy
  4. Compares IPs to verify proxy is working

Benefits:

  • More reliable verification
  • Confirms actual proxy functionality
  • Detects transparent proxies

Configuration:

Terminal window
PROXY_CHECK_METHOD=ip
PROXY_IP_CHECK_URL=https://api.ipify.org?format=text
PROXY_TIMEOUT=30

Status Check Method

Terminal window
--proxy-check-method=status

This method:

  1. Connects through proxy
  2. Requests specified URL
  3. Verifies response status code

Benefits:

  • Faster verification
  • Lower bandwidth usage
  • Works with restrictive firewalls

Configuration:

Terminal window
PROXY_CHECK_METHOD=status
PROXY_STATUS_CHECK_URL=http://cp.cloudflare.com/generate_204
PROXY_TIMEOUT=30