DEV Community

Diego Carrasco Gubernatis
Diego Carrasco Gubernatis

Posted on • Originally published at diegocarrasco.com on

How to install SSTP VPN on Ubuntu-Based Distros such as Ubuntu, Kubuntu, KDE NEON, Linux Mint

TL;DR

This guide provides step-by-step instructions on installing and configuring Secure Socket Tunneling Protocol (SSTP) VPN on Ubuntu, Kubuntu, KDE Neon, and other similar distros. Whether you're using GNOME or other desktop environments, this guide covers all necessary steps, including troubleshooting tips.

Context

SSTP VPN is widely used for securely connecting to remote networks. It's especially relevant for Ubuntu-based Linux distributions, which might require different installation steps depending on the desktop environment. This guide simplifies the process, ensuring a smooth VPN setup.

Steps

For GNOME-Based Distros (Ubuntu)

1. Install SSTP Packages :

sudo apt install network-manager-sstp sstp-client

Enter fullscreen mode Exit fullscreen mode

2. Open Network Manager :

  • If unsure about accessing Network Manager, run:
nm-connection-editor

Enter fullscreen mode Exit fullscreen mode

3. Creating a New SSTP VPN Connection :

  • Use Network Manager to set up a new SSTP VPN connection.
  • Click on the '+' sign.
  • Select 'Secure Socket Tunneling Protocol (SSTP)' and click 'Create'.
  • Enter the VPN gateway, username, and password.
  • Save the settings.

For Non-GNOME Distros (Kubuntu, Linux Mint, KDE Neon)

1. Install Required Packages :

sudo apt install network-manager-gnome sstp-client network-manager-sstp

Enter fullscreen mode Exit fullscreen mode

2. Accessing Network Manager :

  • Run nm-connection-editor in the terminal.

3. Setting Up SSTP VPN :

  • Click on the '+' sign.
  • Select 'Secure Socket Tunneling Protocol (SSTP)' and click 'Create'.
  • Enter the VPN gateway, username, and password.
  • Save the settings.

4. Connecting to VPN :

  • Connect via your network manager (tested on KDE).

Troubleshooting

  • Restarting NetworkManager Services : Sometimes, it's necessary to restart network services for changes to take effect. Use sudo service network-manager restart in the terminal.
  • Other SSTP Versions I use the following versions
dpkg -l | grep sstp
iilibsstp-api-01.0.17-1amd64Connect to a Microsoft Windows 2008 server using SSTP VPN
iinetwork-manager-sstp1.3.0-0ubuntu1amd64network management framework (SSTP plugin core)
iinetwork-manager-sstp-gnome1.3.0-0ubuntu1amd64network management framework (SSTP plugin GNOME GUI)
iisstp-client1.0.17-1amd64Connect to a Microsoft Windows 2008 server using SSTP VPN

Enter fullscreen mode Exit fullscreen mode

References

  • Trial and Error
  • sstp documentation

Top comments (0)