Limit SSTP connection to one for a single user

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

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.

1 Like

thak you mate for your answer, so it’s defenely possible to do that, and I did :slight_smile: