Software & AppsOperating SystemLinux

How To Install SSTP Network-Manager Plugin on Ubuntu 20.04

Ubuntu 15

In this article, we will be discussing how to install the SSTP Network-Manager Plugin on Ubuntu 20.04. Secure Socket Tunneling Protocol (SSTP) is a form of VPN tunnel that provides a mechanism to transport PPP traffic through an SSL/TLS channel. SSL/TLS provides transport-level security with key-negotiation, encryption and traffic integrity checking.

Quick Answer

To install the SSTP Network-Manager Plugin on Ubuntu 20.04, you can use the standard installation method by using the apt package manager. Alternatively, Ubuntu 20.04 may already have the necessary functionality to connect to SSTP VPNs without installing additional packages. If these methods don’t work, you can try manually compiling the plugin from the git sources.

Standard Installation

The standard way to install the SSTP plugin is by using the apt package manager. Open a terminal and execute the following commands:

sudo add-apt-repository ppa:eivnaes/network-manager-sstp
sudo apt-get update
sudo apt install network-manager-sstp sstp-client
  • sudo add-apt-repository ppa:eivnaes/network-manager-sstp command adds the PPA (Personal Package Archive) to your system which contains the network-manager-sstp package.
  • sudo apt-get update updates the package lists for upgrades and new package installations.
  • sudo apt install network-manager-sstp sstp-client installs the SSTP plugin and the SSTP client.

Please note that this method may not work due to dependency problems.

Using Built-in Functionality

In some cases, Ubuntu 20.04 already has the necessary functionality to connect to SSTP VPNs without installing additional packages. To configure your SSTP VPN connection, go to Settings > Network > VPN > Add > Point-to-Point Tunneling Protocol (PPTP). This method has been reported to work for some users without the need for installing network-manager-sstp.

Manual Compilation

If the standard installation doesn’t work, you can try compiling the plugin from the git sources. Here’s how you can do it:

Step 1: Install Dependencies

First, you need to install the required dependencies by running the following command:

sudo apt-get install ppp-dev libevent-dev libssl-dev build-essential libgtk-3-dev libsecret-1-dev libp11-kit-dev libgnutls28-dev

These packages provide the necessary libraries and tools to compile and install the SSTP plugin.

Step 2: Download the Source Code

Next, download the source code from the git repository:

git clone https://github.com/enaess/network-manager-sstp.git
cd network-manager-sstp

git clone https://github.com/enaess/network-manager-sstp.git command clones the source code from the git repository to your local machine.

Step 3: Compile and Install the Plugin

Finally, compile and install the plugin:

./autogen.sh --prefix=/usr
./configure --prefix=/usr
make
sudo make install
  • ./autogen.sh --prefix=/usr and ./configure --prefix=/usr commands prepare the build system for the compilation.
  • make command compiles the source code.
  • sudo make install command installs the compiled plugin to your system.

After the installation, you should be able to use the SSTP plugin from the gnome network manager.

Conclusion

In this article, we’ve covered several methods to install the SSTP Network-Manager Plugin on Ubuntu 20.04. Remember that these solutions are based on user experiences and may not work for everyone. We recommend trying the different methods to see which one works best for your specific setup. If you encounter any issues, don’t hesitate to seek help from the Ubuntu community or the software’s developer.

Can I use the SSTP Network-Manager Plugin on other Ubuntu versions?

The installation instructions provided in this article are specifically for Ubuntu 20.04. However, you may be able to adapt them for other Ubuntu versions by checking for compatibility and adjusting package names or sources if necessary.

How do I configure my SSTP VPN connection after installing the plugin?

Once the plugin is installed, you can configure your SSTP VPN connection by going to Settings > Network > VPN > Add > Point-to-Point Tunneling Protocol (PPTP). Fill in the required details such as server address, username, and password to set up the connection.

What should I do if the standard installation method doesn’t work due to dependency problems?

If you encounter dependency problems during the standard installation, you can try manually compiling the plugin from the git sources. Follow the steps outlined in the "Manual Compilation" section of this article to compile and install the plugin on your system.

How can I uninstall the SSTP Network-Manager Plugin?

If you installed the plugin using the standard method, you can uninstall it by running the following command in a terminal:

sudo apt-get remove network-manager-sstp sstp-client

If you compiled and installed the plugin manually, navigate to the source code directory (where you ran make install) and run sudo make uninstall to remove the plugin.

Can I use the SSTP Network-Manager Plugin on other Linux distributions?

The SSTP Network-Manager Plugin is primarily developed for Ubuntu and its derivatives. While it may be possible to use it on other Linux distributions, the installation and configuration steps may vary. It’s recommended to consult the documentation or community resources specific to your distribution for guidance on installing and using the SSTP plugin.

Leave a Comment

Your email address will not be published. Required fields are marked *