Documentation
INDO CONVERTOR 0.21.1
Quick start, the command line, device handling, how your data and secrets are treated, and the limits to read before you use the output in production.
Windows quick start
Python 3.9 or newer must be installed first — the standard installer from python.org. No internet connection is needed by INDO CONVERTOR itself.
- Extract the archive. Right-click the zip → Extract All. Do not run files from inside the zip.
- One time: double-click
install.bat. - Every time: double-click
INDO-CONVERTOR.bat— it opens INDO CONVERTOR in your browser.
Closing the browser tab stops the program, or use the power button at the top right. Try the
samples first: examples\fortigate_old.conf and examples\paloalto_old.xml.
What ships in the archive
| File | Purpose |
|---|---|
install.bat | One-time install of the bundled wheel |
INDO-CONVERTOR.bat | Starts the browser app |
fwconvert.bat | The command-line interface |
fwconvert-0.21.1-py3-none-any.whl | The package itself |
examples\ | Nine sample configs and map files across all supported vendors |
build_exe.bat | Optional: build a standalone executable |
README-WINDOWS.txt, NOTICE.txt | Quick start and third-party attribution |
Sample files
fortigate_old.conf+fortigate_map.yaml— FortiGate to FortiGatepaloalto_old.xml+paloalto_map.yaml— PAN-OS to PAN-OSpaloalto_to_fg.xml— Palo Alto into FortiGatecisco_iosxe.txtandcisco_l2_portchannel.txt— Cisco IOS XE, including the layer-2 port-channel casesonicwall_cli.txt— SonicWall CLI exportprofiles_vpn.conf— security profiles and VPN, FortiGate to FortiGate, no port mapping needed
In the app
| Area | What you do there |
|---|---|
| New Conversion | Name it, drop in the config, type or pick the new port next to each old port, optionally choose a target device, Convert, read the findings, download the result. |
| My Conversions | Everything you have converted, searchable and sortable, with status and a findings summary. Reopen, download or move to Trash. |
| Current conversion | The tuning pages — see Tuning. |
| Devices | Add models by typing ports, or learn them from a config file of the new box. |
| New Folder / Trash | Organise conversions; restore or delete permanently. |
Command line
The same engine, scriptable. On Windows use fwconvert.bat; elsewhere the installed
fwconvert command or python -m fwconvert.
Install
python -m pip install fwconvert-0.21.1-py3-none-any.whl
fwconvert init-map > map.yaml # start from the example map and edit it
FortiGate
fwconvert fortigate interfaces -i old.conf
fwconvert fortigate check -i old.conf
fwconvert fortigate convert -i old.conf -m map.yaml -o new.conf -r report.md
Palo Alto (running-config or Panorama XML export)
fwconvert paloalto interfaces -i old.xml
fwconvert paloalto convert -i old.xml -m map.yaml -o new.xml --set-out new.set -r report.md
In a pipeline
fwconvert fortigate convert -i old.conf -m map.yaml -o new.conf -r report.md --strict
# exits 1 when the report contains errors, so the job fails instead of shipping
The GUI from a shell
fwconvert-gui # or: python -m fwconvert.webui
fwconvert-tk # basic Tkinter window
What goes in the map file
- The old → new port map itself.
target_interfaces— the physical ports the new box actually has, so missing ones are flagged.extra_interface_keys— settings the tool should also treat as interface references.- FortiGate overrides: drop blocks or settings, set values,
rename_settings. - PAN-OS overrides: drop XPaths, set values, remap scope onto one Panorama template.
Devices and port learning
89 FortiGate models are built in. Only the 2600F / 2601F entry has been checked against Fortinet documentation; the rest is community data normalised to FortiOS CLI style, so confirm it on your unit. The reliable way is to add the model from a backup of the new device:
Devices → Learn ports from a config file → pick a config/backup of the NEW firewall
Or type them, with ranges: port1-port24, ethernet1/1-8, x1-x4. Filling the Copper
and Fiber fields enables the media-mismatch warning for your own models too.
Where your data lives
Local only
The app is served from 127.0.0.1. Nothing leaves the machine — no telemetry, no account, no upload
step.
On disk
Conversions, including your source configuration, are saved in %LOCALAPPDATA%\fwconvert on Windows or
~/.fwconvert elsewhere. Override with --data-dir or the FWCONVERT_HOME
environment variable.
Those saved configs are production firewall configurations. Treat the data directory with the same care as a backup archive, and clear the Trash when you are done.
Secrets
INDO CONVERTOR converts text. It cannot move the things that are bound to the old device, and it does not pretend otherwise.
- Pre-shared keys, passwords and other secrets are never shown, typed or changed — they stay exactly as in the
source. A typed
set psksecret …is refused. ENCpasswords, certificates and private keys tied to the old unit, licences and serial-number-bound settings must be handled on the device.- Cloned or newly created tunnels need their key set on the FortiGate.
- Neighbour passwords and authentication keys in dynamic routing blocks are hidden and preserved.
Limits — read before production use
Always load the result on a lab or staging unit and diff it before cutover. No converter replaces that step.
- Text conversion cannot migrate secrets, licences or serial-bound settings (see above).
- The FortiGate interface-key list and the PAN-OS reference checks are broad but not exhaustive. The report's warnings tell you where to look.
- Version-to-version syntax changes are not built in. Encode the ones you hit in
rename_settingsand thedrop_*overrides. - PAN-OS
setoutput is best effort — verify it on a lab device. - Palo Alto tuning pages are not available yet.
- SonicWall support follows the published CLI structure and has not been tested against a real export.
- Built-in model port lists other than the 2600F/2601F are community data.
Backup and rollback (0.22.0)
Every convert run now saves a rollback package on your PC before you touch the new firewall. Nothing is uploaded.
- original.conf — the untouched source configuration
- converted output, map and report.md
- manifest.json — SHA-256 of every file, tool version, vendor and time
- ROLLBACK.txt — step-by-step FortiGate or PAN-OS restore instructions
Packages are stored in %USERPROFILE%\INDO-CONVERTOR-backups (set FWCONVERT_BACKUP_DIR to change it). Add --no-backup to skip.
fwconvert backup list
fwconvert backup show <id>
fwconvert backup verify <id> <- checks every SHA-256
fwconvert backup restore <id> -o original.conf
restore refuses to run if any file in the package was changed, and will not overwrite an existing file without --force. Backups contain your full configuration, including secrets — protect the folder like the original.