tnat64 command not found

In this troubleshooting guide we learn how to fix tnat64 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tnat64: command not found

or when using sudo you get the following error message

sudo: tnat64: command not found

Solutions to tnat64: command not found

How To Fix tnat64: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tnat64 is provided by tnat64 package.

tnat64 is:

tnat64 provides transparent network access to IPv4 hosts via NAT64 on IPv6-only hosts. tnat64 intercepts the calls applications make to establish TCP connections and transparently proxies them as necessary. This allows existing applications with no IPv6 support to still be able to reach the network with no need in modifications.

To fix this problem, we can install more using the command below.

sudo apt-get -y install tnat64

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install tnat64.

sudo apt -y install tnat64

Or if you have aptitude installed you can use the following command.

sudo aptitude install tnat64

Summary

In this tutorial we learn how to fix tnat64 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.