firehol-server(5)
π firehol-server(5) β the server & route glow-up π
okay bestie, sit down, hydrate, because we're talking about firehol-server from the FireHOL reference, version 3.1.8. this is the page that tells you how to open a door for people knocking on your box. it's giving hostess energy. π
β¨ NAME β¨
firehol-server β server, route commands: accept requests to a service πΈ
β¨ SYNOPSIS β¨
{ server | server46 } service action rule-params
server4 service action rule-params
server6 service action rule-params
{ route | route46 } service action rule-params
route4 service action rule-params
route6 service action rule-params
like. that's the whole vibe. pick your flavor, plug in your service, pick your action, sprinkle params. π
β¨ DESCRIPTION β¨
so the server subcommand is literally you declaring "yes, this service is welcome here" β either on an interface or a router. and here's the cute part: any rule-params you handed to a parent interface or router? the server inherits them. generational wealth but for firewall rules. π«Ά
for FireHOL, a server is the destination of a request. and yes, some multi-socket services are messier than that conceptually, but FireHOL keeps it simple: a server always accepts requests. no cap. β¨
route is just server wearing a little disguise β it's an alias for server and it can only be used in routers. not interfaces. routers only, bestie. π«
the service parameter is one of the supported service names from firehol-services(5). and you can flex multiple of them β just space delimit them inside quotes. π¦
the action can be any of the actions listed in firehol-actions(5). go off.
and the rule-params define a set of rule parameters that further restrict the traffic matched to this service. more deets live in firehol-params(5). π
Note π writingserver4is exactly equivalent to writingipv4 server, and it makes sure this subcommand only applies in the IPv4 firewall rules. writingserver6is exactly equivalent to writingipv6 server, and it makes sure this subcommand only applies in the IPv6 firewall rules. writingserver46is equivalent to writing bothserverand ensures this subcommand applies in both the IPv4 and IPv6 firewall rules. it cannot be used as part of an interface or router that is IPv4 or IPv6 only. so don't try it, it's not that girl in that context. π the default server inherits its behaviour from the enclosing interface or router. and the same rules apply to the variations ofroute. yes, all of them. π
β¨ EXAMPLES β¨
here's the tea, copied exactly, no notes: π
server smtp accept
server "smtp pop3" accept
server smtp accept src 192.0.2.1
server smtp accept log "mail packet" src 192.0.2.1
look at that. simple. iconic. ate. π β¨
β¨ SEE ALSO β¨
firehol(1)β FireHOL programfirehol.conf(5)β FireHOL configurationfirehol-modifiers(5)β ipv4/ipv6 selectionfirehol-services(5)β services listfirehol-actions(5)β actions for rulesfirehol-params(5)β optional rule parametersfirehol-client(5)β client subcommandfirehol-interface(5)β interface definitionfirehol-router(5)β router definition- FireHOL Website
- FireHOL Online PDF Manual
- FireHOL Online Documentation
go read them all, they're all bangers, iykyk ππ
β¨ AUTHORS β¨
FireHOL Team. π
and that's the whole page, bestie!! built 13 Apr 2025 for the FireHOL Reference, version 3.1.8. mwah, go configure something gorgeous π«Άπβ¨π
π¦ 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