Powered by Jitbit .Net Forum free trial version. dismiss

HomeInstallation

Installation Issues

Bandwidth, Time Limit, Rate Limit Messages in this topic - RSS

lazy_when
lazy_when
Posts: 2


30.06.2010
lazy_when
lazy_when
Posts: 2
- Is it possible to set these parameters from the title in Group? If so how would look like the following example: 6 Gb Traffic, Monthly, 1Mbps/512Kbps?
- Also, is it possible that after I spent on 6Gb traffic in 10 days account remains active but the Rate Limit get reduced to 128kbps/128kbps for the end of the month? If it is, what should I set in options to do that? Im using Mikrotik.
- And one more thing, where I can find description of all "Attribute - Type - Value" options that I can set for Users and Groups?
Thanks in advance.
0 link
Admin
Admin
Administrator
Posts: 4931


30.06.2010
Admin
Admin
Administrator
Posts: 4931
Hi,

You can have WISPr-Bandwidth-Max-Up (Success-Reply) and WISPr-Bandwidth-Max-Down (Success-Reply) for upstream/downstream rate limiting and
Time-Limit (Check) attribute for time limiting in group profiles. You must have User-Credit and Credit-Type attributes in user profiles.

You can consider adding following attributes in group profile,

Failure-Reply-Type (Check) = Accept
WISPr-Bandwidth-Max-Up (Failure-Reply) = 128000
WISPr-Bandwidth-Max-Down (Failure-Reply) = 128000

Please note TekRADIUS will reply with an Access-Accept message containing Failure-Reply attrbiutes
if authentication fails either user has not enough credit or password is not valid.

Please consult TekRADIUS manual for special use of attributes.

Best regards,

Yaisn KAPLAN
0 link
lazy_when
lazy_when
Posts: 2


17.07.2010
lazy_when
lazy_when
Posts: 2
I` m such a beginner, omg. Please, I can`t set this to work right.
Can you please give me example for this.
Client will use pppoe connection to connect on my AP (Mikrotik). I want the following parameters to add to him from radius.
1. Bandwidth 512k/128k.
2. His account to be shut down after a month.
3. For the month to be downloaded 6GB.

What parameters to add in TekRadius for this above. One example please.

Thanks in advance.
0 link
Admin
Admin
Administrator
Posts: 4931


19.07.2010
Admin
Admin
Administrator
Posts: 4931
Hi,

Please try following user profile;

User-Password (Check)
WISPr-Bandwidth-Max-Up (Success-Reply) = 128000
WISPr-Bandwidth-Max-Down (Success-Reply) = 512000
Time-Limit (Check) = 43200
User-Credit (Check) = 6000
Credit-Unit (Check) = MByte

Best regards,

Yasin KAPLAN
0 link
frantinaandri
frantinaandri
Posts: 3


31.03.2011
frantinaandri
frantinaandri
Posts: 3
I want to limit bandwidth usage, for example i want to allowing the user to access internet 10MB, when the user reach the limit, they cannot log in before i release that user. Can you give me parameters to add in tekradius. Please.

Thanks in advance.

--
BR,
Andri
0 link
Admin
Admin
Administrator
Posts: 4931


31.03.2011
Admin
Admin
Administrator
Posts: 4931
Hi,

What type of access server do you use?

Best regards,

Yasin KAPLAN
0 link
frantinaandri
frantinaandri
Posts: 3


31.03.2011
frantinaandri
frantinaandri
Posts: 3
i use Mikrotik for internet hotspot and connect to tekRadius for user authentication.

BR,
Andri

--
BR,
Andri
0 link
Admin
Admin
Administrator
Posts: 4931


31.03.2011
Admin
Admin
Administrator
Posts: 4931
Hi,

Please try following user profile;

User-Password (Check)
User-Credit (Check) = 10000
Credit-Unit (Check) = MByte

Best regards,

Yasin KAPLAN
0 link
frantinaandri
frantinaandri
Posts: 3


