rconfig logo

rconfig

rconfig/rconfig

๐Ÿš€ Modern open source Network Configuration Management (NCM) built with Laravel. Automated backups, configuration compliance, change detection, secure device management, and a fully modernized V8 architecture ready for production.

225stars PHP GPL-3.0 last commit 3ย days, 4ย hours ago
README.md


rConfig Logo

rConfig v8 Core

Enterprise-Grade Network Configuration Management
Free, Open Source, Community Edition

๐Ÿ“š Explore the Docs ยป

Quick Start ยท Features ยท Installation ยท Report Bug ยท Request Feature

CI License GitHub stars

PHP 8.4.28+ Laravel Vue 3 Vite MariaDB


๐ŸŽฏ About rConfig V8 Core

rConfig V8 Core is a free and open-source Network Configuration Management (NCM) platform. Back up, manage, and track network configs from one place.

โœจ What's new

Config Versioning & Diff
Track every config version. See what changed with side-by-side or inline diffs. View the full history for any device.

REST API
Manage devices, configs, templates, tasks, vendors, and more through the REST API. Use API keys for secure access.

API token permissions
rConfig Core has two account types, Admin and User, and no finer role-based access control. Only Admin accounts can create, list and delete REST API tokens. Every token has full Admin rights: it can do anything an Admin can do through the API. Treat tokens like an Admin password:

  • Create tokens only for trusted automation and integrations.
  • Store tokens in a secrets manager, never in scripts or source control.
  • Give each integration its own token, so you can revoke one without affecting the others.
  • Delete unused tokens under Settings > REST API.
  • If a token may have been exposed, delete it and create a new one.

Role-based access control with per-user permissions is available in rConfig Pro.

Data Purge & Retention
Set how long configs, config changes, the activity log and job records are kept under Settings > Data Purge. A nightly job at 02:30 removes anything older and records each run in a history. Every purge target is off until you enable it. See the Data Purge docs.

Configuration Search
Search all saved configs with one or more terms. Filter by tags, devices, command groups, or commands.

rConfig

Why Choose rConfig?

  • ๐Ÿ†• Config Versioning & Diff - Automatic version tracking and visual diffs (new in July 2026)
  • ๐Ÿ†• REST API (v1 & v2) - Token-authenticated programmatic access (new in July 2026)
  • ๐Ÿ†• Upgraded Configuration Search - Multi-term search with AND/OR matching and scope filters (new in July 2026)
  • ๐Ÿ†• Data Purge & Retention - Age-based retention for configs, logs and job records, purged nightly (new in November 2026)
  • ๐Ÿš€ Fast & Efficient - Optimized for high-performance configuration backups
  • ๐Ÿ”’ Secure - Built with security best practices from the ground up
  • ๐ŸŒ Multi-Vendor Support - Works with Cisco, Juniper, HP, and more
  • ๐Ÿ“ฆ Easy Deployment - Docker support for quick setup
  • ๐Ÿ’ฐ Cost-Free - No licensing fees, truly open source
  • ๐Ÿ› ๏ธ Actively Maintained - Regular updates and community support

(โฌ† back to top)


๐Ÿ“ธ Screenshots

See rConfig in action. Here's the dashboard to get you started:

rConfig Dashboard

๐Ÿ–ผ๏ธ Click to expand the full gallery โ€” 6 more screenshots
Devices ยท Config Search ยท Side-by-side Diffs ยท SSO ยท Notifications & more

Devices

Devices

Config Search

Search

Config Diffs

Diffs

Config Compare

Compare

Promo

Promo Image

SSO

SSO

Notifications

Notifications

๐Ÿ“˜ Documentation

Full V8Core documentation: https://v8coredocs.rconfig.com/getting-started/

โœจ Features

Core Features

  • โœ… Configuration Backup - Automated device backups
  • โœ… Multi-Vendor Support - Cisco, Juniper, HP, Dell, and more
  • โœ… Unlimited Devices - No artificial limits
  • โœ… Scheduled Tasks - Automated backup scheduling
  • ๐Ÿ†• Config Versioning & Diff - Automatic version tracking with inline and side-by-side diffs
  • ๐Ÿ†• REST API (v1 & v2) - Token-authenticated API with key management and built-in docs
  • ๐Ÿ†• Upgraded Configuration Search - Multi-term AND/OR search with tag, device, command group, and command filters
  • ๐Ÿ†• Data Purge & Retention - Retention periods for configs, logs and job records, with a nightly purge and run history

