
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 usernameSystem 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:
- Python 3.11 Setup - Installs Python 3.11 if not present
- Chromium Browser - Installs on Ubuntu Jammy systems
- Virtual Environment - Creates isolated Python environment
- Dependencies - Installs all required Python packages
- Service Configuration - Sets up systemd service with port
8191
CLI Commands
Basic Operations
| Command | Description |
|---|---|
qb install flaresolverr -u username | Install FlareSolverr for a user |
qb reinstall flaresolverr -u username | Reinstall FlareSolverr (clean reinstall) |
qb update flaresolverr -u username | Update to latest version |
qb remove flaresolverr -u username | Remove FlareSolverr completely |
Usage Examples
Install FlareSolverr:
qb install flaresolverr -u myuserUpdate FlareSolverr:
qb update flaresolverr -u myuserReinstall (fix corrupted installation):
qb reinstall flaresolverr -u myuserRemove FlareSolverr and clean up:
qb remove flaresolverr -u myuserEnhanced 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@usernameRestart Service
systemctl restart flaresolverr@usernameStop Service
systemctl stop flaresolverr@usernameView Live Logs
journalctl -u flaresolverr@username -fCheck Service Health
Verify FlareSolverr is responding:
curl http://localhost:8191You 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:
Configuration
Directory Structure
FlareSolverr files are organized as follows:
Default Configuration
FlareSolverr is configured with sensible defaults:
- Port:
8191(localhost only) - Host:
localhost(not exposed externally for security) - CAPTCHA Solver:
hcaptcha-solverenabled - 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.serviceAvailable 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@usernameSecurity 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:
- Navigate to Settings → Indexers → FlareSolverr
- Add new FlareSolverr instance
- Enter URL:
http://localhost:8191 - 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:
- Open Jackett web interface
- Click FlareSolverr API URL at top
- Enter:
http://localhost:8191 - 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 URLrequest.post- POST request to protected URLsessions.create- Create a persistent sessionsessions.list- List active sessionssessions.destroy- Destroy a session
Accessing FlareSolverr
After installation, verify access:
curl http://localhost:8191Expected 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.11Chromium 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 usernameConnection 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@usernamePython 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 usernamePermission 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@usernameUse 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
Related Applications
FlareSolverr works seamlessly with these automation tools:
Compatible Applications
Install these applications alongside FlareSolverr for complete automation
Join the Community
Media server operators sharing configs, getting support, and shaping the future of QuickBox Pro.