nat-traverse command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nat-traverse: command not found
or when using sudo you get the following error message
sudo: nat-traverse: command not found
Solutions to nat-traverse: command not found
How To Fix nat-traverse: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nat-traverse is provided by nat-traverse package.
nat-traverse is:
nat-traverse establishes connections between nodes which are behind NAT gateways, i.e. hosts which do not have public IP addresses. Additionally, you can setup a small VPN by using pppd on top of nat-traverse. nat-traverse does not need an external server on the Internet, and it isn’t necessary to reconfigure the involved NAT gateways, either. nat-traverse works out-of-the-box.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nat-traverse
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nat-traverse.
sudo apt -y install nat-traverse
Or if you have aptitude installed you can use the following command.
sudo aptitude install nat-traverse
Summary
In this tutorial we learn how to fix nat-traverse command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.