firehol-proxy(5)
π firehol-proxy β set up a transparent TCP, HTTP or squid proxy π
okay bestie, gather round, because this is the firehol-proxy page from the FireHOL manual (section 5, we love a section 5) and it's literally about making a transparent proxy happen. no cap, it's giving networking main character energy. π¦
β¨ SYNOPSIS β¨
transparent_proxy service port user rule-params
transparent_squid port user rule-params
πΈ DESCRIPTION πΈ
so the transparent_proxy helper command sets up transparent caching for TCP traffic. that's the whole vibe. π
and the transparent_squid helper command? it sets up the special case for HTTP traffic, with service implicitly set to 80. it just knows. iykyk. π
Note β the proxy application has to be running on the firewall host at portport, with the credentials of the local useruser(and psst,usercan be a space-delimited list, just wrap it in quotes), serving requests appropriate to the TCP portservice. that's non-negotiable, fr fr. π
the rule-params define a set of rule parameters that decide which traffic is gonna get proxied. for more details go read firehol-params(5), she explains everything. π
now for the important part. for traffic destined for the firewall host, or traffic just passing through the firewall, do not use the outface parameter, because the rules get applied before the routing decision, which means the outgoing interface isn't known yet. it's giving "we haven't decided yet bestie". π
an empty user string ("") disables caching of locally-generated traffic. otherwise, traffic starting from the firewall gets captured β except traffic generated by the local user(s) user. and heads up: the inface, outface and src rule-params are all ignored for locally-generated traffic. all three. ignored. periodt. π
π EXAMPLES π
okay these are so clean, look:
transparent_proxy 80 3128 squid inface eth0 src 192.0.2.0/24
transparent_squid 3128 squid inface eth0 src 192.0.2.0/24
transparent_proxy "80 3128 8080" 3128 "squid privoxy root bin" \
inface not "ppp+ ipsec+" dst not "a.not.proxied.server"
transparent_squid "80 3128 8080" "squid privoxy root bin" \
inface not "ppp+ ipsec+" dst not "non.proxied.server"
see how the user list gets quoted? "squid privoxy root bin"? yeah. iconic. π«Ά
π¦ SEE ALSO π¦
firehol(1)β the FireHOL program πfirehol.conf(5)β FireHOL configuration βfirehol-interface(5)β interface definition πΈfirehol-router(5)β router definition πfirehol-params(5)β optional rule parameters β¨firehol-nat(5)β nat, snat, dnat, redirect config helpers π₯- FireHOL Website π
- FireHOL Online PDF Manual π
- FireHOL Online Documentation π
π AUTHORS π
FireHOL Team. that's the whole team. respect. π
and that's the page bestie!! this was the FireHOL Reference, Built 13 Apr 2025, version 3.1.8 β mwah, go set up that proxy, you're gonna eat. ππ§π
π¦ 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