<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-GB;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><b>In all cases work only last subnet from list.<o:p></o:p></b></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I had the same issue with a StrongSwan instance as the remote end.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">This was the issue:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><a href="https://www.mail-archive.com/search?l=swan@lists.libreswan.org&q=subject:%22Re%5C%3A+%5C%5BSwan%5C%5D+Tunnels+coming+establishing+and+dropping+quickly%22&o=newest&f=1">https://www.mail-archive.com/search?l=swan@lists.libreswan.org&q=subject:%22Re%5C%3A+%5C%5BSwan%5C%5D+Tunnels+coming+establishing+and+dropping+quickly%22&o=newest&f=1</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Swan <swan-bounces@lists.libreswan.org>
<b>On Behalf Of </b>Eugeniy Khvastunov<br>
<b>Sent:</b> 27 September 2018 15:50<br>
<b>To:</b> nick@howitts.co.uk<br>
<b>Cc:</b> swan@lists.libreswan.org<br>
<b>Subject:</b> Re: [Swan] rightsubnets<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">In all cases work only last subnet from list.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">P.S.: libreswan-3.23-5.el7_5.x86_64<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Sep 27, 2018 at 5:46 PM Nick Howitt <<a href="mailto:nick@howitts.co.uk">nick@howitts.co.uk</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">AFAIK the first and second work. At a guess the third might. Try it and see if you connections instantiate as expected.<o:p></o:p></p>
<div>
<p class="MsoNormal">On 27/09/2018 15:41, Eugeniy Khvastunov wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi all!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">What is right way to put in config more than one subnet?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On some forums i find:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">rightsubnets={<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F172.16.1.0%2F24&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=GbjwU28sPd7w7x1cMqVZTLYhbtRgqDd8c1cx7lrmkQM%3D&reserved=0" target="_blank">172.16.1.0/24</a>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F192.168.3.0%2F24&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=x%2B6O7nSUEImPrXIFIMJ0MdV0SXpyrmES3xKba1u3NQU%3D&reserved=0" target="_blank">
192.168.3.0/24</a>}<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">rightsubnets={<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F172.16.1.0%2F24%2C192.168.3.0%2F24&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=Rkppw5jIf7qAsG1C903XqSpeRLzP1Sf1rorARY7A4qc%3D&reserved=0" target="_blank">172.16.1.0/24,192.168.3.0/24</a>}<br>
rightsubnets={<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F172.16.1.0%2F24%2C192.168.3.0%2F24%2C&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=HFopRlaSgYvtXh0b5iy7VUlIxyf4FrxKYkM3i6gG6oE%3D&reserved=0" target="_blank">172.16.1.0/24,192.168.3.0/24,</a>}<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">What variant right?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">wbr. Eugeniy Khvastunov,<br>
   System administrator.<br>
       [FMGH-UANIC]<br>
 <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblog.unlimite.net&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=0bB5UC4y6lZ3hCLB2nqHjSjRniLTezNpb5ZZoyyZAzw%3D&reserved=0" target="_blank">http://blog.unlimite.net</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Swan mailing list<o:p></o:p></pre>
<pre><a href="mailto:Swan@lists.libreswan.org" target="_blank">Swan@lists.libreswan.org</a><o:p></o:p></pre>
<pre><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.libreswan.org%2Fmailman%2Flistinfo%2Fswan&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=2bQzk%2B1Dt6DPVB3UZcabSsWoYTRwXUIl9hPhrH1du14%3D&reserved=0" target="_blank">https://lists.libreswan.org/mailman/listinfo/swan</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">_______________________________________________<br>
Swan mailing list<br>
<a href="mailto:Swan@lists.libreswan.org" target="_blank">Swan@lists.libreswan.org</a><br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.libreswan.org%2Fmailman%2Flistinfo%2Fswan&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=2bQzk%2B1Dt6DPVB3UZcabSsWoYTRwXUIl9hPhrH1du14%3D&reserved=0" target="_blank">https://lists.libreswan.org/mailman/listinfo/swan</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">wbr. Eugeniy Khvastunov,<br>
   System administrator.<br>
       [FMGH-UANIC]<br>
 <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblog.unlimite.net&data=01%7C01%7Cjoe.madden%40mottmac.com%7C65e03a34f6684a929a5808d624888a4d%7Ca2bed0c459574f73b0c2a811407590fb%7C0&sdata=0bB5UC4y6lZ3hCLB2nqHjSjRniLTezNpb5ZZoyyZAzw%3D&reserved=0" target="_blank">http://blog.unlimite.net</a><o:p></o:p></p>
</div>
</div>
</body>
</html>