Technical Stack

  • ๐Ÿ”ง Laravel 13 - Modern PHP framework
  • ๐ŸŽจ Vue.js 3 - Reactive UI components
  • โšก Vite - Lightning-fast builds
  • ๐ŸŽจ shadcn/ui - Beautiful UI components
  • ๐Ÿณ Docker Ready - Container deployment
  • ๐Ÿ“Š MySQL/MariaDB - Reliable database

๐Ÿ†š rConfig Editions Comparison

Feature ๐Ÿ†“ rConfig Core ๐Ÿ’Ž rConfig Professional
Configuration Backup โœ… โœ…
Multi-Vendor Support โœ… โœ…
Unlimited Devices โœ… โœ…
Config Versioning & Diff โœ… โœ…
REST API Access (v1 & v2) โœ… โœ…
Configuration Search โœ… โœ…
Data Purge & Retention โœ… โœ…
Change Manager & Review Workflow โŒ โœ…
Enterprise Features โŒ โœ…
Priority Support โŒ โœ…
SLA Guarantees โŒ โœ…
๐Ÿ“‹ View Full Feature Comparison
Check out the complete feature list at rconfig.com/pricing

(โฌ† back to top)


๐Ÿš€ Quick Start

Get rConfig v8 Core up and running in minutes!

Option 1: ๐Ÿณ Docker (Recommended for Quick Testing)

For Docker installation, please use our dedicated Docker repository:

๐Ÿ‘‰ rconfig8coredocker

# install git and docker if you don't have them already
# For CentOS/RHEL/Rocky:
sudo yum install -y git docker docker-compose
sudo systemctl start docker
sudo systemctl enable docker
# For Ubuntu:

sudo apt-get update
sudo apt-get install -y git docker.io docker-compose
sudo systemctl start docker
sudo systemctl enable docker

# Clone the Docker repository
git clone https://github.com/rconfig/rconfig8coredocker.git
cd rconfig8coredocker

## Follow Steps in the official documentation for docker setup: https://v8coredocs.rconfig.com/installation-upgrades/v8-core/docker-setup/

To complete the setup, follow the remaining instructions in the V8 Core Docker documentation: https://v8coredocs.rconfig.com/installation-upgrades/v8-core/docker-setup/

Default credentials:

  • ๐Ÿ“ง Email: admin@domain.com
  • ๐Ÿ”‘ Password: admin

โš ๏ธ Important: Change these credentials immediately after first login!

Option 2: ๐Ÿ’ป Native Installation

See the Full Installation Guide below.

(โฌ† back to top)


๐Ÿ“ฆ Installation

For a full VM installation, refer to the documentation at https://v8coredocs.rconfig.com/getting-started/installation/ or follow the steps below. Please note, this installation method is more complex and is recommended for experienced users or production environments.

When setting up your VM, we have provided detailed instructions for both CentOS/RHEL/Rocky and Ubuntu. Please follow the steps that correspond to your operating system. and ensure you have the necessary prerequisites installed before proceeding.

๐Ÿ’ก Tip: We provide automated setup scripts! Visit v8coredocs.rconfig.com/getting-started/os-configuration/

Prerequisites

OS Requirements: System Requirements

Supported OS: Rocky Linux 8/9+ (recommended), CentOS 8/9+, RHEL 8/9+, Ubuntu 22.04+, Alma Linux 8/9+

Required Software: PHP 8.4.28 or later, Composer 2.4+, Apache 2.4+, MySQL 5.7+/MariaDB 10.5+, Node.js 14.17+, Git 2.25+, Supervisor 4.2+


๐Ÿ—„๏ธ Database Setup

# Login to mariadb/mysql
mysql -u root -p

# Create database
CREATE DATABASE rconfig;

# Create user (recommended for Ubuntu 22.04+)
CREATE USER 'rconfig_user'@'localhost' IDENTIFIED BY 'your_secure_password';
GRANT ALL PRIVILEGES ON rconfig.* TO 'rconfig_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

๐Ÿ“ฅ Installation Steps

# 1. Navigate to web directory
cd /var/www/html

# 2. Clone the repository
git clone https://github.com/rconfig/rconfig.git
cd rconfig

# 3. Create environment file
cp .env.example .env

# 4. Edit .env with your settings
nano .env

Update these variables in .env:

APP_URL="https://your-server.domain.com"
APP_DIR_PATH=/var/www/html/rconfig
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=rconfig
DB_USERNAME=rconfig_user
DB_PASSWORD=your_secure_password

๐Ÿ’ก Best practice: Set APP_URL to the exact URL users will use to access rConfig. It should also match the Apache ServerName below. rConfig may still work if APP_URL is left as a placeholder. However, password reset links and OAuth or SAML callbacks may be wrong.