1.04.2011
frantinaandri
frantinaandri
Posts: 3
Mr. Yasin,
I've done the configuration that you suggest, but I change the credit to be 1MB (it means user-credit set to 1000 right?). I have a problem here, users can exceed the credit limit that has been made​​, but the session was not interrupted/cut off. And when the user logoff, the user can not log in anymore because it has reached or exceeded the limit. How it can be happen? Or any other attribute to cut off the session when reach the limit?

--
BR,
Andri
0 link
Admin
Admin
Administrator
Posts: 4931


1.04.2011
Admin
Admin
Administrator
Posts: 4931
Your access server must provide a method to disconnect the user since access server controls the sessions.
0 link
dalili_s
dalili_s
Posts: 4


27.07.2011
dalili_s
dalili_s
Posts: 4
Hi,
How I can limit the rate on a windows 2008 server for ppptp vpn account? as I know WISPr-Bandwidth-Max-Down or Up are not standard attribute do would you help on which attribute may be used on this issue?

Thanks,
0 link
Admin
Admin
Administrator
Posts: 4931


28.07.2011
Admin
Admin
Administrator
Posts: 4931
As far as I know MS RRAS does not support rate limiting for client connections.
0 link
vertigomaker
vertigomaker
Posts: 16


13.08.2011
vertigomaker
vertigomaker
Posts: 16
Hi, I check this profile and it seems that Time-Limit does not work with User-Credit together! when the user create for the first login every thing is ok. but after that user cannot login to the RAS! the system message is "13/08/2011 3:40:25 AM - Authentication failed. Time-Limit for user 'user' has been expired"!
user profile is: (it works for the first time)
User-Password (Check)
User-Credit (Check) = 10000
Credit-Unit (Check) = MByte
Time-Limit=43200
------------
after first login the this field append to the user profile:
First-Logon=(today date/time)
and after that user cannot login and system message is what I copied in top!


how can I fix this?

Admin wrote:
Hi,

Please try following user profile;

User-Password (Check)
User-Credit (Check) = 10000
Credit-Unit (Check) = MByte

Best regards,

Yasin KAPLAN
0 link
Admin
Admin
Administrator
Posts: 4931


13.08.2011
Admin
Admin
Administrator
Posts: 4931
Hi,

I've fixed the problem. Please download and test the latest built which I've posted to TekRADIUS
web site a couple of minutes ago.

Best regards,

Yasin KAPLAN
0 link
taknamecom
taknamecom
Posts: 45


23.02.2015
taknamecom
taknamecom
Posts: 45
this solution have a bug.
when user enter correct username with wrong password can use internet with failure-replay internet speed.
how can I do that with out this bug ?
thanks
0 link
Admin
Admin
Administrator
Posts: 4931


23.02.2015
Admin
Admin
Administrator
Posts: 4931
Can you send me your configured attributes for such a user?
+1 link
taknamecom
taknamecom
Posts: 45


23.02.2015
taknamecom
taknamecom
Posts: 45
Admin wrote:
Can you send me your configured attributes for such a user?

Here is the screenshot from group and user profile.
edited by taknamecom on 23.02.2015

Attachments:
4554.png
0 link
Admin
Admin
Administrator
Posts: 4931


23.02.2015
Admin
Admin
Administrator
Posts: 4931
Which version of TekRADIUS do you use? Can you also send me TekRADIUS log entries for such a case?
0 link
taknamecom
taknamecom
Posts: 45


23.02.2015
taknamecom
taknamecom
Posts: 45
Admin wrote:
Which version of TekRADIUS do you use? Can you also send me TekRADIUS log entries for such a case?


23.02.2015 20:17:55.106 - Authentication failed. User '11930397' has insufficient credit, sending Failure-Reply (Accept).
I Using Version 4.9.3
0 link
Admin
Admin
Administrator
Posts: 4931


23.02.2015
Admin
Admin
Administrator
Posts: 4931
Please upgrade to the latest version 4.9.6.
0 link
12






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software