Nessuna descrizione

Roberto Berto ee882ffed9 add email from on example 4 anni fa
.github 624aafd71c Create dependabot.yml 5 anni fa
vycontrol ee882ffed9 add email from on example 4 anni fa
.dockerignore b927f53f93 docker 5 anni fa
.gitignore 200a3e346b ignore vycontrol/vycontrol/settings/development.py 4 anni fa
Dockerfile f5f3417a34 changed vycenter to vycontrol 5 anni fa
LICENSE 1d0c199366 fixed license 5 anni fa
README.md e3b218e778 group crud 4 anni fa
docker-compose.yml e296f4db70 Update docker-compose.yml 4 anni fa
requirements.txt ae4f21766b deploy working 4 anni fa

README.md

VyControl

VyControl is web frontend interface to manage a single or multiple VyoS servers. It is developed in Python/Django using VyOS API.

Use Cases:

VyControl can be a web gui for one single VyOS installation, but it requires a separeted webserver from VyOS to a single network admin user or a TI department from a company

VyControl can be a web gui for multiple VyOS installation in a same enterprise, to a single network admin user or a TI department from a company

VyControl can be a web gui for multiple VyOS installation in a datacenter. Each of datacenter customer have a VyControl user to manage their own VyOSes (each user can manage several VyOS).

Main links

  • VyControl website
  • VyOS linux firewall website (only compatible with rolling release / 1.3 VyOS)
  • Reddit

Plan to use VyControl?

Install instructions

  • download VyOS Rolling Release, since VyControl needs the latest VyOS API.
  • for your security edit SECRET_KEY in inside Django settings/production.py and change to something random, maybe using

    openssl rand -hex 32
    

by dockerhub

latest VyControl is being autobuilt at dockerhub https://hub.docker.com/r/robertoberto/vycontrol

docker pull robertoberto/vycontrol
docker run -p 8000:8000 -t robertoberto/vycontrol
access http://127.0.0.1:8000

by docker composer

Right now we are using db.sqlite3, but I used composer so we can change to mySQL if needed.

docker-compose build
docker-compose  up

manual install instructions

setup virtual env and pip requirements

virtualenv env
source env/bin/activate
pip3 install -r requirements.txt

setup initial database

cd vycontrol
python3 manage.py migrate

run webserver

python3 manage.py runserver

access webpage

http://127.0.0.1:8000/

setup vyos new instance

setup email provider

VyControl send email to users when they click on Forget Password. So you need to setup a email provider to be able to use this features.

  • edit vycontrol/settings/production.py
  • change according your mail provider, you can use gmail accounts, sendergrid, amazon ses, mailgun etc

    EMAIL_HOST = 'email-smtp.us-east-1.amazonaws.com'
    EMAIL_PORT = 587
    EMAIL_HOST_USER = 'user'
    EMAIL_HOST_PASSWORD = 'password'
    EMAIL_USE_TLS = True
    

Plan to help develop VyControl?

changelog

  • create/read/update/delete users
  • create/read/update/delete groups
  • create/read/update/delete DNS Resolver
  • create/read/update/delete email/password in user profile
  • create/read/update/delete interfaces and vlans
  • lost password recovery using external SMTP server
  • create/read/update/delete NTP Serrves
  • create/read/update/delete zone based firewall
  • improve firewall UI and error returns to end users
  • working firewall
  • version created to start project framework, organize permission systems and concept test with some firewall and interface functions and statics routes

roadmap

vpn services

  • openvpn
  • ipsec

basic router configuration

  • ssh service
  • logins
  • hostname
  • domain-name
  • timezone

dynamic routing

  • OSPF
  • BGP

addons features

  • FastNetMon integration
  • save/commit/load
  • s3 backup scheduler

IPV6

  • ipv6

references

screenshoots

Install VyControl

Install VyControl

List Users

List Users

List VyOS Instances

List VyOS Instances

Add VyOS Instances

Add VyOS Instances

List Interfaces

List Interfaces

List Firewall

List Dashboard

Add Firewall Rule

Add Firewall Rule

List Static Routes

List Static Routes

Sponsoring

  • VyControl is being tested at Under a Brazilian provider of Cloud Computing and Datacenters.