Skip to content

chaterm/Guardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Enterprise Zero Trust Network & Secure Access Gateway

Guardian is an enterprise-grade zero-trust network and content security access control system based on the WireGuard protocol and application layer gateway.


Overview

Guardian is a next-generation enterprise zero trust access platform that combines:

  • WireGuard mesh networking
  • Application-layer secure gateway
  • Identity-aware access control
  • Content security inspection
  • Enterprise audit & governance
  • Secure AI infrastructure access

Unlike traditional VPN solutions, Guardian does not only provide connectivity.

It provides:

  • Secure infrastructure access
  • Secure internal application publishing
  • Fine-grained security policies
  • Content-aware protection
  • Full auditability
  • Unified identity & security governance

Why Guardian?

Traditional VPNs only solve network connectivity.

Modern enterprises additionally need:

  • SSO + MFA
  • Secure Git access
  • Kubernetes access governance
  • API security
  • Content filtering
  • Security auditing
  • AI infrastructure protection
  • Internal application publishing
  • Zero trust access policies

Architecture

High-Level System Architecture

                                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                    β”‚   Identity Provider β”‚
                                    β”‚  SSO / OAuth / MFA  β”‚
                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                              β”‚
                                              β–Ό

                           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                           β”‚      Guardian Control Plane     β”‚
                           │─────────────────────────────────│
                           β”‚ β€’ Identity & Access Control     β”‚
                           β”‚ β€’ Policy Engine                 β”‚
                           β”‚ β€’ Device Management             β”‚
                           β”‚ β€’ Audit & Compliance            β”‚
                           β”‚ β€’ Security Analytics            β”‚
                           β”‚ β€’ Content Security Policies     β”‚
                           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                         β”‚
                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚                                             β”‚
                  β–Ό                                             β–Ό

      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”‚ WireGuard Mesh Network     β”‚         β”‚ Secure Application Gateway β”‚
      │────────────────────────────│         │────────────────────────────│
      β”‚ β€’ P2P Connectivity         β”‚         β”‚ β€’ Reverse Proxy            β”‚
      β”‚ β€’ NAT Traversal            β”‚         β”‚ β€’ SSO Authentication       β”‚
      β”‚ β€’ Route Management         β”‚         β”‚ β€’ MFA Enforcement          β”‚
      β”‚ β€’ Encrypted Overlay        β”‚         β”‚ β€’ Access Policies          β”‚
      β”‚ β€’ Multi-network Support    β”‚         β”‚ β€’ Secure Publishing        β”‚
      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚                                      β”‚
                     β–Ό                                      β–Ό

         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚ Infrastructure Layer β”‚             β”‚ Content Security Engine  β”‚
         │──────────────────────│             │──────────────────────────│
         β”‚ β€’ SSH Servers        β”‚             β”‚ β€’ DLP Inspection         β”‚
         β”‚ β€’ Kubernetes         β”‚             β”‚ β€’ API Security           β”‚
         β”‚ β€’ Databases          β”‚             β”‚ β€’ AI/LLM Protection      β”‚
         β”‚ β€’ Cloud VPCs         β”‚             β”‚ β€’ Sensitive Data Scan    β”‚
         β”‚ β€’ Internal Services  β”‚             β”‚ β€’ Audit Logging          β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Core Capabilities

Zero Trust Private Network

Guardian builds an encrypted private mesh network using WireGuard.

Features include:

  • Peer-to-peer encrypted connectivity
  • NAT traversal
  • Multi-platform support
  • Route management
  • Private DNS
  • Site-to-site networking
  • Multi-network segmentation
  • Kubernetes integration

Secure Application Gateway

Guardian securely exposes internal applications through:

  • Identity-aware reverse proxy
  • SSO integration
  • MFA enforcement
  • Access policy evaluation
  • Secure browser access
  • Public/private application publishing

