Features
Key Features
CompassVPN is designed to provide secure, reliable, and easy-to-deploy VPN services with advanced monitoring capabilities. Here’s a breakdown of the core features:
Easy Deployment
Deploy your VPN server easily using a simple Web Panel for configuration.
- Simplified Startup: Get started quickly with a single command that clones the repository and launches the configuration panel.
- Web Panel Configuration: Configure all settings via a user-friendly Web Panel, including selecting desired connection types (Direct and/or Cloudflare CDN).
- Automatic SSL certificate generation: Using ZeroSSL or Let’s Encrypt.
- Integrated Cloudflare DNS management: Automatically handles DNS records.
- Flexible Connection Support: Works with direct server connections or configurations behind the Cloudflare CDN.
Enhanced Security
Protect your server and network traffic with multiple layers of security features.
- Automatic Blocking: Filters Torrents, Iranian websites, Ads, Malware, and Phishing sites using curated blocklists .
- Configuration Self-Testing: Verifies configuration validity using Xray-Knife.
- Fail2ban Integration: Protects against brute-force attacks and bad requests by monitoring logs.
- Automated UFW Firewall Configuration: Secures the server by managing firewall rules.
- NGINX Integration: Enhances security and resource efficiency by acting as a reverse proxy.
Complete Monitoring
Gain insights into performance and usage through comprehensive metrics collection.
- Centralized Dashboard: Integrates with Grafana Cloud or self-hosted Prometheus/Pushgateway via the
metric-forwarder
service. - Real-time Connection Statistics: Provided by
v2ray-exporter
. - Host System Resource Monitoring: Tracks CPU, memory, traffic, and more via
node-exporter
. - User Metrics: Tracks approximate unique active users and monitors blocked junk traffic requests for bandwidth optimization insights.
Scalability
Easily scale your VPN infrastructure horizontally.
- Effortless Replication: Replicate agent instances using Docker for rapid capacity expansion.
- High Availability: Stateless agent design simplifies horizontal scaling behind standard load balancers.
- Centralized Monitoring: The Manager component seamlessly handles metrics from numerous agents.
Network Optimization
Optimize bandwidth usage and connection routing for better performance.
- Efficient Connection Handling: NGINX web server improves efficiency.
- Bandwidth Savings Insights: Monitor blocked traffic requests to understand savings.
- Flexible Custom DNS Options: Choose Default, Cloudflare Security, ControlD, or provide custom DoU/DoT/DoH/DoQ servers.
- Outbound Connection Choice: Select between Direct or WARP outbound connections.
Advanced Connectivity
Utilize modern protocols and flexible connection options.
- WARP & Direct Outbound: Choose the best outbound connection method for your needs.
- WireGuard Integration: Used for WARP outbound connections, including automatic fallback.
- Selectable Inbounds: Choose specific VLESS connection types (TCP, WebSocket, QUIC) for both direct connections and Cloudflare CDN routes via the Web Panel (
XRAY_INBOUNDS
). - Automatic Configuration Rotation: Regularly rotates configurations based on a defined interval for enhanced security.
Intelligent Management
Benefit from automated maintenance and robust service management.
- Optional Automatic Updates: Keep the agent software current.
- Intelligent Process Monitoring: Uses Monit for robust service management and restarts.
- Configuration Self-Testing: Ensures generated configuration links are valid and working.
- Automated Configuration Rotation: Enhances security and freshness by periodically generating new configurations.
Deployment Features
- Cloudflare Integration: Automatic Cloudflare DNS management when CDN configs are selected and API credentials provided
- Flexible Configuration: Select direct and/or Cloudflare CDN configurations
- Automatic Certificate Management: TLS certificates via ZeroSSL or Let’s Encrypt
- Outbound Options: Choose between Direct or WARP outbound traffic
- Configuration Variety: Create different VPN configurations to match your needs
- Automatic Updates: Keep your Compass VPN current automatically
- Configuration Rotation: Enhance security with automatic credential rotation
Security Features
- Comprehensive Blocking: Automatically blocks torrents, malicious websites, ads, and malware
- Self-Testing: Configuration self-testing using Xray-Knife
- Enhanced Web Server: NGINX web server for better resource efficiency and security
- Custom DNS: Block unwanted traffic at egress, reducing bandwidth consumption
- Monitoring Integration: Free Grafana Cloud or Pushgateway integration