Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows SSTP VPN - connect from Mac [closed]

Tags:

You may know that windows server VPN often can run on SSTP. Connecting from Windows 10 is pretty easy, but if you have to work remotely from your personal Mac? Mac OS does not support SSTP VPN out of the box.

enter image description here

like image 832
Yury Bondarau Avatar asked Nov 14 '16 14:11

Yury Bondarau


People also ask

Can you use SSTP VPN on Mac?

Mac OS does not support SSTP VPN out of the box.

Why Internet is not working when VPN is connected Mac?

This issue is likely connected to your current DNS settings on your mac. When the VPN is turned on, the DNS address is being recognized and used. But when you turn the VPN off that DNS is not recognized and thus you cannot use the internet.


1 Answers

Below is short instruction what to do if you want to connect Windows SSTP VPN from MacOS

Prerequisites: Homebrew installed - see here

Run terminal and install sstp-client

brew update brew install sstp-client 

In order to connect to your SSTP VPN with login and password use the following command line:

sudo /usr/local/sbin/sstpc --log-stderr --cert-warn --user <user> --password <password> <server> usepeerdns require-mschap-v2 noauth noipdefault defaultroute refuse-eap noccp 

If you prefer to have UI to start your VPN connection you can use iSstp

https://www.axot.org/2015/03/03/isstp-a-sstp-client-for-mac-osx/

like image 113
Yury Bondarau Avatar answered Sep 19 '22 15:09

Yury Bondarau