# 5. Install PHP dependencies
export COMPOSER_ALLOW_SUPERUSER=1
composer self-update --2
yes | composer install --no-dev

# 6. Setup Apache
chmod +x setup_apache.sh
./setup_apache.sh

# 7. Setup Supervisor (run as root). Writes a root owned Horizon config into
#    /etc/supervisord.d (RHEL) or /etc/supervisor/conf.d (Ubuntu) that runs
#    Horizon as the web user. update.sh re-runs it on every upgrade.
chmod +x setup_supervisor.sh
sudo ./setup_supervisor.sh

# 8. Run the beautiful installation wizard, and answer yes to all prompts ๐ŸŽจ
php artisan v8core:install

๐ŸŽ‰ When prompted about the scheduler cron file, type yes and press Enter. This writes /etc/cron.d/rconfig-core, which runs the scheduler as the web user (never root), and removes any old rConfig V8 Core schedule:run line from root's crontab and the web user's crontab. If the installer is not running as root it cannot write that file and prints the command instead: run sudo ./setup_cron.sh from the rConfig folder.

โœ… The installer ends by running php artisan rconfig:check-worker-user, which checks that Horizon, the scheduler and the Supervisor config run nothing as root. It prints one OK, WARN or FAIL line per check. On any FAIL the installer exits non-zero: fix what it lists, then run sudo ./update.sh --no-pull. You can run the check yourself at any time, with sudo to include root's crontab, or with --json for scripts.


๐Ÿ”ง Final Configuration

# Update Apache virtual host to your server's FQDN
# For CentOS/RHEL:
sudo nano /etc/httpd/conf.d/rconfig-vhost.conf

# For Ubuntu:
sudo nano /etc/apache2/sites-enabled/rconfig-vhost.conf

Update ServerName:

ServerName your-server.domain.com
ServerAlias your-server.domain.com
# Restart Apache
# CentOS/RHEL:
sudo systemctl restart httpd

# Ubuntu:
sudo systemctl restart apache2

# Clear caches, then set ownership. Clear first: run as root, clear-all
# rebuilds the caches as root-owned files, and the chown hands them back.
# CentOS/RHEL:
cd /var/www/html/rconfig
php artisan rconfig:clear-all
chown -R apache:apache storage bootstrap/cache

# Ubuntu:
cd /var/www/html/rconfig
php artisan rconfig:clear-all
chown -R www-data:www-data storage bootstrap/cache

๐Ÿ” SSL / TLS Setup

rConfig should be served over HTTPS in any non-trivial environment. Browser session cookies, SAML/OAuth callbacks, and the SPA's same-origin auth all behave best on a properly certified domain.

For step-by-step instructions covering self-signed certificates, Let's Encrypt, and reverse-proxy termination, see the official guide:

๐Ÿ‘‰ SSL Setup Guide โ†’ v8coredocs.rconfig.com/auth-security/ssl-setup

After enabling SSL, make sure your APP_URL in .env uses https:// and matches the certificate's hostname.


๐ŸŽŠ Access Your Installation

Open your browser and navigate to: https://your-server.domain.com

Default System Credentials:

  • ๐Ÿ“ง Email: admin@domain.com
  • ๐Ÿ”‘ Password: admin

โš ๏ธ Security Notice: Change or remove these credentials immediately after creating a new admin user!

(โฌ† back to top)


๐Ÿ”„ Updating

โš ๏ธ Before updating:

  • Backup your database
  • Backup your .env file
  • Backup your storage directory
  • Backup your entire server if possible

On 8.2.19 or later

cd /var/www/html/rconfig
sudo ./update.sh

This one command does the whole upgrade in a safe order: maintenance mode, stop Horizon, git pull, composer install --no-dev, migrate, Supervisor and cron files, caches, file ownership, then start Horizon, restart Apache and bring the app back up. Horizon and the scheduler run as the web user, never root.

  • The full run is logged to /var/log/rconfig-core-update-<date>.log.
  • If you check out a release tag yourself, run sudo ./update.sh --no-pull so it does not pull.
  • It needs PHP 8.4.28 or later. On an older PHP it stops before maintenance mode and the pull, with nothing changed: upgrade PHP, then run it again.
  • --skip-redis-secure stops it setting a Redis password. One is set automatically when Redis has none, unless another app's Horizon (such as rConfig Pro) runs on the same server.
  • If a step fails, it says which one and stops. Before any code has changed it puts everything back. After that it leaves the app in maintenance mode: fix the problem, then run sudo ./update.sh --no-pull. It is safe to run more than once.
  • The last step runs php artisan rconfig:check-worker-user. If it fails, the upgrade itself has finished and rConfig is up and running, but something still runs as root or a Supervisor or cron file was changed by hand. The script lists the failed checks: fix them, then run sudo ./update.sh --no-pull.

