firehol-iptables(5)
π firehol-iptables β the firehol-iptables(5) glow-up π
okay bestie, so this is the page for firehol-iptables from the FireHOL fam (that's FireHOL Reference, version 3.1.8 if you're keeping receipts), and it's literally just: how to sneak your own raw iptables commands into your FireHOL setup without everything going sideways. no cap. β¨
πΈ NAME πΈ
firehol-iptables β include custom iptables commands
like. that's the whole vibe. you get to inject your own firewall rules. π
π SYNOPSIS π
iptables argument...
ip6tables argument...
yep that's it. you pass argument... and it justβ¦ goes. π¦
β¨ DESCRIPTION β¨
so the iptables and ip6tables helper commands are little messengers π§ β they take all of their arguments and hand them straight to the real iptables(8) or ip6tables(8) at the exact right moment during run-time. timing is everything, iykyk.
Note π when you use these inside an interface or a router, the result will not have a direct relationship to the enclosing definition β because the parameters passed are only the ones you supply. it's giving "you brought your own stuff, so you own the outcome". π
do NOT use /sbin/iptables or /sbin/ip6tables directly in a FireHOL configuration, bestie, i am begging π. here's why: they will run before FireHOL activates its firewall. which means the commands get applied to the previously running firewall, not the new one β and then they get completely lost the moment the new firewall activates. poof. gone. π
that's literally the whole reason the iptables and ip6tables helpers exist: so you can hook in commands safely instead of rage-quitting. π«Ά
one more thing, and it's important β when you use the -t option to specify a table, make sure it's the first option you give to iptables. otherwise "fast activation" will fail with an error message that looks something like this:
iptables-restore: The -t option cannot be used in iptables-restore
not cute. put -t first. periodt. π
π EXAMPLES π
Fix LXC DHCP on same host π
iptables -t mangle -A POSTROUTING -p udp --dport 68 -j CHECKSUM --checksum-fill
ate. no crumbs. π₯
π SEE ALSO π
firehol(1)β FireHOL programfirehol.conf(5)β FireHOL configurationiptables(8)β administration tool for IPv4 firewallsip6tables(8)β administration tool for IPv6 firewalls- FireHOL Website
- FireHOL Online PDF Manual
- FireHOL Online Documentation
go read them. main character research era. β
π AUTHORS π
FireHOL Team.
and that's the whole page, bestie π β brought to you by the FireHOL Reference, version 3.1.8, built 13 Apr 2025. go forth and hook in your commands safely. mwah. πβ¨
π¦ 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