Skip to Content
FlareSolverr

FlareSolverr

Bypass Cloudflare and DDoS-GUARD protection for automation tools

FlareSolverr - Cloudflare & DDoS-GUARD Bypass Proxy

FlareSolverr is a proxy server designed to bypass Cloudflare and DDoS-GUARD protection mechanisms. It acts as a middleware between your automation tools (like Prowlarr, Jackett, or custom scripts) and protected websites, solving challenges and returning clean responses.


What is FlareSolverr?

FlareSolverr solves the problem of accessing websites protected by anti-bot services:

  • Cloudflare Bypass - Automatically solve Cloudflare challenges
  • DDoS-GUARD Support - Handle DDoS-GUARD protection mechanisms
  • API-Based - Simple REST API for easy integration
  • Browser Emulation - Uses real browser engines to appear legitimate
  • Challenge Solving - Handles JavaScript challenges, CAPTCHAs, and cookies
  • Session Management - Maintains sessions for repeated access

Use Case

FlareSolverr is primarily used with indexer managers like Prowlarr and Jackett to access torrent indexers that are protected by Cloudflare or similar services.


Installation

Install FlareSolverr

Install FlareSolverr for a specific user:

qb install flaresolverr -u username

System Requirements

FlareSolverr requires Python 3.11 and Chromium browser (automatically installed on Ubuntu Jammy). The installation creates an isolated Python virtual environment to ensure compatibility.

Installation Process

The installation automatically handles:

  1. Python 3.11 Setup - Installs Python 3.11 if not present
  2. Chromium Browser - Installs on Ubuntu Jammy systems
  3. Virtual Environment - Creates isolated Python environment
  4. Dependencies - Installs all required Python packages
  5. Service Configuration - Sets up systemd service with port 8191

CLI Commands

Basic Operations

CommandDescription
qb install flaresolverr -u usernameInstall FlareSolverr for a user
qb reinstall flaresolverr -u usernameReinstall FlareSolverr (clean reinstall)
qb update flaresolverr -u usernameUpdate to latest version
qb remove flaresolverr -u usernameRemove FlareSolverr completely

Usage Examples

Install FlareSolverr:

qb install flaresolverr -u myuser

Update FlareSolverr:

qb update flaresolverr -u myuser

Reinstall (fix corrupted installation):

qb reinstall flaresolverr -u myuser

Remove FlareSolverr and clean up:

qb remove flaresolverr -u myuser

Enhanced Features

FlareSolverr on QuickBox Pro includes several production-ready features:

🐍 Python 3.11 Environment

Isolated virtual environment with Python 3.11 for optimal compatibility and performance

🌐 Browser Automation

Uses Chromium to emulate real browser behavior and solve JavaScript challenges

🔄 Automatic Updates

Easy updates via CLI commands with automatic dependency management

🎯 CAPTCHA Solving

Built-in hCaptcha solver for handling protected sites requiring CAPTCHA verification

Performance Optimized

Lightweight proxy with efficient resource usage and fast response times

🔒 User Isolation

Runs under user context with dedicated directories for security and multi-user support


Service Management

FlareSolverr runs as a systemd service for reliable operation:

Check Service Status

systemctl status flaresolverr@username

Restart Service

systemctl restart flaresolverr@username

Stop Service

systemctl stop flaresolverr@username

View Live Logs

journalctl -u flaresolverr@username -f

Check Service Health

Verify FlareSolverr is responding:

curl http://localhost:8191

You should see: FlareSolverr is ready!

Automatic Recovery

The FlareSolverr service is configured to automatically restart on failure with a 5-second delay, ensuring continuous availability for your automation tools.


Supported Integrations

FlareSolverr integrates seamlessly with your automation stack:

🔍

Indexer Managers

🎬

PVR Applications

🛡️

Protection Bypass

CloudflareDDoS-GUARDJavaScript ChallengeshCaptcha
⚙️

API Features

REST APISession ManagementGET/POST RequestsCookie Handling

Configuration

Directory Structure

FlareSolverr files are organized as follows:

/opt/username
FlareSolverr/# Application directory
├── src/# Source code
└── requirements.txt# Python dependencies
lib/python/FlareSolverr/# Python environment
└── .venv/# Virtual environment

Default Configuration

FlareSolverr is configured with sensible defaults:

  • Port: 8191 (localhost only)
  • Host: localhost (not exposed externally for security)
  • CAPTCHA Solver: hcaptcha-solver enabled
  • Working Directory: /opt/username/FlareSolverr
  • Python Environment: /opt/username/lib/python/FlareSolverr/.venv
  • Temporary Directory: /home/username/tmp/FlareSolverr

Advanced Configuration

To modify FlareSolverr settings, edit the systemd service:

sudo nano /etc/systemd/system/flaresolverr@username.service

Available environment variables:

# CAPTCHA solver backend (hcaptcha-solver) Environment="CAPTCHA_SOLVER=hcaptcha-solver" # Port for the proxy server Environment="PORT=8191" # Host binding (localhost for security) Environment="HOST=localhost" # Temporary directory for browser profiles Environment="TMPDIR=/home/%i/tmp/FlareSolverr"

After editing, reload and restart:

sudo systemctl daemon-reload sudo systemctl restart flaresolverr@username

Security Notice

Keep FlareSolverr bound to localhost only. Exposing it externally can allow unauthorized access and potential abuse of your server resources.


Integration with Automation Tools

Prowlarr Integration