Supported applications:

  • GitLab
  • Jenkins
  • Grafana
  • Kibana
  • Kubernetes Dashboard
  • Internal APIs
  • Admin systems

Content Security Access Control

Guardian adds content-aware security capabilities beyond traditional VPN solutions.

Examples

Git Security

Prevent:

  • Secret leakage
  • Credential commits
  • Sensitive repository cloning
  • Unauthorized Git operations

API Security

Inspect and control:

  • Sensitive API requests
  • Dangerous payloads
  • Internal token leakage
  • Data exfiltration attempts

AI & LLM Security

Protect:

  • Internal prompts
  • Enterprise knowledge
  • MCP servers
  • AI agents
  • Vector databases

HTTP Content Filtering

Support:

  • URL filtering
  • Header inspection
  • Request body inspection
  • Response filtering
  • DLP policies
  • Sensitive keyword detection

Enterprise Audit & Compliance

Guardian provides enterprise-grade security auditing capabilities.

Audit Logs

Track:

  • User login activity
  • Device access
  • SSH sessions
  • Application access
  • Policy decisions
  • Security events
  • Content filtering actions

Compliance

Designed for:

  • SOC2
  • ISO27001
  • Internal governance
  • Security operation teams

Session Traceability

Every operation becomes:

  • Traceable
  • Searchable
  • Auditable
  • Exportable

Guardian vs Traditional VPN

Capability Traditional VPN Guardian
WireGuard Networking Partial βœ…
Zero Trust Access ❌ βœ…
SSO + MFA Limited βœ…
Application Gateway ❌ βœ…
Content Security Policies ❌ βœ…
Security Auditing Weak βœ…
AI/LLM Access Security ❌ βœ…
Enterprise Governance Weak βœ…
Kubernetes Access Control Limited βœ…

Typical Use Cases

Secure Developer Access

Securely access:

  • GitLab
  • Kubernetes
  • SSH servers
  • Databases
  • Internal APIs

without exposing infrastructure to the public internet.


Secure AI Infrastructure

Protect:

  • LLM gateways
  • MCP servers
  • AI agents
  • Vector databases
  • Internal knowledge systems

through identity-aware security policies.


Multi-Cloud Enterprise Networking

Securely connect:

  • AWS
  • Azure
  • GCP
  • Kubernetes clusters
  • On-premise datacenters
  • Remote developers

through a unified encrypted mesh network.


Build Guardian From Source

Guardian clients require elevated privileges to configure networking and WireGuard interfaces.

Environment Requirements

  • Go version 1.25.5+
  • Available Guardian Management / Signal endpoints
  • Setup Key or existing network access

Build Client

cd guardian
go mod tidy

CGO_ENABLED=0 go build -o guardian ./client

Run Guardian Client

Guardian requires root / Administrator privileges.

Mode A β€” Daemon + CLI

Install and start the Guardian service:

sudo ./guardian service install
sudo ./guardian service start

sudo ./guardian up --log-level debug --log-file console

Mode B β€” Foreground Mode

Run without daemon:

sudo ./guardian up --foreground-mode --log-level debug --log-file console

Shortcut:

sudo ./guardian up -F

This mode is recommended for:

  • Development
  • Debugging
  • Local testing

Build Guardian UI

Build the UI client:

go build -o guardian-ui ./client/ui

Run UI:

sudo ./guardian-ui

The UI still relies on Guardian backend networking capabilities.


Run UI With Daemon

sudo ./guardian service install
sudo ./guardian service start

sudo ./guardian-ui

Troubleshooting

Cannot connect to daemon

Check whether:

  • foreground mode is enabled
  • guardian service is running

Permission denied

Run with:

sudo

or Administrator privileges on Windows.

Cannot join network

Check:

  • Management / Signal endpoint connectivity
  • System time synchronization
  • Proxy settings

About

Guardian is an enterprise-grade zero-trust network and content security access control system based on the WireGuard protocol and application layer gateway.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors