[strongSwan] want to bandwidth control on strongswan end users.
Yanrui Hu
yhu at appannie.com
Tue Oct 27 02:47:38 CET 2015
My previous mail is raise the question that how to identify the user.
Now I make it work with ippool(free
radius)+(rightsourceip=%radius+IPRange)(strong swan).
Let me explain a little bit by chinese to zhuyj:
iptable可以做流量控制,但是我之前的问题是如何让不同的用户得到不同的ip段这样才能进行分别的控制
我的目的是流量控制一部分用户不是所有的
On Mon, Oct 26, 2015 at 7:21 PM, zhuyj <mounter625 at 163.com> wrote:
> Ok,if you identify the user with ip or port, you can add ip or port filter
> to iptables rules.
>
> 发自我的 iPhone
>
> 在 2015年10月26日,09:24,Yanrui Hu <yhu at appannie.com> 写道:
>
> ip tables can do bandwidth control.
> but can not do it based on different user!
>
> On Fri, Oct 23, 2015 at 10:29 PM, zhuyj <mounter625 at 163.com> wrote:
>
>> Ip tables can do!
>>
>> 发自我的 iPhone
>>
>> 在 2015年10月23日,16:14,Yanrui Hu <yhu at appannie.com> 写道:
>>
>> Guys,
>> Want to bandwidth limit some users.
>> Seems strongswan can not do this, only can do by command line tool like
>> tc. But that can not limit certain users.
>> So my goal is to let different users get different ip pool, then use tc
>> to bandwidth certain users on one ip pool.
>> By read some article about free radius, I found it can response strong
>> swan user a ip pool when under ikev2 case. But I did not found any way let
>> freeradius give different users different ip pool.
>> Maybe this is more like a free radius question, but still happy if anyone
>> did such solution and give me help. Thanks.
>>
>> ps. free radius support kick out user when found the quota exceed. but
>> that was not bandwidth that let user login but use limited resource.
>>
>> --
>> Best Regards,
>>
>> Yanrui Hu
>>
>> *This email may contain or reference confidential information and is
>> intended only for the individual to whom it is addressed. Please refrain
>> from distributing, disclosing or copying this email and the information
>> contained within unless you are the intended recipient. If you received
>> this email in error, please notify us at legal at appannie.com
>> <legal at appannie.com>** immediately and remove it from your system.*
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.strongswan.org
>> https://lists.strongswan.org/mailman/listinfo/users
>>
>>
>
>
> --
> Best Regards,
>
> Yanrui Hu
>
> *This email may contain or reference confidential information and is
> intended only for the individual to whom it is addressed. Please refrain
> from distributing, disclosing or copying this email and the information
> contained within unless you are the intended recipient. If you received
> this email in error, please notify us at legal at appannie.com
> <legal at appannie.com>** immediately and remove it from your system.*
>
>
--
Best Regards,
Yanrui Hu
--
*This email may contain or reference confidential information and is
intended only for the individual to whom it is addressed. Please refrain
from distributing, disclosing or copying this email and the information
contained within unless you are the intended recipient. If you received
this email in error, please notify us at legal at appannie.com
<legal at appannie.com>** immediately and remove it from your system.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20151027/ce1a79eb/attachment.html>
More information about the Users
mailing list