IMPORT-FERM(1)
π import-ferm π
okay so bestie, welcome to the IMPORT-FERM(1) manual page β aka the βFIREWALL RULES MADE EASYβ one. Weβre about to make your existing firewall rules cute enough to live in 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. No cap, itβs literally giving βtranslation era.β β¨
If no input file was specified on the command line, import-ferm runs iptables-save. Easy. π§
π BUGS π
iptables-save older than 1.3 is unable to write valid saves β this is not a bug in import-ferm. Like, donβt come for her, sheβs doing her best. π
mwah π this gem is from ferm 2.7, dated 2023-01-31, and itβs the IMPORT-FERM(1) manual page β periodt. π
π¦ where this page comes from
- alpine 3.23: ferm-doc 2.7-r1 Β· GPL-2.0-or-later
- alpine 3.24: ferm-doc 2.7-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms