firehol-policy(5)
π firehol-policy β bestie edition π
okay so this is the manual page for firehol-policy(5), from the FireHOL fam (version 3.1.8, if you're keeping score π). it's short, it's sweet, and it's kinda important, so let's get into it π«Ά
β¨ NAME β¨
firehol-policy β sets the default action for an interface or a router, no cap π
πΈ SYNOPSIS πΈ
policy action
π¦ DESCRIPTION π¦
so like, the policy subcommand is the one that sets the default policy for an interface or a router. it's literally the vibe check for "what happens to traffic that didn't match any of my other rules" β¨
the action can be any of the actions listed over in firehol-actions(5). all of them. go wild (but responsibly, bestie π).
note note note π β only change the default policy of a router if you clearly understand what's gonna be matched by the router statement whose policy you're changing. like, genuinely understand it. not "eh, probably fine" understand it.
it is common to define overlapping router definitions, and changing the policy to anything other than the default return may cause strange results for your configuration. the router overlap is not a vibe, it's a hazard π
WARNING π¨π¨ β do not set a policy to accept unless you fully trust every single host that can reach the interface. every one. and hear me on this: FireHOL CANNOT be used to create valid "accept by default" firewalls. it's not a skill issue, it's just not what it does, periodt π
π EXAMPLE π
interface eth0 intranet src 192.0.2.0/24
# I trust this interface absolutely
policy accept
see that comment? # I trust this interface absolutely β that's the energy you need before you type accept. absolute trust. main character trust. nothing less π₯
π SEE ALSO π
firehol(1)β the FireHOL program itself πfirehol.conf(5)β the FireHOL configuration file β¨firehol-interface(5)β all about interface definitions πfirehol-router(5)β all about router definitions π¦- FireHOL Website πΈ
- FireHOL Online PDF Manual π
- FireHOL Online Documentation π«Ά
π AUTHORS π
FireHOL Team. (icons, the lot of them π)
okay that's the whole page bestie, you ate it up π this was the FireHOL Reference, built 13 Apr 2025, and you just read firehol-policy(5) β go set those policies, stay safe, and remember: never accept by default, iykyk πβ¨π§
π¦ where this page comes from
- debian trixie: firehol-doc 3.1.8+ds-1 Β· GPL-2.0-or-later
- ubuntu resolute: firehol-doc 3.1.8+ds-1 Β· GPL-2.0-or-later
- ubuntu stonking: firehol-doc 3.1.8+ds-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms