Community discussions

MikroTik App
 
User avatar
tkzcol
just joined
Topic Author
Posts: 2
Joined: Fri Dec 02, 2022 8:01 am

I need help with this scenario,One IP can only connect three sstp clients!  [SOLVED]

Sat Dec 03, 2022 10:42 am

Server side: Routeros sstp server (v6.45)
Client: routeros sstp client (v6.45)

The client can only connect three sstp clients,The fourth pptp client can't connect

The process is as follows:

1:Make a certificate

/certificate add name=MYCA common-name=MYCA days-valid=3650 key-size=2048 key-usage=crl-sign,key-cert-sign

/certificate sign MYCA name=MYCA ca-crl-host=xx.xx.xx.xx

/certificate add name=Server common-name=Server days-valid=3650 key-size=2048 key-usage=digital-signature,key-encipherment,tls-server

/certificate sign Server name=Server ca=MYCA

/certificate set Server trusted=yes

:for myserver from 1 to 10 do={/certificate add name=("Client" . $myserver) common-name=("Client" . $myserver) days-valid=3650 key-size=2048 key-usage=tls-client}
:for myserver from 1 to 10 do={/certificate sign ("Client" . $myserver) name=("Client" . $myserver) ca=MYCA}
ca.jpg
2:Export the certificate for backup
caflie.jpg
3:configure server
ippool.jpg
profile1.jpg
4:create user
users.jpg
5:Enable SSTP service
server.jpg
6:Upload the certificate to the client, import the certificate
caru.jpg
causer.jpg
causer1.jpg
causer2.jpg
7:create sstp client
pptpc1.jpg
pptpc2.jpg
pptpc3.jpg
pptpc4.jpg
pptpc5.jpg
The first three connections are normal, but the fourth client fails to connect, and the latter cannot be connected either.
If one of the normal connections is disabled, the fourth client can connect
pptpjy.jpg
I want all clients to be able to connect, how to solve it
(In addition, I tested the pptp service, all are normal, all can be connected, except for the sstp service, a routeros terminal can only connect to three clients, if you add another terminal, you can connect to three clients)
Last edited by tkzcol on Mon Dec 05, 2022 1:33 pm, edited 4 times in total.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18959
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: I need help with this scenario,One IP can only connect three sstp clients!

Sat Dec 03, 2022 4:37 pm

 
User avatar
tkzcol
just joined
Topic Author
Posts: 2
Joined: Fri Dec 02, 2022 8:01 am

Re: I need help with this scenario,One IP can only connect three sstp clients!

Fri Dec 09, 2022 9:24 am

:) ,OK,I re-edited, this is more detailed
 
User avatar
MickeyT
Member Candidate
Member Candidate
Posts: 125
Joined: Tue Feb 18, 2020 7:06 am
Location: Australia

Re: I need help with this scenario,One IP can only connect three sstp clients!

Fri Dec 09, 2022 10:03 am

I am not sure what you are trying to do here, but it looks like you have 1 server MikroTik device and 1 client MikroTik device and you are trying to create multiple VPN connections between them.

I think (from what you've written) that you are trying to create a Site-To-Site VPN connection. If that's the case, you only need to have 1 of the SSTP connections running and then configure the routing so that the sites can talk to each other.

Who is online

Users browsing this forum: archemist, GoogleOther [Bot] and 29 guests