import-ferm(1)

import-ferm1

Import existing firewall rules into ferm

Usage

import-ferm > ferm.conf

iptables-save { | import-ferm > ferm.conf}

import-ferm inputfile > ferm.conf

Overview

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.

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

Bugs

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

From ferm 2.7-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.