<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi All,<br><br>I'm trying to establish tunnels between a strongswan linux server and cisco routers with VTI interfaces, using IKEv2.<br>Strongswan is running in an openvz environnement, so using kernel-libipsec.<br><br>The only way to make it stable using VTI on cisco is apparently to negotiate a 0.0.0.0==0.0.0.0 SA. All my attempts to restrict the subnets in ipsec.conf made the cisco router trying to spawn new SAs every few seconds...<br><br>So I'm stuck with left and right subnets = 0.0.0.0.<br>The problem is that I need to connect to multiple routers, leading to overlapping 0.0.0.0==0.0.0.0 SAs.<br><br>How can I install routes on the server so that for a specific destination subnet I can select the correct tunnel ?<br>I first thought about some kind of marking and iptables but my feeling reading the code is that libipsec is not using marks to match packets.<br><br>Any idea/advice ?<br><br>Thanks !</div><div class="gmail_quote"><br></div><div class="gmail_quote">Matthieu<br><div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div>
</div><br></div></div>