corevpn-config
Configuration management for CoreVPN - server and client configuration.
Features
- Server Configuration: Complete server settings management
- Client Config Generation:
.ovpnfile generation - TOML Format: Human-readable configuration files
- Validation: Configuration validation and defaults
- Ghost Mode: Zero-logging privacy configuration
Usage
use ;
// Load server configuration
let config = load?;
// Generate client configuration
let generator = new;
let client_config = generator.generate_client_config?;
// Save .ovpn file
write?;
Configuration Example
[]
= "0.0.0.0:1194"
= "vpn.example.com"
[]
= "10.8.0.0/24"
= ["1.1.1.1", "1.0.0.1"]
[]
= "chacha20-poly1305"
= "1.3"
[]
= "memory" # or "none" for ghost mode
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.