Page 1 of 1

SSTP does not connect to KeenetisOS VPN

Posted: Mon Oct 14, 2019 10:24 am
by valeramalko
Hello
I have an sstp vpn server on a keenetic router, but the vpn client does not connect to the server, below is the log from the client

Code: Select all

2019-10-14 15:14:58 VpnClientPro-google-api15-release-1.00.21 (13010021)
2019-10-14 15:14:58 Connecting request by user
2019-10-14 15:14:59 OpenSSL 1.1.1c  28 May 2019
2019-10-14 15:14:59 Connecting to xx.xx.xx.xx:443
2019-10-14 15:14:59 Set TLS SNI extension to "ххххх.keenetic.pro"
2019-10-14 15:14:59 TLSv1.3 connection established with cipher TLS_CHACHA20_POLY1305_SHA256
2019-10-14 15:15:24 SSL socket closed by remote side
2019-10-14 15:15:24 Wait 5 seconds...
2019-10-14 15:15:29 Connecting to xx.xx.xx.xx:443
2019-10-14 15:15:29 Set TLS SNI extension to "ххххх.keenetic.pro"
2019-10-14 15:15:30 TLSv1.3 connection established with cipher TLS_CHACHA20_POLY1305_SHA256
2019-10-14 15:15:54 SSL socket closed by remote side
2019-10-14 15:15:54 Wait 5 seconds...
on a router such a log:

Code: Select all

Oct 14 15:14:59 Keenetic_Giga ppp-sstp[11352]: sstp: proxy: connection from 94.25.176.115:6697
Oct 14 15:14:59 Keenetic_Giga ppp-sstp[11352]: ppp0:: connect: ppp0 <--> sstp(94.25.176.115:6697)
Oct 14 15:15:24 Keenetic_Giga ppp-sstp[11352]: ppp0:: sstp: ppp: read: Input/output error
Oct 14 15:15:30 Keenetic_Giga ppp-sstp[11352]: sstp: proxy: connection from 94.25.176.115:11112
Oct 14 15:15:30 Keenetic_Giga ppp-sstp[11352]: ppp0:: connect: ppp0 <--> sstp(94.25.176.115:11112)
Oct 14 15:15:54 Keenetic_Giga ppp-sstp[11352]: ppp0:: sstp: ppp: read: Input/output error
keeneticOS developers replied that "the client does not know how to handle LCP Configure-Nak"
can this problem be solved?

Re: SSTP does not connect to KeenetisOS VPN

Posted: Mon Oct 14, 2019 12:37 pm
by admin
It's strange because it work with all Windows/Mikrotik implementations.
Maybe the debug log may help to understand the problem.
Anyway the log contains a lot of informations, so is better if you send it to android@colucci-web.it

Here the steps to get the log:
  • edit the VPN
  • tap on "Options"
  • select "Set log level" and set the value to 3
  • save the changes
  • connect the VPN
  • wait for the error
  • disconnect the VPN
  • export and send the log
After the test, remember to edit the VPN and unselect the "Set log option"

Re: SSTP does not connect to KeenetisOS VPN

Posted: Mon Oct 14, 2019 2:20 pm
by valeramalko
admin wrote: Mon Oct 14, 2019 12:37 pm send it to android@colucci-web.it
I sent a log to email

Re: SSTP does not connect to KeenetisOS VPN

Posted: Mon Oct 14, 2019 3:19 pm
by admin
Thank you very much for the bug report.
The problem was related to a bug in the LCP negotiation.
The problem has been fixed in the new release 1.00.22 that will be available shortly

Re: SSTP does not connect to KeenetisOS VPN

Posted: Tue Oct 15, 2019 8:59 am
by valeramalko
thanks, now it works