-
Notifications
You must be signed in to change notification settings - Fork 17
Getting Started
-
Access the terminal of your Linux or Mac OSX machine.
-
Clone the Git repository to your local machine:
git clone https://github.com/glennake/OpenFireVert.git
- Change directory to the cloned repository:
cd OpenFireVert
- Install the required modules using Pip for Python3:
pip3 install -r requirements.txt
python3 convert.py
Usage:
convert.py [-h] -c /full/path/to/config -o {config,data} -s {ciscoasa_pre83,fortigate,watchguard} [-d {ciscoasa,fortigate}]
Parameters:
-h, --help, show help
-c CONFIG, --config CONFIG, /full/path/to/config
-o {config,data}, --output {config,data}, output mode
-s {ciscoasa_pre83,fortigate,watchguard}, --source {ciscoasa_pre83,fortigate,watchguard}, source format
-d {ciscoasa,fortigate}, --destination {ciscoasa,fortigate}, destination format
Description: full path to input configuration file or folder (/full/path/to/config)
Description: generated data output mode
config - output as configuration to stdout
data - parsed dictionary data dump to stdout
Description: source firewall type
See Firewall Support for full list of supported options.
Description: destination firewall type
See Firewall Support for list of supported options.