Parameter to limit user traffic in RouterOS
HugLeo
hugocanalli at gmail.com
Thu Apr 9 12:39:42 CEST 2009
**Thanks you so much.
On Wed, Apr 8, 2009 at 11:54 PM, Russell Tester
<russell at serverworks.co.nz>wrote:
> That's also a tad incorrect as 6 Gagawords is more like 24GB.
>
> You may also find this snippet from my dictionary.mikrotik useful:
>
> ATTRIBUTE Mikrotik-Recv-Limit-Gigawords 14 integer
> ATTRIBUTE Mikrotik-Xmit-Limit-Gigawords 15 integer
> ATTRIBUTE Mikrotik-Total-Limit 17 integer
> ATTRIBUTE Mikrotik-Total-Limit-Gigawords 18 integer
>
> 17 & 18 are relatively new and do as you'd expect, limit the total
> traffic as oppose to in or out.
>
> --Russ
>
>
> -----Original Message-----
> From:
> freeradius-users-bounces+russell=serverworks.co.nz at lists.freeradius.org
> [mailto:freeradius-users-bounces+russell<freeradius-users-bounces%2Brussell>
> =serverworks.co.nz at lists.freerad
> ius.org] On Behalf Of Vegard Svanberg
> Sent: Thursday, 9 April 2009 4:23 a.m.
> To: FreeRadius users mailing list
> Subject: Re: Parameter to limit user traffic in RouterOS
>
> * HugLeo <hugocanalli at gmail.com> [2009-04-08 15:59]:
>
> > I'was reading a mk documentation which website is
> > [1]http://www.mikrotik.com/testdocs/ros/3.0/aaa/ppp.php and I've
> found
> > in the session Monitoring Active PPP Users:
> > limit-bytes-in (read-only: integer) - maximal amount of bytes the
> user
> > is allowed to send to the router
> > limit-bytes-out (read-only: integer) - maximal amount of bytes the
> > router is allowed to send to the client
>
> You would have figured this out pretty easily by reading the docs, but
> you'd just do (I assume you use the users file as backend):
>
> username User-Password == "foo"
> Mikrotik-Recv-Limit-Gigawords := "6",
> Mikrotik-Xmit-Limit-Gigawords := "6"
>
> BTW, MT's 3.0 doc is incomplete. Read the 2.9 manual (or the wiki) and
> check the "RADIUS client" topic.
>
> > Are there a way to send that to RouterOS using radclient?
>
> Not sure what you mean by using radclient to send something to RouterOS.
> Radclient will talk to the RADIUS server, not another client.
>
> --
> Vegard Svanberg <vegard at svanberg.no> [*Takapa at IRC (EFnet)]
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
--
-hUgLeO-♑
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090409/e68691bd/attachment.html>
More information about the Freeradius-Users
mailing list