Limiting incoming VPN users

Hello,

I have a MikroTik routerboard set up as a PPTP server. I have set up PPTP secret (username and password). The PPTP server is working great and users can remote in from anywhere they have an internet connection.

I want to know if there is a way to limit concurrent logins using a PPTP username and password. I want to make sure that only 1 connection is made. I do not want to have the same PPTP username have more than 1 concurrent login.

How can I make this work?

Thank you for your help.

Rizwan

Set the ‘only-one’ property. See http://wiki.mikrotik.com/wiki/Manual:PPP_AAA

Thank you for that information. I saw the manual and have another question. What does this mean?

“default - derive this value from the interface default profile; same as no if this is the interface default profile”

What interface is this referring to? “interface default profile”


Also, is it possible to set the limit to 3 concurrent connections?

There are two profiles created - default and default-encryption. So if you use the default profile the value of
property only-one is no

The PPTP connection is considered an interface.

Regarding limiting a user to 3 connections I am not sure. May require some experimentation with IP pools’s