<html><head></head><body>Come on, this is trivial. How did you not find this?<br>
<br>
<a href="https://wiki.strongswan.org/projects/strongswan/wiki/FAQ#Multiple-subnets-per-SA">https://wiki.strongswan.org/projects/strongswan/wiki/FAQ#Multiple-subnets-per-SA</a><br><br><div class="gmail_quote">Am 7. März 2017 18:34:25 MEZ schrieb bhargav p <bhargav.1226@gmail.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi,<div><br /></div><div><br /></div><div>I am using strongswan version 5.5.1.</div><div><br /></div><div>In ipsec.conf, configured left and right subnets like below:</div><div><br /></div><div> leftsubnet=<a href="http://30.30.30.0/24,50.50.50.0/24">30.30.30.0/24,50.50.50.0/24</a></div><div> rightsubnet=<a href="http://20.20.20.0/24,40.40.40.0/24">20.20.20.0/24,40.40.40.0/24</a>
</div><div> keyexchange=ikev1</div><div>auto=start</div><div><br /></div><div>I am trying to establish tunnel between two ubuntu boxes. </div><div><br /></div><div>Though strongswan is installed and compiled by enabling unity extension plugin, still only first subnet in configuration is used for establishing tunnel, and only those SPD entries are inserted in kernel.</div><div><br /></div><div>But for IKEv2, everything works fine, when multiple subnets are configured.</div><div><br /></div><div>So, for Ikev1, other than unity plugin, do I need to something more to get this worked? or For Ikev1,</div><div>multiple subnets seperated by coma is not allowed?</div><div><br /></div><div>Thanks,</div><div>Bhargav</div><div><br /></div></div>
</blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>