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

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
ii  libsstp-api-0                                 1.0.17-1                                                                     amd64        Connect to a Microsoft Windows 2008 server using SSTP VPN
ii  network-manager-sstp                          1.3.0-0ubuntu1                                                               amd64        network management framework (SSTP plugin core)
ii  network-manager-sstp-gnome                    1.3.0-0ubuntu1                                                               amd64        network management framework (SSTP plugin GNOME GUI)
ii  sstp-client                                   1.0.17-1                                                                     amd64        Connect to a Microsoft Windows 2008 server using SSTP VPN

References

  • Trial and Error
  • sstp documentation

Comments

Comments powered by Disqus