42b73e1cc09ae9622fe2ae435eb0137f264e62d3
NexusGuard SD-WAN Suite
NexusGuard is an Enterprise Zero-Trust SD-WAN solution built with Go, Vue 3, and WireGuard.
System Architecture
This suite contains three main components:
- Server Core (Master/Hub): The central API and VPN Hub managing IPAM, routing, and
nftablesisolation. - Dashboard UI: The Admin web interface for managing users, devices, and firewall rules.
- Device Agent: A stealth background service for client machines that establishes secure WireGuard tunnels.
Complete Workflow Guide
1. Initial Setup & Creating the Admin (Terminal)
For maximum security, the initial administrator account cannot be created via the web. It must be created directly on the server via the terminal.
Inside the apps/server-core directory (or inside your docker container), run:
go run . -create-admin -user "admin" -pass "YourSecurePassword123"
(This command creates the superuser admin in the database).
2. Creating Regular Users (Web Dashboard)
- Open the Dashboard UI in your web browser.
- Log in using the
admincredentials created in Step 1. - Once logged in as
admin, you have the authorization to create regular User accounts for your team members. (Note: Public registration is disabled. Only theadmincan provision new users).
3. Registering a Device
- A User logs into the Dashboard UI using their assigned account.
- They click "+ New Device" and enter a recognizable name (e.g., "Johns-Laptop").
- The Dashboard will display a one-time Registration Token.
- The user copies this token and runs the agent installer on their machine:
sudo ./install_agent.sh --server-url "http://<SERVER_IP>:8080" --token "<REGISTRATION_TOKEN>" - The device connects, binds its Hardware ID securely, provisions its WireGuard keys, and appears as Online in the Dashboard.
Description