How To Install nuauth on Debian 9

In this tutorial we learn how to install nuauth on Debian 9. nuauth is authenticating firewall [authentication daemon]

Introduction

In this tutorial we learn how to install nuauth on Debian 9.

What is nuauth

nuauth is:

NuFW is an authenticating firewall based on netfilter’s NFQUEUE target. It allows one to write filtering rules based on user identity, in addition to classical network criteria. Unless other solutions, NuFW uses a strict security model and can apply different access rules to users connected on the same host, for example.

NuFW can:

  • Act as a traditional firewall
  • Add user identity to the list of parameters used to write firewall rules
  • Authenticate any connection or protocol
  • Perform accounting, routing and quality of service based on users
  • Filter packets with criteria such as application and OS
  • Log all traffic in SQL with username and application information
  • Be the key of a secure and simple Single Sign On system.

This package provides the authentication daemon, which uses a user database (though PAM modules) and an ACL database (which can be a LDAP directory, or XML/DBM files, etc.). Nuauth handles both client authentication, taking decisions on requests sent by the nufw daemon to accept packets or not, and sending decision to the nufw daemon.

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

Install nuauth Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nuauth

Install nuauth Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nuauth

Install nuauth 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 nuauth using aptitude by running the following command:

sudo aptitude -y install nuauth

How To Uninstall nuauth on Debian 9

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

sudo apt-get remove nuauth

Uninstall nuauth And Its Dependencies

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

sudo apt-get -y autoremove nuauth

Remove nuauth Configurations and Data

To remove nuauth configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge nuauth

Remove nuauth configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nuauth

Dependencies

nuauth have the following dependencies:

References

Summary

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