๐Ÿ’ก Git conflicts? Run git stash, then sudo ./update.sh again.

First upgrade from 8.2.18 or earlier to 8.2.19 or later

update.sh is not on your server until you pull 8.2.19, so pull once by hand, then let the script do the rest:

cd /var/www/html/rconfig
git pull
sudo ./update.sh --no-pull

Legacy method (before 8.2.19)

Only for upgrading to a release older than 8.2.19, which has no update.sh.

# CentOS/Rocky/RHEL:
cd /var/www/html/rconfig
git pull
composer install
php artisan migrate --force
php artisan rconfig:sync-tasks
systemctl restart httpd
php artisan rconfig:clear-all
php artisan rconfig:set-config-permissions

# Ubuntu:
cd /var/www/html/rconfig
git pull
composer install
php artisan migrate --force
php artisan rconfig:sync-tasks
systemctl restart apache2
php artisan rconfig:clear-all
php artisan rconfig:set-config-permissions

PHP 8.4 Update (8.4.28 or later required)

# For CentOS/RHEL/Rocky:
cd /home
yum -y install wget
wget https://dl.rconfig.com/downloads/php-updates/centos-php8-update.sh -O /home/centos-php8-update.sh
chmod +x centos-php8-update.sh
./centos-php8-update.sh

# For Ubuntu:
cd /home
sudo apt-get install wget
wget https://dl.rconfig.com/downloads/php-updates/ubuntu-php8-update.sh -O /home/ubuntu-php8-update.sh
chmod +x ubuntu-php8-update.sh
./ubuntu-php8-update.sh

(โฌ† back to top)


๐Ÿค Contributing

Contributions make the open-source community amazing! Any contributions you make are greatly appreciated.

Contribution Guidelines

We maintain high standards for code quality and style. Contributors should have:

  • Strong working knowledge of PHP, Laravel, and Vue.js
  • Understanding of best practices and coding standards
  • Ability to write clean, maintainable code

How to Contribute

  1. ๐Ÿด Fork the Project
  2. ๐ŸŒฟ Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. โœ๏ธ Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. ๐Ÿ“ค Push to the Branch (git push origin feature/AmazingFeature)
  5. ๐Ÿ”€ Open a Pull Request to the develop branch

Running Tests

# 1. Create test database
# 2. Copy environment file
cp .env.example .env.testing

# 3. Generate test key
php artisan key:generate --env=testing

# 4. Update .env.testing
# Set APP_ENV=testing
# Update database credentials

# 5. Run tests
php artisan test

Frontend Development

# Install dev dependencies
npm install --include=dev

# Start dev server
npm run dev

๐Ÿ’ก Network issues with npm? Try: export NODE_OPTIONS="--dns-result-order=ipv4first"

(โฌ† back to top)


๐Ÿ“บ Video Tutorials

Check out our YouTube channel for installation walkthroughs and tutorials:

YouTube

(โฌ† back to top)


๐Ÿ“„ License

This codebase is distributed under License from rConfig. See LICENSE.txt for more information.

โ„น๏ธ rConfig v8 Professional is excluded from this license and repository.

(โฌ† back to top)


๐Ÿ’ฌ Support

Community Support (rConfig Core)

โ„น๏ธ rConfig v8 Core is provided on a best-effort basis. Response times may vary.

Priority Support (rConfig Professional)

For business-critical environments and guaranteed response times:

  • ๐ŸŽซ Dedicated support portal
  • ๐Ÿ“ž Priority response SLA
  • ๐Ÿ”ง Expert assistance
  • ๐Ÿ“Š Advanced features

๐Ÿ‘‰ Learn more about rConfig Professional

(โฌ† back to top)


๐Ÿ™ Acknowledgments

Built with amazing open-source technologies:

  • Laravel - The PHP Framework for Web Artisans (V12)
  • Vue.js - The Progressive JavaScript Framework
  • shadcn/ui - Beautifully designed components
  • Vite - Next Generation Frontend Tooling

See composer.json and package.json for the complete list of dependencies.

(โฌ† back to top)


โญ Star us on GitHub โ€” it motivates us a lot!

GitHub stars

Made with โค๏ธ by the rConfig Team

Website ยท Documentation ยท Twitter ยท GitHub