Configure FlareSolverr in Prowlarr:

  1. Navigate to Settings → Indexers → FlareSolverr
  2. Add new FlareSolverr instance
  3. Enter URL: http://localhost:8191
  4. Save and test connection

Per-Indexer Configuration:

  • Edit indexer settings
  • Enable FlareSolverr for specific indexers
  • Set FlareSolverr tags if needed

Jackett Integration

Configure FlareSolverr in Jackett:

  1. Open Jackett web interface
  2. Click FlareSolverr API URL at top
  3. Enter: http://localhost:8191
  4. Save configuration

For specific indexers:

  • Edit indexer
  • Enable “FlareSolverr” option
  • Save changes

API Usage

FlareSolverr provides a REST API for custom integrations:

Basic request:

curl -X POST http://localhost:8191/v1 \ -H "Content-Type: application/json" \ -d '{ "cmd": "request.get", "url": "https://protected-site.com", "maxTimeout": 60000 }'

Available commands:

  • request.get - GET request to protected URL
  • request.post - POST request to protected URL
  • sessions.create - Create a persistent session
  • sessions.list - List active sessions
  • sessions.destroy - Destroy a session

Accessing FlareSolverr

After installation, verify access:

curl http://localhost:8191

Expected response:

FlareSolverr is ready!

Testing with a Protected Site

curl -X POST http://localhost:8191/v1 \ -H "Content-Type: application/json" \ -d '{ "cmd": "request.get", "url": "https://example-protected-site.com" }'

Troubleshooting

Common Issues

FlareSolverr not starting:

# Check service status systemctl status flaresolverr@username # View recent logs journalctl -u flaresolverr@username -n 50 # Check Python environment ls -la /opt/username/lib/python/FlareSolverr/.venv/bin/python3.11

Chromium browser errors:

# Verify Chromium installation (Ubuntu Jammy) which chromium-browser # Check for missing dependencies ldd /usr/bin/chromium-browser | grep "not found" # Reinstall FlareSolverr qb reinstall flaresolverr -u username

Connection timeout errors:

# Increase timeout in service file sudo nano /etc/systemd/system/flaresolverr@username.service # Add: Environment="TIMEOUT=120000" # Reload and restart sudo systemctl daemon-reload sudo systemctl restart flaresolverr@username

Python version issues:

# Verify Python 3.11 /usr/bin/python3.11 --version # Reinstall Python 3.11 if needed qb fix python # Reinstall FlareSolverr qb reinstall flaresolverr -u username

Permission errors:

# Check ownership ls -la /opt/username/FlareSolverr ls -la /opt/username/lib/python/FlareSolverr # Fix permissions sudo chown -R username:username /opt/username/FlareSolverr sudo chown -R username:username /opt/username/lib/python/FlareSolverr sudo chown -R username:username /home/username/.config/chromium # Restart service systemctl restart flaresolverr@username

Use Cases

Indexer Access

Bypass Cloudflare protection on torrent indexers:

  • Prowlarr - Automatic indexer management
  • Jackett - Torrent indexer aggregation
  • Sonarr/Radarr - Via Prowlarr/Jackett integration

Web Scraping

Access protected content for legitimate purposes:

  • API Development - Test APIs behind protection
  • Data Collection - Access public data on protected sites
  • Monitoring - Check availability of protected services

Automation

Enable automation tools to work with protected sites:

  • RSS Feeds - Access protected RSS feeds
  • Download Automation - Handle protected download links
  • Content Monitoring - Track changes on protected pages

Ethical Use

FlareSolverr should only be used for legitimate purposes and in compliance with website terms of service. Do not use it to bypass protections for malicious activities or to violate copyright laws.


Performance Optimization

Resource Usage

FlareSolverr uses moderate resources:

  • RAM: ~200-500 MB per instance (includes Chromium)
  • CPU: Low usage when idle, moderate during challenge solving
  • Disk: ~500 MB for application and dependencies

Optimization Tips

Reduce memory usage:

  • Limit concurrent requests in automation tools
  • Set reasonable timeouts (30-60 seconds)
  • Use session management for repeated access

Improve response time:

  • Keep service running (avoid cold starts)
  • Use persistent sessions for same domain
  • Monitor logs for bottlenecks

Security Best Practices

Do

  • Keep FlareSolverr bound to localhost only for security
  • Run regular updates with qb update flaresolverr -u username
  • Monitor logs for suspicious activity or abuse
  • Use per-user isolation for multi-user environments
  • Set reasonable timeouts (30-60 seconds) to prevent resource exhaustion
  • Use session management for repeated access to the same domain

Don't

  • Don't expose port 8191 externally - it allows unauthorized access
  • Don't use FlareSolverr for malicious activities or ToS violations
  • Don't run multiple instances without resource monitoring
  • Don't ignore Chromium browser errors - they indicate missing dependencies
  • Don't set extremely long timeouts that could hang requests

Hardening

For additional security:

# Check that service is localhost-bound sudo netstat -tlnp | grep 8191 # Verify user isolation ps aux | grep flaresolverr # Monitor for errors journalctl -u flaresolverr@username --since "1 hour ago"

Resources


FlareSolverr works seamlessly with these automation tools:

Compatible Applications

Install these applications alongside FlareSolverr for complete automation

🔍

Indexer Management

🎬

Media Automation


Join the Community

Media server operators sharing configs, getting support, and shaping the future of QuickBox Pro.

Dedicated Support
Feature Previews
Community Configs
Active Discussions
Join Discord Server