TNAT64(1)
π¦ TNAT64 β the manual page, bestie edition
okay so first things first: this is tnat64(1), a lil General Commands Manual page, and it's about a shell wrapper. she's giving "I'm the middleman between your app and the library that actually does the work" energy and honestly? iconic. π
β¨ NAME β¨
tnat64 β a Shell wrapper that simplifies using the tnat64(8) library. What she does: transparently let an application connect to IPv4 hosts via NAT64 on IPv6-only systems, specifically when the application itself doesn't support IPv6. π¦
No cap, that's the whole vibe: your app is stuck in IPv4 land, you're living in an IPv6-only world, and tnat64 is the bestie who translates. π«Ά
πΈ SYNOPSIS πΈ
tnat64 [application [application's arguments]]
or tnat64 [on|off]
or tnat64
like. three moods. pick one. π
π DESCRIPTION π
tnat64 is a wrapper between the tnat64 library and the application what you would like to run through NAT64. β¨
that's it, that's the girl. she stands in the middle, holds the door open, and lets the NAT64 happen. π
π OPTIONS π
[application [application's arguments]]β run the application exactly as specified, with the environment (LD_PRELOAD) set such thattnat64(8)will transparently forward all connections to the NAT64 via IPv6. literally just hand her your app and its args and she handles the rest. π[on|off]β this option adds or removestnat64(8)from theLD_PRELOADenvironment variable. Whentnat64(8)is in this variable, all executed applications are automatically NAT64-ed. πͺ
β οΈ okay so listen closely: if you want to use this function, you HAVE tosourcethe shell script from yours, like this:"source /usr/bin/tnat64"or". /usr/bin/tnat64"β do NOT just run it, it will not do the thing, and you will be sad. π
Example:
". tnat64 on" -- add the tnat64 lib to LD_PRELOAD
". tnat64 off" -- remove the tnat64 lib from LD_PRELOAD
[show|sh]β show the current value of theLD_PRELOADvariable. vibe check on your env, fr fr. π<without any argument>β create a new shell withLD_PRELOADincludingtnat64(8). main character energy: you get a whole fresh shell that's already NAT64-ed up. π
π 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, and then modified to be used with tnat64. π
so yeah β shoutout to Tamas, and shoutout to the glow-up journey: Debian tsocks β‘οΈ main tsocks β‘οΈ tnat64. ate. π
and that's the whole page, bestie!! this one came to you from the TNAT64 source, TNAT64(1), and no date was given on the original footer so we're just gonna say it's timeless, periodt. π
β¨πΈπ¦π
π¦ where this page comes from
- debian bookworm: tnat64 0.06-1+b1 Β· GPL-2.0-or-later
- debian trixie: tnat64 0.06-1+b1 Β· GPL-2.0-or-later
- nixos 26.05: tnat64 0.06
- nixpkgs unstable: tnat64 0.06
- ubuntu jammy: tnat64 0.06-1 Β· GPL-2.0-or-later
- ubuntu noble: tnat64 0.06-1 Β· GPL-2.0-or-later
- ubuntu questing: tnat64 0.06-1
- ubuntu resolute: tnat64 0.06-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: tnat64 0.06-2 Β· 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