Hi, I’m running an SSTP server and I would limit to oneconnection for single user specified on secret, I’ve found that I could specify on profile one connection only, I’ve tested and it works, so I can create a profile for each user using the same Local address (as gateway), but can I use the same pool addresses? Or there are chances the different profiles my assign the same IP for 2 users? Is better to create for each profile a different pool? Thank you for answers.
EDIT: to not open a new topic I continued with this one, I succeded but unfortunately the connection keeps on Mikrotik even if it not active, timeout and idle doesn't do what they expect to do, please jump here:
Pools are exactly for your stated purpose: they track allocated addresses and don’t give out in-use addresses. Addresses are given out on connection and are only returned to the free pool on disconnection.
What the main difference between assigning addresses individually and using pools is that in the pool case users are not guaranteed to always get the same address; it’s basically first-come-first-served.
Just an additional note: the address a client gets can be added automatically to an address list, or the particular interface to an interface list to help with proper firewalling.
Hi, with one user I still have to problem, probably caused by the app on his phone (SSTP Max, other users includng me are using it, and the problem was solved after setting the timeout).
n this case the user still on "D", how I can kill automatically the "D" users? Can I run a script that checks each minute the only "D" users and kill them? Thank you!