How To Install fwknop-gui on Ubuntu 18.04
Introduction
In this tutorial we learn how to install fwknop-gui
on Ubuntu 18.04.
What is fwknop-gui
fwknop-gui is:
The FireWall KNock OPerator implements an authorization scheme called Single Packet Authorization (SPA), based on Netfilter and libpcap.
Its main application is to protect services such as OpenSSH with an additional layer of security in order to make the exploitation of vulnerabilities (both 0-day and unpatched code) much more difficult.
Fwknop GUI is a graphical user interface integrated with an Fwknop client that provides the ability to send SPA packets to a remote Fwknop server, as well as a front-end for creating and managing client configurations for multiple Fwknop servers.
It supports exporting saved configuration data to a QR code format readable by the Android client, as well as to the .fwknoprc format readable by the command line client.
There are three methods to install fwknop-gui
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install fwknop-gui Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fwknop-gui
using apt-get
by running the following command:
sudo apt-get -y install fwknop-gui
Install fwknop-gui Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fwknop-gui
using apt
by running the following command:
sudo apt -y install fwknop-gui
Install fwknop-gui 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install fwknop-gui
using aptitude
by running the following command:
sudo aptitude -y install fwknop-gui
How To Uninstall fwknop-gui on Ubuntu 18.04
To uninstall only the fwknop-gui
package we can use the following command:
sudo apt-get remove fwknop-gui
Uninstall fwknop-gui And Its Dependencies
To uninstall fwknop-gui
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove fwknop-gui
Remove fwknop-gui Configurations and Data
To remove fwknop-gui
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge fwknop-gui
Remove fwknop-gui configuration, data, and all of its dependencies
We can use the following command to remove fwknop-gui
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fwknop-gui
References
Summary
In this tutorial we learn how to install fwknop-gui
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.