https://github.com/filippolauria/mfg
Minimal FreeRADIUS GUI (MFG) is a web application written in Python 3 on top of Flask, SQLAlchemy and WTForms, which aims at managing an instance of FreeRADIUS (Version 3.x) with MySQL/MariaDB support.
https://github.com/filippolauria/mfg
flask flask-application freeradius freeradius-webinterface python radius
Last synced: about 1 year ago
JSON representation
Minimal FreeRADIUS GUI (MFG) is a web application written in Python 3 on top of Flask, SQLAlchemy and WTForms, which aims at managing an instance of FreeRADIUS (Version 3.x) with MySQL/MariaDB support.
- Host: GitHub
- URL: https://github.com/filippolauria/mfg
- Owner: filippolauria
- License: gpl-3.0
- Created: 2021-07-29T14:21:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T19:51:31.000Z (over 2 years ago)
- Last Synced: 2025-04-28T15:18:01.269Z (about 1 year ago)
- Topics: flask, flask-application, freeradius, freeradius-webinterface, python, radius
- Language: Python
- Homepage:
- Size: 239 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimal FreeRADIUS GUI (MFG)
Minimal FreeRADIUS GUI (MFG) is a web application written in Python 3 on top of [Flask](https://flask.palletsprojects.com/en/2.0.x/), [SQLAlchemy](https://www.sqlalchemy.org/) and [WTForms](https://wtforms.readthedocs.io/en/2.3.x/), which aims at managing an instance of [FreeRADIUS](https://freeradius.org/) (Version 3.x) with MySQL support ([installation guide](https://wiki.freeradius.org/guide/SQL-HOWTO-for-freeradius-3.x-on-Debian-Ubuntu)).
## development environment
This section describes the steps to quickly setup a development environment on a Debian 11 instance (equipped w/ [sudo](https://wiki.debian.org/sudo/)).
It is supposed that you have already installed FreeRADIUS and configured it with MySQL support as described [here](https://wiki.freeradius.org/guide/SQL-HOWTO-for-freeradius-3.x-on-Debian-Ubuntu).
Minimal FreeRADIUS GUI (MFG) has an interactive installation script that automatically creates a python3 [virtualenv](https://pypi.org/project/virtualenv/), installs all the required dependencies and generates the needed config.json file.
The installation script can be run by sudoers and when needed it will execute commands using sudo hence asking for the password.
### 0. install MFG
sudo apt install git
cd
git clone https://github.com/filippolauria/mfg.git
source mfg/setup/install.sh
### 1. execute MFG
cd
source mfg/env/bin/activate
FLASK_APP=mfg FLASK_DEBUG=1 flask run --host=127.0.0.1 --port=8888