How To Install jool-dkms on Kali Linux

In this tutorial we learn how to install jool-dkms on Kali Linux. jool-dkms is kernel-based SIIT and NAT64 (IP/ICMP translation)

Introduction

In this tutorial we learn how to install jool-dkms on Kali Linux.

What is jool-dkms

jool-dkms is:

Jool is an IP/ICMP translator; a NAT-like kernel-based utility that converts IPv4 traffic into IPv6 and vice versa, according to a configurable IP address translation strategy.

The jool_siit module implements SIIT (sometimes known as “Stateless NAT64”), a lightweight translator that avoids storing state by keeping a deterministic 1-to-1 relationship between IPv4 addresses and their IPv6 counterparts. It can translate addresses using the “traditional prefix” algorithm defined in RFC 6052, and/or the Explicit Address Mapping algorithm defined in RFC 7757.

The jool module implements Stateful NAT64, a translator that can achieve 1 (IPv4)-to-N (IPv6) relationships through a mapping strategy based on stateful NAT. Its full address translation algorithm is defined in RFC 6146.

Both of these functions can be attached to the kernel in Netfilter hooks or as iptables targets.

This package contains the kernel modules. The jool-tools package contains the userspace configuration clients.

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

Install jool-dkms Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jool-dkms

Install jool-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jool-dkms

Install jool-dkms Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install jool-dkms

How To Uninstall jool-dkms on Kali Linux

To uninstall only the jool-dkms package we can use the following command:

sudo apt-get remove jool-dkms

Uninstall jool-dkms And Its Dependencies

To uninstall jool-dkms and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove jool-dkms

Remove jool-dkms Configurations and Data

To remove jool-dkms configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge jool-dkms

Remove jool-dkms configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jool-dkms

Dependencies

jool-dkms have the following dependencies:

References

Summary

In this tutorial we learn how to install jool-dkms package on Kali Linux using different package management tools: apt, apt-get and aptitude.