---
name: "import-ferm"
section: "1"
platform: "linux"
package: "ferm"
version: "2.7-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/import-ferm"
---

# import-ferm(1)

import existing firewall rules into ferm

## NAME

import-ferm - import existing firewall rules into ferm

## SYNOPSIS

**import-ferm** \> ferm.conf

iptables-save \| **import-ferm** \> ferm.conf

**import-ferm** *inputfile* \> ferm.conf

## DESCRIPTION

This script helps you with porting an existing IPv4 firewall configuration to ferm.  It reads a file generated with **iptables-save**, and tries to suggest a ferm configuration file.

If no input file was specified on the command line, **import-ferm** runs *iptables-save*.

## BUGS

iptables-save older than 1.3 is unable to write valid saves - this is not a bug in **import-ferm**.
