Gateshift
Migrate & optimize firewalls.
Built to make firewall migration and optimization projects easier, faster and safer.
Gateshift migrates rulesets and configurations between firewalls and cloud network security of different vendors and models, and cleans up, optimizes and audits them.
Its main properties:
- Runs air-gapped: once installed, the host can be cut off from the internet.
- No sign-up, no activation, no call-home. Nothing leaves the host unless you connect an AI client of your own.
- Talks to the security devices and services through their APIs. What each platform needs on its side is in docs/vendor-prerequisites.md.
- Reads cloud firewall policies of AWS, Azure and Google Cloud as well.
- Stores Device credentials, pre-shared keys and certificate keys encrypted, API tokens as a hash only.
- Automation built in: an API (docs/API.md) for scripts and an MCP (Model Context Protocol) endpoint (docs/MCP.md) for optional AI assistance with a model of your own. Pushes stay with the operator. We recommend a locally hosted model, so no firewall data leaves your network.
Repository: github.com/gateshift/gateshift
Live demo: demo.gateshift.org
Install
Docker Engine with the Compose plugin, git and openssl on the host, TCP 443
and 80 and UDP 514 free:
git clone https://github.com/gateshift/gateshift.git
cd gateshift
./install.sh
UI on https://<server-address>/. The first visit sets the password of the one
account, admin. TLS, the bind address, air-gapped hosts, updating and the first project:
install page.
How a migration runs, what the tool guarantees and how to read the push report: docs/OPERATING.md.
What it can do
- Migrate network configurations: interfaces, zones, virtual routers, static routes, IPsec VPN, IPv4 and IPv6 alike.
- Remap source interfaces freely onto the target's ports, physical and virtual alike: a port can become a VLAN, a bond, a loopback or a tunnel, and the other way round.
- Auto-derive zones when the source has none and the target needs them.
- Migrate rulesets: firewall rules, NAT, decryption, Policy Routing, Check Point threat prevention, with their objects, schedules, URL categories and tags.
- Treat each FortiGate VDOM, PAN-OS vsys and Check Point VSX virtual system as a scope of its own.
- Read the security profiles, applications, user identities and log settings the target itself offers and apply them to the rulesets.
- Review a build before the push: every finding, blocker and declared drop, rule by rule. What a target cannot express is declared instead of going out silently.
- Never push a reference to a missing object, zone or interface.
- Push the network and the policy separately. A failed push on PAN-OS returns to its rescue point, a failed policy push on Check Point discards the staged session.
- Find and remove unused and duplicate objects.
- Find shadowed rules: rules an earlier, broader rule already covers.
- Read the firewalls' own hit counters to find rules nobody uses.
- Generate new rulesets from the traffic logs of OPNsense.
- Optimize and clean up a configuration in place, with the same Device as source and target.
- Keep every migration as a project with snapshots, several tenants in one installation.
Supported vendors
Every supported platform, with its form, direction and edition, is listed on the supported vendors page.
Editions, verification, support
The public repository is the Community Edition, complete for single firewalls, HA clusters and virtual instances. The Enterprise Edition adds the manager tier. Which covers what: editions.
Gateshift can and will get things wrong. What it pushes onto a target is a draft, not a finished configuration, and use is at your own risk. What verification means before a cutover: legal.
Bugs, feature requests, support and security reports: contact.
Status
The current release is version 0.9.6.1. Gateshift is an independent project in active development.
To hear when a release ships, subscribe to the newsletter.