Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

VyManager

> DevOps
Open source

Centralized SDN controller to configure, deploy and monitor multi-site VyOS routers via a modern web interface

397 stars0 likes1 views
WebsiteGitHub

About

Centralized SDN controller to configure, deploy and monitor multi-site VyOS routers via a modern web interface

VyManager

Multi-tenant network management platform to configure, deploy, and monitor VyOS instances across multiple sites. Quick Start · Documentation · Discord · Troubleshooting

Give us a ⭐ star to support us❤️


Table of Contents

  • About VyManager
  • Features
  • Screenshots
  • Quick Start
  • Prerequisites
  • Installation
    • Automated Script (Linux)
    • On-box (VyOS appliance)
    • Docker Setup
  • Configuration
  • Post‑Installation Setup Wizard
  • Managing Your Deployment
  • Managing Multiple VyOS Instances
  • Version‑Aware Architecture
  • Tech Stack
  • Development / Manual Setup
  • Security Considerations
  • AI Integration with VyMCP
  • Troubleshooting
  • Contributing
  • License
  • Support

About VyManager

VyManager is an open‑source, enterprise‑grade control plane for VyOS routers. It provides a modern web interface to manage multiple instances across different sites, with role‑based access control, live dashboards, and configuration deployment – all from a single pane of glass.

  • Multi‑site – organise routers into logical sites (e.g., datacenters, branch offices).
  • Version‑aware – supports VyOS 1.4, 1.5, and rolling releases.
  • Secure – API‑key authentication, encrypted SSH credentials, and fine‑grained permissions.
  • Extensible – built with Next.js, FastAPI, and PostgreSQL.

✨ Features

  • Centralised Management – add, remove, and configure VyOS instances from one UI.
  • Live Dashboards – real‑time interface counters, system info, network graphs, and WireGuard peers via GraphQL.
  • Role‑Based Access Control – OWNER, ADMIN, VIEWER per site.
  • Multi‑Version Support – automatically adapts features based on the connected VyOS version.
  • Docker‑First Deployment – runs anywhere with Docker Compose.
  • Light, Dark & Custom Themes – choose what suits you.

️ Screenshots

User Interface supports Light, Dark and Custom themes.


⚡ Quick Start

The fastest way to get VyManager running is with our automated install script (Linux only) or the manual Docker Compose method.

Before you begin, make sure your VyOS routers are API‑ready – see the Prerequisites section below.

  • Documentation: https://docs.vyprojects.org/
  • Community: Discord

Prerequisites

Regardless of which installation method you choose, you must first prepare your VyOS routers.

1. Docker & Docker Compose (for Docker setup)

  • If you use the automated script, it will install Docker and Docker Compose for you.
  • If you prefer Docker setup, ensure Docker and Docker Compose (v2) are installed on your host.

2. Enable the VyOS REST API and GraphQL

On each VyOS router you want to manage, SSH in and run:

bash
configure
set service https api keys id vymanager key YOUR_SECURE_API_KEY
set service https api rest
set service https api graphql
set service https api graphql authentication type key
commit
save
exit

[!IMPORTANT]

  • GraphQL is required for live dashboard data.
  • The API key you set here will be used in VyManager when adding the instance.
  • Keep this key secure – it grants full access to the router’s API.

Once these prerequisites are satisfied, proceed with your preferred installation method below.


Installation

Automated Script (Linux)

[!IMPORTANT]
The install script supports Ubuntu/Debian, Fedora, CentOS/RHEL, Arch Linux, and openSUSE. It automatically installs Docker, Docker Compose, and pulls the VyManager stack.

Run the following command as root or a user with sudo privileges:

bash
wget https://raw.githubusercontent.com/Community-VyProjects/VyManager/beta/install.sh && bash install.sh

The script will:

  • Check for Docker & Docker Compose, install them if missing.
  • Create a vymanager directory with a pre‑populated .env and docker-compose.yml.
  • Start all containers.
  • Show you the access URL.

[!NOTE]
Your VyOS routers must already have the REST API and GraphQL enabled (see Prerequisites). The script does not configure your routers – only VyManager itself.

On-box (VyOS appliance)

Run VyManager on the router it manages. Save the script, read it, then run it as vyos. Do not pipe curl into vbash.

bash
curl -fsSL https://raw.githubusercontent.com/Community-VyProjects/VyManager/beta/install-vyos.sh -o install-vyos.sh
less install-vyos.sh
vbash install-vyos.sh

Details (prompts, dest NAT, WAN warning): On-box VyOS install.


Docker Setup

Prerequisites (already covered above)

  • Docker and Docker Compose (v2) installed.
  • VyOS routers with the REST API and GraphQL enabled.

1. Create the Project Directory

bash
mkdir vymanager && cd vymanager

2. Create docker-compose.yml

Copy the docker-compose.yml from the repository, or use the snippet below:

…

3. Create the .env File

Create a .env file in the same directory. You must change the following values:

Variable Description Generate with
POSTGRES_PASSWORD Database password (must match in DATABASE_URL) openssl rand -hex 32
BETTER_AUTH_SECRET Session token secret (must be the same in both places in the file) openssl rand -base64 32
SSH_ENCRYPTION_KEY Encryption key for SSH private keys at rest openssl rand -hex 32
BETTER_AUTH_URL / NEXT_PUBLIC_APP_URL The URL users will use to access VyManager e.g., http://192.168.1.50:3000
TRUSTED_ORIGINS Comma‑separated list of all allowed origins e.g., http://192.168.1.50:3000,http://localhost:3000

