Page 1 of 1

SSTP setup

Posted: Mon Oct 24, 2022 12:18 am
by shrm
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

Re: SSTP setup

Posted: Mon Oct 24, 2022 12:51 am
by solo

Code: Select all

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

Re: SSTP setup

Posted: Mon Oct 24, 2022 2:15 am
by eddiewu
This command has been removed in the developer edition.
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1177

Re: SSTP setup

Posted: Mon Oct 24, 2022 6:37 am
by shrm
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.

Re: SSTP setup

Posted: Mon Oct 24, 2022 6:38 am
by shrm
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?

Re: SSTP setup

Posted: Mon Oct 24, 2022 6:45 am
by eddiewu
Read that link, if you read English.

Re: SSTP setup

Posted: Mon Oct 24, 2022 6:52 am
by solo
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

Re: SSTP setup

Posted: Mon Oct 24, 2022 8:34 am
by shrm
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?

Re: SSTP setup

Posted: Mon Oct 24, 2022 9:59 am
by solo
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.