tnat641
Shell wrapper to simplify the use of the tnat64(8) library to transparently allow an application to connect to ipv4 hosts via nat64 on ipv6-only systems when the application doesn't support ipv6 itself.
Usage
tnat64 [application
[application's
arguments]]
or tnat64
[{on | off}]
or tnat64
Overview
tnat64 is a wrapper between the tnat64 library and the application what you would like to run through NAT64.
Options
- [application [application's arguments]]
-
run the application as specified with the environment (LD_PRELOAD) set such that tnat64(8) will transparently forward all connections to the NAT64 via IPv6
[on|off]-
this option adds or removes tnat64(8) from the LD_PRELOAD environment variable. When tnat64(8) is in this variable all executed applications are automatically NAT64-ed. If you want to use this function, you HAVE to source the shell script from yours, like this: "source /usr/bin/tnat64" or ". /usr/bin/tnat64"
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 the LD_PRELOAD variable
- <without any argument>
-
create a new shell with LD_PRELOAD including tnat64(8).
Releases
Unchanged in 7 releases since Debian 7 (Wheezy).