TSOCKS(1)
π TSOCKS(1) β the tsocks manual, bestie edition π
okay so real talk: this is the tsocks page from the General Commands Manual, section 1. It's a little shell wrapper, and it's about to make your SOCKS proxy dreams come true. no cap. π¦
β¨ NAME β¨
tsocks β a shell wrapper that simplifies using the tsocks(8) library, so your app can go through a SOCKS proxy transparently. like, the app doesn't even know. it's giving invisible cloak energy. π
πΈ SYNOPSIS πΈ
tsocks [application [application's arguments]]
or tsocks [-on|-off]
or tsocks
π DESCRIPTION π
tsocks is the lil' middleman between the tsocks library and the application that you want to run socksified. that's the whole job. it's the group-chat admin of your network calls. π
π«Ά OPTIONS π«Ά
[application [application's arguments]]β runs the application exactly as you specified it, but with the environment (LD_PRELOAD) set up so thattsocks(8)will transparently proxy SOCKS connections inside that program. the app is literally none the wiser. iconic behavior. β¨[-on|-off]β this one adds or removestsocks(8)from theLD_PRELOADenvironment variable. and whentsocks(8)is chillin' in that variable, every application you execute gets automatically socksified. so powerful. π
β οΈ heads up bestie: if you want to use this function, you HAVE to source the shell script from yours, like this:"source /usr/bin/tsocks"or". /usr/bin/tsocks". no sourcing, no vibes.
Examples, because i love you:
". tsocks -on"β add the tsocks lib toLD_PRELOAD(don't forget the leading dot! fr fr, the dot matters)". tsocks -off"β remove the tsocks lib fromLD_PRELOAD(don't forget the leading dot!)
[-show|-sh]β shows you the current value of theLD_PRELOADvariable. a little peek behind the curtain. π«£<without any argument>β creates a new shell withLD_PRELOADincludingtsocks(8). fresh shell, socksified shell, main character shell. π
π SEE ALSO π
go read those too, they're part of the lore. π
π AUTHOR π
This script was created by Tamas SZERB <toma@rulez.org> for the debian package of tsocks. It (along with this manual page) have since been adapted into the main tsocks project and modified. a true legend, honestly. π
and that's the whole page, bestie π this one came from the TSOCKS(1) manual in the General Commands Manual, sourced straight from the tsocks project's own page. ty for reading, mwah π«Ά
π¦ where this page comes from
- debian bookworm: tsocks 1.8beta5+ds1-1+b3
- debian trixie: tsocks 1.8beta5+ds1-3+b8 Β· GPL-2.0-or-later
- ubuntu jammy: tsocks 1.8beta5+ds1-1ubuntu1
- ubuntu noble: tsocks 1.8beta5+ds1-2 Β· GPL-2.0-or-later
- ubuntu questing: tsocks 1.8beta5+ds1-3
- ubuntu resolute: tsocks 1.8beta5+ds1-4 Β· GPL-2.0-or-later
- ubuntu stonking: tsocks 1.8beta5+ds1-5 Β· 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