Configuration backup and analysis* tools for devices running pfSense* and RouterOS.
* aspirational
pipx install openct
mkdir /opt/openct
cd /opt/openct
apt update
apt install python3.11 python3.11-venv
python3.11 -m venv .venv
. .venv/bin/activate
pip install pip --upgrade
python -m pip install openct
git clone https://github.com/weehooey/openct
cd openct
poetry install
Installed with pipx
openct-setup
From sources or installed with pip
python -m openct.setup
Edit the configuration file:
nano config.yml
- Create a key pair in the project root folder
- Copy the public key to the target routers
- Add the private key to the
config.yml
file
mkdir -p datastore
touch datastore/datastore.yml
Add the target routers to the datastore in the following format:
- "0.0.0.0"
- "10.10.10.10"
- "192.168.0.1
mkdir -p logs
openct
Arguments:
--root
root directory for the program (default ".")--config
path to the config file (default "./config.yml")
- Submit bugs and feature requests, and help us verify as they are checked in
- Review source code changes
Copyright (c) Weehooey Inc. All rights reserved.
Licensed under the GNU GPL v3.0 license.