INDO CONVERTOR 0.21.1 - Windows quick start
=======================================
Needs Python 3.9+ installed (python.org, the standard installer). No internet needed.

1) Right-click the zip > Extract All (do not run files from inside the zip).
2) ONE TIME:   double-click  install.bat
3) EVERY TIME: double-click  INDO-CONVERTOR.bat   -> opens INDO CONVERTOR in your browser.

In the app
  New Conversion  -> name it, drop in your config, type the NEW port next to each OLD port,
                     (optional) pick a target device, click Convert, READ the findings,
                     download the converted config.
  My Conversions  -> everything you converted, searchable; reopen, download, trash.
  Tuning (FortiGate) -> after Convert, the left pane shows 'Current conversion' with Setup & results, Interfaces,
                     Routes, Policies, Addresses, Address groups, Services and Service groups. Firewalls with
                     VDOMs: pick the VDOM at the top of each page (policy 1 of one VDOM is not policy 1 of
                     another). Edit, then 'Save & regenerate'. Unsaved edits are kept while you move between
                     these pages, and you are asked before leaving with unsaved edits.
                     Interfaces page: '+ Add VLAN' creates a VLAN subinterface (name, VLAN ID, parent port, VDOM, IP);
                     the trash icon deletes a VLAN. Anything still using a deleted VLAN is reported.
  New Folder      -> organise conversions.   Trash -> restore or delete permanently.
  Auto-map        -> choosing a Destination device pre-fills every port that has the same name there; change any
                     of them in its dropdown. Copper -> fiber (or fiber -> copper) mappings are flagged with a warning.
  VLANs / tunnels / loopbacks / aggregates -> kept automatically (they keep their names and follow
                     their parent port; tick 'VLANs too' to see them). Physical ports are mapped as above.
  Source device   -> the model you migrate FROM (auto-detected from the config when possible).
  Destination device -> pick the model you migrate TO (89 FortiGate models; type to filter);
                     the New-port column becomes a dropdown of its ports. Only the 2600F/2601F is checked
                     against Fortinet docs - the rest is community data (see NOTICE.txt): confirm on your unit.
  Devices         -> add models: type ports (port1-port24 works) or 'Learn ports from a config file' of the NEW box.

Everything runs on this PC only. Saved conversions (including your source configs) are kept in
    %LOCALAPPDATA%\fwconvert
Closing the browser tab stops the program (or use the power button, top right).

Try the samples first: examples\fortigate_old.conf and examples\paloalto_old.xml.

Command line (optional):
    fwconvert.bat fortigate convert -i old.conf -m map.yaml -o new.conf -r report.md
    fwconvert.bat paloalto  convert -i old.xml  -m map.yaml -o new.xml --set-out new.set -r report.md

Created by MOHAMMAD SHAHBAZ KHAN

CONVERTING FROM CISCO IOS XE, PALO ALTO OR SONICWALL TO FORTIGATE
  New conversion -> drop the file; the source vendor is detected. For Palo Alto choose "Convert to: FortiGate".
  Choose the FortiGate model as Destination device, click "Map in order" (or pick ports yourself), then Convert.
  Interfaces, VLANs, zones, routes, objects, groups, services and policies are converted. Anything the tool cannot translate
  safely is created as a DISABLED policy with a REVIEW comment, and every skipped item is listed in the Findings tab.
  Then tune the result with the pages in the left pane (Interfaces, Routes, Policies, ...).
  Try the sample files in the examples folder: cisco_iosxe.txt, paloalto_to_fg.xml, sonicwall_cli.txt.
  NOTE: SonicWall support is built from SonicWall's published CLI structure and was not tested on a real export.

SECURITY PROFILES AND VPN (left pane, under the current conversion)
  "Security profiles": antivirus, web filter, IPS, application control, SSL inspection, profile groups ... Edit the settings as
  FortiGate CLI text, clone, add or delete. The "Policy bindings" tab sets which profile each policy uses.
  "VPN": IPsec phase 1 / phase 2 and SSL-VPN. Deleting a tunnel also deletes its phase 2 entries and tunnel interface.
  Pre-shared keys and passwords are never shown or changed (they stay as in the source; set keys on the FortiGate for new tunnels).
  Try examples\profiles_vpn.conf (FortiGate -> FortiGate, no port mapping needed).

AGGREGATES, ZONES AND POLICY SECURITY PROFILES
  Map the ports (step 2): "New interfaces on the new device" -> "+ Add aggregate" builds an aggregate from ports of the new device,
  "+ Add VLAN" puts a VLAN on that aggregate (or on a port). Defined before converting, saved with the conversion.
  Interfaces page: "+ Add aggregate" also builds an aggregate (port-channel) from physical ports; the pencil on an aggregate changes its
  members. You can pick ports of the destination device that the converted config does not list yet. Then add VLANs on it.
  Cisco IOS XE: map the member ports of a port-channel (they are now listed even when they are layer-2 switchports) and the aggregate
  is created. Try examples\cisco_l2_portchannel.txt.
  Zones page (left pane): create zones with member interfaces. Policies: the Edit/Add dialog has "Security profiles (optional)".

DYNAMIC ROUTING AND AGGREGATES IN THE PORT MAP
  Routes page -> "Dynamic routing" tab: OSPF, BGP, RIP, OSPFv3, IS-IS, multicast of each VDOM, edited as FortiGate CLI text;
  "+ Add protocol" creates one. Cisco IOS XE "router ospf" / "router bgp" basics are converted (see Findings for what is not).
  Map the ports: an aggregate defined under "New interfaces" shows up in the New-port dropdown ("this port becomes it");
  tick "VLANs too" and each VLAN row gets a dropdown to move it under the aggregate.
