REDSOCKS(8)
π REDSOCKS β the girlies' guide to proxying literally everything π
okay so bestie, this is the manual page for redsocks from the System Manager's Manual section, and honestly? it's giving main character energy for your whole network stack. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
redsocks β redirect any TCP connection to a SOCKS or HTTP proxy. any. all of them. no cap. π
πΈ SYNOPSIS πΈ
redsocks [options]
π¦ DESCRIPTION π¦
so like, redsocks is a daemon (a lil background bestie) that runs on your local system and will transparently tunnel any TCP connection through a remote SOCKS4, SOCKS5 or HTTP proxy server. transparently meaning it just happens, nobody has to know, the apps don't even clock it. π
it does this by using your system firewall's redirection facility to intercept TCP connections. the way that works is so clever β the redirection is system-wide, with fine-grained control, and it does not depend on LD_PRELOAD libraries. (not me being obsessed with not needing LD_PRELOAD π iconic behaviour fr fr.)
redsocks supports tunneling TCP connections and UDP packets. and it has authentication support for both β SOCKS and HTTP proxies. equal opportunity auth, we love to see it. π«Ά
also included?? a small DNS server that returns answers with the "truncated" flag set for any UDP query, which forces the resolver to use TCP. she really said "UDP? not today, babes, we're going TCP." π
π OPTIONS π
-ppidfile β write the process ID to pidfile. so you can find your daemon later. she's not ghosting you, she left a note. π-cconfig β use config as the configuration file. tell her where the vibes live. β¨-tβ test the configuration file syntax. a little vibe check before you commit. π₯
β SEE ALSO β
iptables(8)β the firewall bestie doing the actual redirecting π/etc/redsocks.confβ the config file, obviously π/usr/share/doc/redsocks/README.gzβ the extended lore, go read it π§
π AUTHOR π
redsocks was written by Leonid Evdokimov <leon@darkk.net.ru>. absolute legend, no notes. π
this manual page was written by Apollon Oikonomopoulos <apoikos@debian.org>, for the Debian project (and may be used by others). she ate that. π
quick reminder bestie: the firewall redirection happens system-wide, so this isn't a cute little per-app thing β it's the whole machine. know what you're configuring before you configure it. π
and that's the whole page, babes!! πΈ this was from the System Manager's Manual, dated November 14, 2011 β vintage but still slaying β¨ β and it's the REDSOCKS(8) page, so now you know. go forth and proxy responsibly π¦π
π¦ where this page comes from
- debian bookworm: redsocks 0.5-2+b3 Β· Apache-2.0
- debian trixie: redsocks 0.5-2+b5 Β· Apache-2.0
- ubuntu jammy: redsocks 0.5-2build1 Β· Apache-2.0
- ubuntu noble: redsocks 0.5-2build4 Β· Apache-2.0
- ubuntu questing: redsocks 0.5-2build4
- ubuntu resolute: redsocks 0.5-2build5 Β· Apache-2.0
- ubuntu stonking: redsocks 0.5-2build5 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms