🏗️ Architectural Guide
A comprehensive high-level overview of the system architecture, design principles, and how all components interact together. Perfect for understanding the big picture without deep technical details.
- System architecture diagrams
- Component descriptions
- IP allocation strategy
- Data flow scenarios
- DNS resolution architecture
- Network namespace design
- Policy routing concepts
- Security model analysis
⚙️ Technical Reference
Complete line-by-line documentation of every configuration file and script. Explains what each line does, why it's implemented that way, and how it interacts with the rest of the system. For developers and engineers.
- internal.conf - DNS configuration
- wg0.conf - WireGuard setup
- wg0-up.sh - Startup script
- wg0-down.sh - Teardown script
- All 217 lines documented
- Code explanations
- Technical summaries
- Debugging tips
📂 Project Files
This system consists of 4 essential files that work together to create the complete split-tunnel routing solution. Each file has a specific role in the network configuration.
📋 internal.conf
dnsmasq DNS server configuration with custom local domain records and upstream DNS servers
🔐 wg0.conf
WireGuard interface configuration with private key, IP address, port, and lifecycle hooks
🚀 wg0-up.sh
Startup script (217 lines) that creates namespaces, starts OpenVPN, and configures routing
🛑 wg0-down.sh
Teardown script that gracefully removes all networking and returns system to clean state