Community discussions

MikroTik App
 
rizwan602
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu Jun 28, 2012 5:15 am

Limiting incoming VPN users

Wed Jul 16, 2014 3:04 am

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
 
User avatar
villageworker
newbie
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Re: Limiting incoming VPN users

Wed Jul 16, 2014 6:05 am

Set the 'only-one' property. See http://wiki.mikrotik.com/wiki/Manual:PPP_AAA
 
rizwan602
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu Jun 28, 2012 5:15 am

Re: Limiting incoming VPN users

Thu Jul 17, 2014 1:27 am

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"

Set the 'only-one' property. See http://wiki.mikrotik.com/wiki/Manual:PPP_AAA
 
rizwan602
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu Jun 28, 2012 5:15 am

Re: Limiting incoming VPN users

Thu Jul 17, 2014 2:00 am

Also, is it possible to set the limit to 3 concurrent connections?
Set the 'only-one' property. See http://wiki.mikrotik.com/wiki/Manual:PPP_AAA
 
User avatar
villageworker
newbie
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Re: Limiting incoming VPN users

Thu Jul 17, 2014 8:23 pm


"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"

Set the 'only-one' property. See http://wiki.mikrotik.com/wiki/Manual:PPP_AAA
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

Who is online

Users browsing this forum: billyerasmus101, complexxL9 and 221 guests