FreeVPNNet

How to set up SSTP on Linux

SSTP runs the VPN inside a TLS connection over TCP. Windows has a client built in; Android and Linux need a small app. You need the server address with its port, your username and your password.

Last reviewed

What you need

  • An active SSTP account from this site
  • Server address (with port), username and password from your account page

App

NetworkManager SSTP plugin

Get it from sstp-client project

Official source only.

Where each detail goes

Account details and the matching fields in the app
On your account pageIn the app or settings
Server addressServer name or address / Gateway (include the :port part)
HostHostname (apps that ask for the port separately)
PortPort (apps that ask for the port separately)
UsernameUser name
PasswordPassword

Steps

  1. Install the plugin: sudo apt install network-manager-sstp-gnome (Debian/Ubuntu) or sudo dnf install NetworkManager-sstp-gnome (Fedora).

  2. Open Settings → Network → VPN + → Secure Socket Tunneling Protocol (SSTP).

  3. Gateway: your Server address, including the colon and the port number.

  4. User name: your username. Password: your password.

  5. Save and switch the VPN on.

Check that it works

The VPN status shows "Connected". Search the web for "what is my IP"; the location should match your server country.

Disconnect

Switch the VPN off in the network menu.

Troubleshooting

It cannot reach the server

Check that the port is included. On Windows and Linux type the address as host:port, for example the Server address exactly as shown on your account page. In Open SSTP Client the port goes in the Setting tab.

Wrong user name or password

Re-type the username and password exactly as shown (they are case-sensitive). The account may also have expired; check the countdown on your account page.

Certificate error

Use the server name from your account page, not an IP address. The certificate is issued for that name.

It connects but is slow

SSTP runs over TCP, which is slower than WireGuard on most networks. If speed matters, create a WireGuard account instead.