Quick start
- Copy
.env.exampleto.envand fill in values (do NOT commit.env):
cp .env.example .env
# edit .env with your FMG_IP, FMG_USERNAME, FMG_PASSWORD, ADOM_NAME, DEVICE_NAME, FLASK_SECRET_KEY- Create a virtual environment and install requirements:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt- Run locally (development):
# make sure cert files are present or run without ssl for local testing
uvicorn main:app --reload --host 0.0.0.0 --port 5000- For production, run the deployment script (edit variables in
deploy_fortimanager.shfirst):
sudo bash deploy_fortimanager.shMore information
- See
templates/installation_guide.mdfor full installation steps, SSL options, and production recommendations. - Do not commit secrets or private keys to version control.
Web interface for Fortinet Static BGP Manager showing a dashboard with navigation menu on the left, main content area displaying BGP configuration options, device status indicators, and action buttons for adding or editing static BGP routes. The environment appears as a clean, modern web application layout. Visible text includes headings such as Static BGP Manager, buttons labeled Add Route and Edit, and status labels indicating device connectivity. The tone is professional and functional.