How To Install netscript-2.4 on Debian 10

Learn how to install netscript-2.4 on Debian 10 with this tutorial. netscript-2.4 is Linux 2.4/2.6/3.x router/firewall/VM host network config system.

Introduction

In this tutorial we learn how to install netscript-2.4 on Debian 10.

What is netscript-2.4

netscript-2.4 is:

This is a router and firewall network configuration system. It is specific to the 2.4.x and 2.6.x kernel series. This system is in production use, even though this is an experimental version.

It offers much finer grained control of the network setup than the standard system in netbase, with support for bridge configuration, iptables, ip route and tc traffic control. It is optimised for use on high traffic routers with interfaces being reconfigured individually while the rest of the machine is routing traffic 24x7. Common boiler plate filter creation functions are provided to ease the task of constructing iptables filters in the context of operation within an ISP network.

Since this package is designed for a heavy duty network router, it is designed to work in conjunction with a routing daemon as found in the quagga package.

DON’T use this on a pure server - it is VERY useful for a Virtual Machine server with complex networking needs. This is because of its comprehensive network configuration capabilities. Thus it is a tempting replacement when you have to rip out NetworkManager on a server.

It was originally designed for dedicated routers and firewalls, and hence its lightweight scripting footprint. When it comes to firewall configuration though, have a look at the mason package if you are faint of heart.

There are three methods to install netscript-2.4 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 netscript-2.4 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install netscript-2.4

Install netscript-2.4 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install netscript-2.4

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

sudo aptitude -y install netscript-2.4

How To Uninstall netscript-2.4 on Debian 10

To uninstall only the netscript-2.4 package we can use the following command:

sudo apt-get remove netscript-2.4

Uninstall netscript-2.4 And Its Dependencies

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

sudo apt-get -y autoremove netscript-2.4

Remove netscript-2.4 Configurations and Data

To remove netscript-2.4 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge netscript-2.4

Remove netscript-2.4 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge netscript-2.4

Dependencies

netscript-2.4 have the following dependencies:

References

Summary

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