No Description

Roberto Berto 62f7f42ea6 basic auth 5 years ago
.github 025e3b303a Update django.yml 5 years ago
vycenter 62f7f42ea6 basic auth 5 years ago
.dockerignore b927f53f93 docker 5 years ago
.gitignore 7a7488488a interface rename && firewall basic add rules 5 years ago
Dockerfile b927f53f93 docker 5 years ago
LICENSE 1d0c199366 fixed license 5 years ago
README.md 62f7f42ea6 basic auth 5 years ago
docker-compose.yml b927f53f93 docker 5 years ago
requirements.txt 4d9181aae3 first API working version 5 years ago

README.md

VyControl

VyOS frontend made in Python / Django using VyOS new 1.3 API server

It will work with a single VyoS server or to multiple VyOS servers, so datacenters which do not want share same firewall to different customers will not need to install several VyControl to each customer. That's why the name VyControl.

community

features

in alpha stage we're going to provide just essential device config, interfaces and firewall, as proof of concencept, as well config module basic cruds (users, groups and vyOS Servers)

basic authentication - use django admin to create superuser than http://127.0.0.1:8000/admin/login/?next=/admin/ to create a new user, after that you can use VyControl

interfaces module

  • list interfaces - alpha
  • show interface - alpha
  • unset/set firewall interface - todo
  • change interface parameters - todo

firewall module

  • basic firewall rules creation proof of concept - done
  • basic list firewall rules - done
  • basic add firewall rules - done
  • basic edit firewall rules - done
  • basic firewall create - done
  • change firewall rules order - todo
  • delete firewall rules - todo

other modules - todo

  • ospf
  • bgp
  • ipsec
  • openvpn
  • reports (maybe collecting using snmp)
  • ssh management
  • system login managament
  • nat
  • dhcp servers
  • static routes

config module

  • VyControl users crud - todo
  • vyos instance using database - done
  • full vyos instances crud - todo
  • add new VyoS instances test connection while adding - todo
  • add new VyoS instances test connection all servers crontab - todo
  • associate groups to VyOS instances

known issues

  • cannot edit firewall rules number using current API

dockerhub

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

docker pull robertoberto/vycenter

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 vycenter
python3 manage.py migrate

run webserver

python3 manage.py runserver

access webpage

http://127.0.0.1:8000/

setup vyos new instance

references

screenshoots (keep in mind we're in early alpha stages)

List VyOS Instances

List VyOS Instances

Add VyOS Instances

Add VyOS Instances

List Interfaces

List Interfaces

Firewall Dashboard

Firewall Dashboard

Add Firewall Rule

Add Firewall Rule