SSTP setup

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
shrm
Posts: 4
Joined: Mon Oct 24, 2022 12:09 am

SSTP setup

Post by shrm » Mon Oct 24, 2022 12:18 am

Hey guys, I just created one VPN server with SoftEther over an Ubuntu. All the steps of setup are done according to the Tutorials provided by the website. I generated a VHub, a certificate, and a user. But I can't run the "SstpEnable yes" command. I got this error:

Code: Select all

VPN Server>SstpEnable yes
"SstpEnable": Command not found. 
You can use the HELP command to view a list of the available commands.
Within the help nothing about this command, how to activate SSTP on this hub?
kind regards,
Shrm

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: SSTP setup

Post by solo » Mon Oct 24, 2022 12:51 am

Code: Select all

vpncmd localhost:port /server /password:*** /cmd SstpEnable yes
or Win/WINE remote GUI

eddiewu
Posts: 286
Joined: Wed Nov 25, 2020 9:10 am

Re: SSTP setup

Post by eddiewu » Mon Oct 24, 2022 2:15 am

This command has been removed in the developer edition.
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1177

shrm
Posts: 4
Joined: Mon Oct 24, 2022 12:09 am

Re: SSTP setup

Post by shrm » Mon Oct 24, 2022 6:37 am

Hey Solo, thanks for fast respond, I tried your suggestion:
solo wrote:
Mon Oct 24, 2022 12:51 am

Code: Select all

vpncmd localhost:port /server /password:*** /cmd SstpEnable yes
or Win/WINE remote GUI
The result became like this:

Code: Select all

root@2dba4b1054aa:/usr/local/vpnserver# vpncmd 107.192.44.129:443 /server /password:MyPass /cmd SstpEnable yes
vpncmd command - SoftEther VPN Command Line Management Utility Developer Edition
SoftEther VPN Command Line Management Utility (vpncmd command)
Developer Edition
Version 5.02 Build 5180   (English)
Compiled 2022/10/22 20:27:54 by  at 2dba4b1054aa
Copyright (c) all contributors on SoftEther VPN project in GitHub.
Copyright (c) Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation.
All rights reserved.

Connection has been established with VPN Server "107.192.44.129" (port 443).

You have administrator privileges for the entire VPN Server.

VPN Server>SstpEnable yes
"SstpEnable": Command not found. 
You can use the HELP command to view a list of the available commands.
There is no Sstp*** , and regarding the Wine, I am using a Linux server w/o GUI.

shrm
Posts: 4
Joined: Mon Oct 24, 2022 12:09 am

Re: SSTP setup

Post by shrm » Mon Oct 24, 2022 6:38 am

eddiewu wrote:
Mon Oct 24, 2022 2:15 am
This command has been removed in the developer edition.
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1177
So how can I enable it? Should I pay for that?

eddiewu
Posts: 286
Joined: Wed Nov 25, 2020 9:10 am

Re: SSTP setup

Post by eddiewu » Mon Oct 24, 2022 6:45 am

Read that link, if you read English.

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: SSTP setup

Post by solo » Mon Oct 24, 2022 6:52 am

shrm wrote:
Mon Oct 24, 2022 6:37 am
Hey Solo, thanks for fast respond, I tried your suggestion:
...
There is no Sstp*** , and regarding the Wine, I am using a Linux server w/o GUI.
Use CLI "edit" and...

Code: Select all

	declare ServerConfiguration
	{
...
		bool DisableSSTPServer true
---> FALSE

shrm
Posts: 4
Joined: Mon Oct 24, 2022 12:09 am

Re: SSTP setup

Post by shrm » Mon Oct 24, 2022 8:34 am

Within the vpn_server.config file, the only line with "SSTP" is:

Code: Select all

                       declare SSTP
			{
				bool Enabled true
			}
Should I add this statement?

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: SSTP setup

Post by solo » Mon Oct 24, 2022 9:59 am

It seems changed in the developer edition. Either use the "ProtoOptionsSet command" which @eddiewu proposed, or run vpnsmgr.exe from Windows or Linux' WINE. You can use SE server manager remotely from another PC/VM with a GUI.

Post Reply