How to install SSTP VPN on Ubuntu-Based Distros such as Ubuntu, Kubuntu, KDE NEON, Linux Mint
Tags: kdeneon, kubuntu, linuxvpn, networkmanager
Published: 2024-04-04 15:55:18

---
title: How to install SSTP VPN on Ubuntu-Based Distros such as Ubuntu, Kubuntu, KDE NEON, Linux Mint
published: true
date: 2024-04-04 08:00:00 UTC
tags: KDENeon,kubuntu,LinuxVPN,networkmanager
canonical_url: https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/
---

![](https://diegocarrasco.com/images/social-images/install-sstp-vpn-ubuntu-distros.jpg)

 

- [TL;DR](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#tldr)
- [Context](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#context)
- [Steps](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#steps)
  - [For GNOME-Based Distros (Ubuntu)](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#for-gnome-based-distros-ubuntu)
    - [1. Install SSTP Packages:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#1-install-sstp-packages)
    - [2. Open Network Manager:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#2-open-network-manager)
    - [3. Creating a New SSTP VPN Connection:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#3-creating-a-new-sstp-vpn-connection)
  - [For Non-GNOME Distros (Kubuntu, Linux Mint, KDE Neon)](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#for-non-gnome-distros-kubuntu-linux-mint-kde-neon)
    - [1. Install Required Packages:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#1-install-required-packages)
    - [2. Accessing Network Manager:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#2-accessing-network-manager)
    - [3. Setting Up SSTP VPN:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#3-setting-up-sstp-vpn)
    - [4. Connecting to VPN:](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#4-connecting-to-vpn)
- [Troubleshooting](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#troubleshooting)
- [References](https://diegocarrasco.com/install-sstp-vpn-ubuntu-distros/#references)

## 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

```

#### 2. **Open Network Manager** :

- If unsure about accessing Network Manager, run:

```
nm-connection-editor

```

#### 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

```

#### 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

```

## References

- Trial and Error
- sstp documentation