How To Install gvpe on Debian 9

In this tutorial we learn how to install gvpe on Debian 9. gvpe is creates a virtual ethernet between multiple endpoints

Introduction

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

What is gvpe

gvpe is:

GVPE creates a virtual ethernet (broadcasts supported, any protocol that works with a normal ethernet should work with GVPE) by creating encrypted host-to-host tunnels between multiple endpoints.

Unlike other virtual private “network” solutions which merely create a single tunnel, GVPE creates a real network with multiple endpoints.

It is designed to be very simple and robust (cipher selection done at compiletime etc.), and easy to setup (only a single config file shared unmodified between all hosts).

VPN hosts can neither sniff nor fake packets, that is, you can use MAC-based filtering to ensure authenticity of packets even from member nodes.

GVPE can also be used to tunnel into some vpn network using a variety of protocols (raw IP, UDP, TCP, HTTPS-proxy-connect, ICMP and DNS). It is, however, primarily designed to sit on the gateway machines of company branches to connect them together.

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

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

sudo apt-get update

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

sudo apt-get -y install gvpe

Install gvpe Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gvpe

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

sudo aptitude -y install gvpe

How To Uninstall gvpe on Debian 9

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

sudo apt-get remove gvpe

Uninstall gvpe And Its Dependencies

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

sudo apt-get -y autoremove gvpe

Remove gvpe Configurations and Data

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

sudo apt-get -y purge gvpe

Remove gvpe configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gvpe

Dependencies

gvpe have the following dependencies:

References

Summary

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