<div dir="ltr">I indeed is going to use on strongswan.<div>No such samples in strongswan, I read the wiki everyday and never see such sample.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 7:23 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>You can refer to samples of strong swan, there are a lot of samples. Maybe it can help you!<br><br>发自我的 iPhone</div><div><div class="h5"><div><br>在 2015年10月26日,17:44,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 class="h5"><div dir="ltr">Guys,<div>I start a new thread cause this question is more specific.</div><div>To be simple, let me introduce the configuration:</div><div><br></div><div>In file: users</div><div><div>DEFAULT SQL-Group == "restricted", Pool-Name := "main_pool"</div><div> Fall-Through = Yes</div><div><br></div><div>DEFAULT Pool-Name := "tc_pool"</div><div><span style="white-space:pre-wrap"> </span>Fall-Through = Yes</div><div><br></div><div>In file:modules/ippool</div><div><div>ippool main_pool {</div><div> range-start = 172.16.10.1</div><div> range-stop = 172.16.10.254</div><div> netmask = 255.255.255.0</div><div> cache-size = 254</div><div> session-db = ${raddbdir}/db.ipmainpool</div><div> ip-index = ${raddbdir}/db.ipmainindex</div><div> override = no</div><div> maximum-timeout = 0</div><div> }</div><div>ippool tc_pool {</div><div> range-start = 172.16.11.1</div><div> range-stop = 172.16.11.254</div><div> netmask = 255.255.255.0</div><div> cache-size = 254</div><div> session-db = ${raddbdir}/db.ipsecondarypool</div><div> ip-index = ${raddbdir}/db.ipsecondaryindex</div><div> override = no</div><div> maximum-timeout = 0</div><div> }</div></div><div>In file: site-enabled/default</div><div>under accounting and post-auth</div><div><div> if (SQL-Group == "restricted") {</div><div><span style="white-space:pre-wrap"> </span>main_pool<br></div><div> }</div><div> else {</div><div><span style="white-space:pre-wrap"> </span>tc_pool</div><div> }</div></div><div><br></div><div>I have put some user into restricted group in db. and want these users get different ippool, but seems when use main_pool as above, vpn client can not connect. Is there any reason that two ippool can not exist together?</div><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 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>