Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Juniper SRX (Junos OS) to FortiGate Configuration Converter

NotificationsYou must be signed in to change notification settings

mbaniadam/Juniper-SRX-to-FortiGate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

This is a Python script that converts Juniper SRX firewall configuration to FortiGate firewall configuration. The script supports conversion of the following configurations:

Policies

Schedulers (onetime Schedulers)

Addresses

Address groups

Services (custom ports)

VLANs (It currently works for one specific interface)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for conversion process.

Prerequisites

you need to take a full backup of the configuration in the "display set" mode for addresses , address groups and services with the file name: backup_j.txt

Command : show configuration | display set

You also needed to take a custom configuration for schedulers and policies with the file names : schedules.json , policies_j.json

Command : show configuration logical-systems <LOGICAL_SYSTEM_NAME> security policies | display json

Usage

The script will require the path to theJuniper SRX configuration files intxt andJSON format.

backup_j.txt

schedules.json

policies_j.json

The script will start the conversion process and will generate the output files in the same directory as the script.

After the conversion process is finished, you need to manually make changes to juniper's default ports,

for example in converted_policies.txt find junos-ping and edit it with PING.

Contributing

These are the items I am working on:

  • Recurring schedulers
  • Juniper SRX default ports

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp