You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[**Getting Started**](#-quick-start) - Get up and running in 5 minutes
14
+
-[**API Documentation**](#-api-documentation) - Complete API reference
15
+
-[**FAQ**](#-frequently-asked-questions-faq) - Common questions answered
16
+
-[**Contributing**](CONTRIBUTING.md) - How to contribute to the project
17
+
-[**Changelog**](CHANGELOG.md) - Version history and updates
18
+
11
19
## 📑 Table of Contents
12
20
13
21
-[Screenshots](#screenshots)
@@ -20,6 +28,7 @@ A containerized secure proxy with advanced filtering capabilities, real-time mon
20
28
-[Monitoring and Analytics](#-monitoring-and-analytics)
21
29
-[Database Export and Backup](#-database-export-and-backup)
22
30
-[Testing and Validation](#-testing-and-validation)
31
+
-[FAQ](#-frequently-asked-questions-faq)
23
32
-[Troubleshooting](#-troubleshooting)
24
33
-[API Documentation](#-api-documentation)
25
34
-[Security Best Practices](#-security-best-practices)
@@ -194,6 +203,25 @@ secure-proxy-manager/
194
203
195
204
**Note:** To customize these values, modify them in `docker-compose.yml` before starting the services.
196
205
206
+
### 🔐 Security Configuration
207
+
208
+
**Important Security Considerations:**
209
+
210
+
1.**Change Default Credentials**: The default username and password (`admin`/`admin`) should be changed immediately in production:
211
+
```yaml
212
+
# In docker-compose.yml, update both backend and web services:
213
+
- BASIC_AUTH_USERNAME=your_secure_username
214
+
- BASIC_AUTH_PASSWORD=your_secure_password
215
+
```
216
+
217
+
2. **HTTPS for Web UI**: For production deployments, use a reverse proxy (e.g., nginx, Traefik) with SSL/TLS to secure the web interface.
218
+
219
+
3. **Network Isolation**: Consider running the proxy in an isolated network segment with strict firewall rules.
220
+
221
+
4. **Regular Updates**: Keep the system and Docker images updated with security patches.
222
+
223
+
5. **Audit Logs**: Regularly review access logs and security events for suspicious activity.
224
+
197
225
### Security Features
198
226
199
227
| Feature | Description | Configuration |
@@ -414,6 +442,102 @@ To test if blacklisting works:
414
442
2. Attempt to access a resource from that IP or domain
415
443
3. Verify the request is blocked (check logs)
416
444
445
+
### Running the Test Suite
446
+
447
+
Execute the comprehensive end-to-end test suite:
448
+
449
+
```bash
450
+
# Make sure services are running
451
+
docker-compose up -d
452
+
453
+
# Run tests
454
+
cd tests
455
+
python3 e2e_test.py
456
+
457
+
# Run with verbose output
458
+
python3 e2e_test.py -v
459
+
```
460
+
461
+
## ❓ Frequently Asked Questions (FAQ)
462
+
463
+
### General Questions
464
+
465
+
**Q: What is Secure Proxy Manager?**
466
+
A: It's a containerized web proxy solution built on Squid with a modern management interface for filtering, monitoring, and controlling web traffic.
467
+
468
+
**Q: Is this suitable for production use?**
469
+
A: Yes, but ensure you follow security best practices, change default credentials, and properly configure SSL certificates for HTTPS filtering.
470
+
471
+
**Q: Can I use this in a corporate environment?**
472
+
A: Yes, it's designed for enterprise use with features like blacklisting, authentication, and detailed logging. Ensure compliance with your organization's policies.
473
+
474
+
### Installation & Setup
475
+
476
+
**Q: Which ports need to be open?**
477
+
A: Port 8011 (Web UI), 3128 (Proxy), and optionally 5001 (Backend API for direct access).
478
+
479
+
**Q: Can I change the default credentials?**
480
+
A: Yes! Modify `BASIC_AUTH_USERNAME` and `BASIC_AUTH_PASSWORD` in `docker-compose.yml` before starting the services.
481
+
482
+
**Q: How do I update to the latest version?**
483
+
A:
484
+
```bash
485
+
git pull
486
+
docker-compose down
487
+
docker-compose build --no-cache
488
+
docker-compose up -d
489
+
```
490
+
491
+
### Features & Usage
492
+
493
+
**Q: How do I import a large blacklist?**
494
+
A: Use the import API endpoints with a URL pointing to your blacklist file:
495
+
```bash
496
+
curl -X POST http://localhost:8011/api/domain-blacklist/import \
0 commit comments