APF(1)

πŸ“¦ version 9.7+rev1, in debian bookworm, ubuntu jammy

✨ APF(1) β€” apf, the easy iptables firewall ✨

πŸ’– NAME

okay bestie, so the manual name is apf πŸ¦‹, and it's basically an easy iptables based firewall system πŸ”₯

  • apf β€” easy iptables based firewall system

πŸŽ€ SYNOPSIS

apf

just type apf and you're in πŸ’…

🌸 DESCRIPTION

okay so this little page briefly documents the apf command 🧚. it was written for the Debian distribution because the original program does not have a manual page πŸ™ˆ

Advanced Policy Firewall (APF) is an iptables (netfilter) based firewall system πŸ›‘οΈβœ¨ it's designed around the essential needs of today's Internet deployed servers and the unique needs of custom deployed Linux installations πŸ’œ the configuration is designed to be super informative and present you with an easy to follow process, from top to bottom of the configuration file πŸ“ day-to-day management happens from the command line with the apf command, which includes detailed usage information and all the features you'd expect from a current and forward thinking firewall solution πŸ‘‘ it's giving main character energy, ngl πŸ’…

πŸ¦‹ OPTIONS

apf follows the usual GNU command line syntax, with long options starting with two dashes (--) 🫢 here's a summary of the options:

  • -s, --start β€” loads all firewall rules πŸš€
  • -r, --restart β€” stops (flushes) & reloads firewall rules πŸ”„
  • -l, --list β€” lists all firewall rules πŸ“‹
  • -t, --status β€” outputs the firewall status log πŸ“œ
  • -e, --refresh β€” refreshes & resolves dns names in trust rules 🌈
  • -a <HOST CMT>, --allow <HOST COMMENT> β€” adds a host (IP/FQDN) to allow_hosts.rules and immediately loads the new rule into the firewall πŸ’–
  • -d <HOST CMT>, --deny <HOST COMMENT> β€” adds a host (IP/FQDN) to deny_hosts.rules and immediately loads the new rule into the firewall πŸ™…β€β™€οΈ
  • -u <HOST>, --remove <HOST> β€” removes the host from [glob]*_hosts.rules and immediately removes the rule from the firewall πŸ—‘οΈ
  • -o, --ovars β€” outputs all configuration options πŸ”

Copyright © 1999-2007, R-fx Networks <proj@r-fx.org> Copyright © 2007, Ryan MacDonald <ryan@r-fx.org> This program may be freely redistributed under the terms of the GNU GPL ✨

This manual page was written by Giuseppe Iuculano <giuseppe@iuculano.it>, for the Debian project (but may be used by others) πŸŽ€


bye bestie, this page is from APF(1) with a date of August 17, 2008 πŸ¦‹πŸ’œ go be iconic πŸ‘‘

πŸ“¦ where this page comes from