Example .env (replace placeholders):

env
# Shared
BETTER_AUTH_SECRET=Change-This-To-Something-Secret

# Backend
DATABASE_URL=postgresql://vymanager:CHANGE_ME_POSTGRES_PASSWORD@postgres:5432/vymanager
FRONTEND_URL=http://frontend:3000
SSH_ENCRYPTION_KEY=Change-This-To-A-Hex-String

# Frontend
NODE_ENV=production
VYMANAGER_ENV=production
BETTER_AUTH_URL=http://:3000
NEXT_PUBLIC_APP_URL=http://:3000
BACKEND_URL=http://backend:8000
TRUSTED_ORIGINS=http://:3000,http://localhost:3000

[!WARNING]
Never commit the .env file to version control. Keep your secrets safe.

4. Start VyManager

bash
docker compose up -d

Wait a minute for all services to become healthy, then open your browser to http://:3000.


⚙️ Configuration

Custom CA Certificates

If your VyOS routers use certificates signed by a private CA, you can add your CA certificates to the backend container:

  1. Create a certs directory next to your docker-compose.yml:
    bash
    mkdir certs
  2. Place your PEM‑encoded .crt files inside:
    bash
    cp /path/to/my-ca.crt ./certs/
  3. Restart the backend:
    bash
    docker compose restart backend

[!NOTE]
All .crt files in that directory will be automatically imported on startup.


Post‑Installation Setup Wizard

On first visit, the onboarding wizard will guide you through:

  1. Create an admin account – your first user.
  2. Create your first site – e.g., "Headquarters".
  3. Add a VyOS instance – provide the host, port, API key, and version.

After completing the wizard, you’ll be logged in and redirected to the dashboard.


️ Managing Your Deployment

Updating VyManager

Run the update from the directory containing your docker-compose.yml file. For installations created by the automated script, this is /opt/vymanager:

bash
cd /opt/vymanager
docker compose pull && docker compose build --no-cache && docker compose up -d --force-recreate

This pulls the latest images, rebuilds the local services without using cached layers, and recreates the containers. Your PostgreSQL data remains in the postgres_data volume. If you created the deployment manually, run the same command from your project directory instead.

Common Docker Commands

bash
# View logs
docker compose logs -f

# Stop all services
docker compose down

# Restart
docker compose restart

# Pull latest images and restart services
docker compose pull
docker compose up -d

# Remove everything (including database volume)
docker compose down -v

️ Managing Multiple VyOS Instances

Adding More Sites

  1. Navigate to Site Manager (click VyOS logo in sidebar)
  2. Click "Add Site" button
  3. Enter site name and description
  4. Click "Create Site"

Adding Instances to a Site

  1. In Site Manager, select a site from the list
  2. Click "Add Instance" button
  3. Fill in instance details:
    • Name: Friendly name for this router
    • Description: Optional notes
    • Host: IP address or hostname
    • Port: HTTPS port (default 443)
    • API Key: The key from VyOS configuration
    • Version: Select 1.4 or 1.5
    • Protocol: HTTPS (recommended) or HTTP
  4. Click "Complete Setup"

Connecting to an Instance

  1. Navigate to Site Manager
  2. Select a site
  3. Click "Connect" on any instance card
  4. VyManager will test the connection, verify API credentials, and redirect you to the dashboard
  5. You can now manage that VyOS router!

Switching Between Instances

  • Click "Disconnect Instance" in the sidebar
  • You'll return to Site Manager
  • Connect to a different instance

Version‑Aware Architecture

VyManager supports multiple VyOS versions (1.4, 1.5+) using a version‑aware backend architecture.

How It Works

The backend uses a three‑layer architecture:

Routers (API Endpoints)
    ↓
Builders (Batch Operations)
    ↓
Mappers (Version‑Specific Commands)
    ↓
VyOS Device (1.4 or 1.5)

Every feature exposes a /capabilities endpoint that tells the frontend which features are available for the connected VyOS version. The frontend conditionally shows/hides features based on these capabilities.

[!NOTE]
This design ensures that VyManager remains compatible with future VyOS releases without requiring major rewrites.


Tech Stack

Frontend

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS v4
  • UI Components: shadcn/ui
  • Icons: Lucide React
  • Authentication: Better‑auth
  • State Management: Zustand
  • Database ORM: Prisma

Backend

  • Framework: FastAPI
  • Language: Python 3.11+
  • VyOS SDK: pyvyos (custom)
  • Database: PostgreSQL
  • DB Driver: asyncpg

Infrastructure

  • Container: Docker & Docker Compose
  • Database: PostgreSQL 16
  • Container Registry: GitHub Container Registry (ghcr.io)

‍ Development / Manual Setup

If you want to contribute or run VyManager from source, follow the instructions below.

Frontend Development

bash
cd frontend

# Install dependencies
npm install

# Run dev server (with hot reload)
npm run dev

# Type check
npm run type-check

# Lint
npm run lint

# Build for production
npm run build

Backend Development

bash
cd backend

# Create virtual environment
python3 -m venv venv
source venv/bin/activate  # On

Issues· 10 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcentral-managementdeploymentfirewallgui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理