Skip to main content

Manuale Utente (Inglese)

Connecting to an SSTP VPN server from MacOS

On macOS, using the Homebrew package manager, you can create an SSTP connection to the Keenetic router running the SSTP VPN server.

Run the terminal and install the sstp-client package:

brew update
brew install sstp-client

Then run the following command in the terminal:

sudo /usr/local/sbin/sstpc --cert-warn --tls-ext --user <login> --password <password> <keendns name of the router> usepeerdns require-mschap-v2 noauth noipdefault noccp refuse-eap refuse-pap refuse-mschap

Here is an example of an sstp connection to a router with the domain name myname.keenetic.link for the user sstp01 and the password sstp001:

sudo /usr/local/sbin/sstpc --cert-warn --tls-ext --user sstp01 --password sstp001 myname.keenetic.link usepeerdns require-mschap-v2 noauth noipdefault noccp refuse-eap refuse-pap refuse-mschap

If the 'defaultroute' option is added, all traffic will be routed through the VPN tunnel.

Use the --log-stderr --log-level 4 option to enable extra logging and connection logging.

In some scenarios on the VPN client side you need to add a static route of the following type

sudo route -n add 192.168.1.0/24 192.168.1.1

to access local network hosts behind the router.

On iPad and iPhone mobile devices, use the SSTP Connect app.