How To Install tnat64 on Debian 10

Learn how to install tnat64 on Debian 10 with this tutorial. tnat64 is IPv4 to NAT64 redirector

Introduction

In this tutorial we learn how to install tnat64 on Debian 10.

What is tnat64

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.

There are three methods to install tnat64 on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tnat64 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install tnat64 using apt-get by running the following command:

sudo apt-get -y install tnat64

Install tnat64 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tnat64 using apt by running the following command:

sudo apt -y install tnat64

Install tnat64 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tnat64 using aptitude by running the following command:

sudo aptitude -y install tnat64

How To Uninstall tnat64 on Debian 10

To uninstall only the tnat64 package we can use the following command:

sudo apt-get remove tnat64

Uninstall tnat64 And Its Dependencies

To uninstall tnat64 and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove tnat64

Remove tnat64 Configurations and Data

To remove tnat64 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge tnat64

Remove tnat64 configuration, data, and all of its dependencies

We can use the following command to remove tnat64 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tnat64

Dependencies

tnat64 have the following dependencies:

References

Summary

In this tutorial we learn how to install tnat64 package on Debian 10 using different package management tools: apt, apt-get and aptitude.