Skip to content

🛡️ OpenCMMC Stack

A Free and Open-Source Infrastructure Guide for CMMC Level 2 Compliance

This project provides a complete, secure, and modular self-hosted architecture to help small and medium-sized DoD contractors meet the requirements of CMMC Level 2 using open-source tools.

📚 Guide Overview

Section Title
00 Preface
01 Introduction to CMMC v2
02 Reference Architecture
03 Provisioning Infrastructure
04 Securing the Host OS
05 Identity & Access Management
06 Secure File Sharing (Nextcloud)
07 Secure Email (Mailcow)
08 Monitoring & Logging
09 Application Hosting (Podman)
10 Backup & Recovery
11 Policies & Procedures
12 Assessment & Readiness
13 Architecture Summary & Trust Boundaries
14 Deployment Guide
Phase 0: Planning
Phase 1: Terraform Provisioning
Phase 2: Ansible Hardening
Phase 3: Podman Services
Phase 3A: Nextcloud All-In-One
Phase 4: Identity & Certificate Management
Phase 5: Client Registration
Phase 6: Logging & Monitoring
Phase 7: Validation & Reporting
15 Security Operations Procedures (SecOps)
16 User Device Onboarding
17 Patch & Vulnerability Management
18 Incident Response
19 Data Flow & Trust Boundaries
20 Performance, Scaling & Cost Estimation
Appendix A: Acronyms
Appendix B: Resources

🔧 Technologies Used

  • Podman – Secure, rootless container runtime
  • Keycloak – Identity provider with SSO and MFA
  • Tailscale – Zero Trust VPN mesh
  • Nextcloud-All-In-One – Secure document collaboration
  • Mailcow – Self-hosted email
  • Wazuh – SIEM and endpoint monitoring
  • Ansible & Terraform – Infrastructure as Code
  • Restic & BorgBackup – Secure backup solutions
  • MkDocs + Mermaid – Documentation & diagrams

🧩 CMMC Domains Covered

This guide maps directly to all 14 CMMC Level 2 domains and their associated 110 practices as defined in NIST SP 800-171 Rev. 2.

📜 License

This project is released under the MIT License and is free to use, modify, and adapt.

🧠 Credits

Developed by cybersecurity professionals and community contributors focused on secure-by-design principles for the Defense Industrial Base.


For questions or contributions, please open an issue or submit a pull request.