How To Install netscript-ipfilter on Kali Linux
Introduction
In this tutorial we learn how to install netscript-ipfilter on Kali Linux.
What is netscript-ipfilter
netscript-ipfilter is:
This is a cut down version of netscript-2.4, which is just the ipfilter iptables/ip6tables management implementation. This provides iptables and ip6tables management with a cyclic backup history, via iptables-restore and iptables-save.
This is designed to work with ifupdown, and is better than iptables-persistent as you can roll back filter changes if you have made a mistake.
There are three methods to install netscript-ipfilter 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 netscript-ipfilter Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install netscript-ipfilter using apt-get by running the following command:
sudo apt-get -y install netscript-ipfilterInstall netscript-ipfilter Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install netscript-ipfilter using apt by running the following command:
sudo apt -y install netscript-ipfilterInstall netscript-ipfilter 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 updateAfter updating apt database, We can install netscript-ipfilter using aptitude by running the following command:
sudo aptitude -y install netscript-ipfilterHow To Uninstall netscript-ipfilter on Kali Linux
To uninstall only the netscript-ipfilter package we can use the following command:
sudo apt-get remove netscript-ipfilterUninstall netscript-ipfilter And Its Dependencies
To uninstall netscript-ipfilter and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove netscript-ipfilterRemove netscript-ipfilter Configurations and Data
To remove netscript-ipfilter configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge netscript-ipfilterRemove netscript-ipfilter configuration, data, and all of its dependencies
We can use the following command to remove netscript-ipfilter configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge netscript-ipfilterDependencies
netscript-ipfilter have the following dependencies:
References
Summary
In this tutorial we learn how to install netscript-ipfilter package on Kali Linux using different package management tools: apt, apt-get and aptitude.