DOKK / manpages / debian 10 / ferm / import-ferm.1.en
IMPORT-FERM(1) FIREWALL RULES MADE EASY IMPORT-FERM(1)

import-ferm - import existing firewall rules into ferm

import-ferm > ferm.conf

iptables-save | import-ferm > ferm.conf

import-ferm inputfile > ferm.conf

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.

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

2017-03-29 ferm 2.4