<div dir="ltr">My previous mail is raise the question that how to identify the user.<div>Now I make it work with ippool(free radius)+(rightsourceip=%radius+IPRange)(strong swan).</div><div>Let me explain a little bit by chinese to zhuyj:</div><div>iptable可以做流量控制,但是我之前的问题是如何让不同的用户得到不同的ip段这样才能进行分别的控制</div><div>我的目的是流量控制一部分用户不是所有的</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 7:21 PM, zhuyj <span dir="ltr"><<a href="mailto:mounter625@163.com" target="_blank">mounter625@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Ok,if you identify the user with ip or port, you can add ip or port filter to iptables rules. <br><br>发自我的 iPhone</div><div><div class="h5"><div><br>在 2015年10月26日,09:24,Yanrui Hu <<a href="mailto:yhu@appannie.com" target="_blank">yhu@appannie.com</a>> 写道:<br><br></div><blockquote type="cite"><div><div dir="ltr">ip tables can do bandwidth control.<div>but can not do it based on different user!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 23, 2015 at 10:29 PM, zhuyj <span dir="ltr"><<a href="mailto:mounter625@163.com" target="_blank">mounter625@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Ip tables can do!<br><br>发自我的 iPhone</div><div><div><div><br>在 2015年10月23日,16:14,Yanrui Hu <<a href="mailto:yhu@appannie.com" target="_blank">yhu@appannie.com</a>> 写道:<br><br></div></div></div><blockquote type="cite"><div><div><div><div dir="ltr">Guys,<div>Want to bandwidth limit some users.</div><div>Seems strongswan can not do this, only can do by command line tool like tc. But that can not limit certain users.</div><div>So my goal is to let different users get different ip pool, then use tc to bandwidth certain users on one ip pool.</div><div>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.</div><div>Maybe this is more like a free radius question, but still happy if anyone did such solution and give me help. Thanks.</div><div><br></div><div>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.<br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Best Regards,<br><br>Yanrui Hu<br></div></div></div></div>
</div></div>
<br>
</div></div><font color="#808080" size="1"><i>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 <a href="mailto:legal@appannie.com" target="_blank">legal@appannie.com</a></i></font><font color="#808080" size="1"><i> immediately and remove it from your system.</i></font>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a></span><br><span><a href="https://lists.strongswan.org/mailman/listinfo/users" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a></span><br></div></blockquote></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Best Regards,<br><br>Yanrui Hu<br></div></div></div></div>
</div>
<br>
<font color="#808080" size="1"><i>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 <a href="mailto:legal@appannie.com" target="_blank">legal@appannie.com</a></i></font><font color="#808080" size="1"><i> immediately and remove it from your system.</i></font>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best Regards,<br><br>Yanrui Hu<br></div></div></div></div>
</div>
<br>
<font color="#808080" size="1"><i>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 <a href="mailto:legal@appannie.com" target="_blank">legal@appannie.com</a></i></font><font color="#808080" size="1"><i> immediately and remove it from your system.</i></font>