Skip to content

Getting Started

Glenn edited this page Apr 6, 2020 · 6 revisions

Install (Linux and Mac OSX)

  1. Access the terminal of your Linux or Mac OSX machine.

  2. Clone the Git repository to your local machine:

git clone https://github.com/glennake/OpenFireVert.git

  1. Change directory to the cloned repository:

cd OpenFireVert

  1. Install the required modules using Pip for Python3:

pip3 install -r requirements.txt

Usage

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

Parameters

config (-c, --config)

Description: full path to input configuration file or folder (/full/path/to/config)

output (-o, --output)

Description: generated data output mode
config - output as configuration to stdout
data - parsed dictionary data dump to stdout

source (-s, --source)

Description: source firewall type
See Firewall Support for full list of supported options.

destination (-d, --destination)

Description: destination firewall type
See Firewall Support for list of supported options.

Clone this wiki locally