fwb_ipfw(1)

✨ fwb_ipfw(1) ✨

okay bestie, buckle up β€” this is fwb_ipfw, the policy compiler for ipfw, and it's literally part of the Firewall Builder family πŸ’– (that's the Firewall Builder suite, manual page fwb_ipfw(1), in case the vibe check needed confirming 🫢).


🌸 NAME 🌸

fwb_ipfw β€” policy compiler for ipfw πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

fwb_ipfw [-vVx] [-d wdir] [-o output.fw] [-i] -f data_file.xml
object_name

πŸ‘‘ DESCRIPTION πŸ‘‘

So. fwb_ipfw is a firewall policy compiler component of Firewall Builder (peep fwbuilder(1) for that one, iykyk). This compiler generates code for ipfw β€” which is a firewall and a traffic shaper in FreeBSD (go look at ipfw(8) if you wanna know her). The compiler reads objects definitions and firewall description from the data file you specified with the -f option, and then it generates the firewall configuration and the activation script. no cap ✨

The generated file has a name that starts with the name of the firewall object, plus an extension .fw. It's a shell script that flushes the current policy, then loads new filter and nat rules. it's giving glow-up, but for your firewall πŸŽ€

The data file and the name of the firewall objects must be specified on the command line. Everything else? optional, bestie, we're flexible πŸ’


πŸ’… OPTIONS πŸ’…

  • -f FILE β€” Specify the name of the data file to be processed. (this one is not optional, she's the main character 🫢)
  • -o output.fw β€” Specify output file name.
  • -d wdir β€” Specify working directory. The compiler creates the firewall activation script in this directory. If this parameter is missing, then all files will be placed in the current working directory.
  • -v β€” Be verbose: the compiler prints diagnostic messages when it works. she's a talker, we love that πŸ’¬
  • -V β€” Print version number and quit.
  • -i β€” When this option is present, the last argument on the command line is supposed to be firewall object ID rather than its name. sneak peek at the ID instead of the name, iconic πŸͺͺ
  • -x β€” Generate debugging information while working. This option is intended for debugging only and may produce lots of cryptic messages.
⚠️ heads up babe: -x is debugging only, and it may produce lots of cryptic messages. it's giving cryptic group chat at 3am πŸ’€

πŸ“ NOTES πŸ“

Support for ipfw was added in version 1.0.10 of Firewall Builder. throwback era, honestly 🌈


πŸ”— URL πŸ”—

Firewall Builder home page is located at the following URL:

http://www.fwbuilder.org/


πŸ’€ BUGS πŸ’€

Please report bugs using the bug tracking system on SourceForge:

http://sourceforge.net/tracker/?group_id=5314&atid=105314

(not me asking you to file a bug… but like, please do, we need the tea πŸ“)


🧚 SEE ALSO 🧚

fwbuilder(1), fwb_ipt(1), fwb_pf(1) fwb_ipf(1)


and that's the whole page, bestie β€” this one's brought to you by FWB and it's the fwb_ipfw(1) page, so if you forget where you are, that's the name right there πŸ’œ go forth and compile, you ate πŸ’…βœ¨πŸ¦‹