<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Sheng , <br>&nbsp;&nbsp;&nbsp; Can you provide your configuration so we may look at it and make recommendations. It would help if you describe the network layout of your remote site / local site , how they are connected&nbsp; and what you are trying to achieve at the remote site / local site.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks. <br><br><span style="font-family:Tahoma,Helvetica,Sans-Serif;font-style:italic;font-weight:bold">-<span style="font-family:Times New Roman,Times,Serif"> Simon Charles - </span></span><br><br><br><div><div id="SkyDrivePlaceholder"></div>&gt; Date: Mon, 16 Jul 2012 16:32:46 -0700<br>&gt; From: sheng@yasker.org<br>&gt; To: users@lists.openswan.org<br>&gt; Subject: [Openswan Users] Is there anyway to setup static route with NETKEY        stack?<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I've dived in Google and this mailing's archive for quite some time,<br>&gt; but still fail to find a way to specify static route per our<br>&gt; requirement in NETKEY stack.<br>&gt; <br>&gt; The scenario is somehow easy to understand: we want to route any<br>&gt; traffic our specified through the ipsec tunnel.<br>&gt; <br>&gt; Currently the configuration works well for certain subnets(we had to<br>&gt; specify them in rightsubnets of ipsec.conf). But when it comes to<br>&gt; redirect other traffic through the ipsec tunnel. E.g. we may want to<br>&gt; let remote gateway(on the other side of ipsec tunnel) handle local<br>&gt; traffic to the Internet. We can't figure out a way to do that with<br>&gt; NETKEY stack.<br>&gt; <br>&gt; Seems with KLIPS, we can simply add ip route for that. I've checked ip<br>&gt; xfrm, but still can't figure out a way to do that.<br>&gt; <br>&gt; When searching for possible methods, I saw someone said "No, there is<br>&gt; no way to do so", but I still want to confirm that. Because if NETKEY<br>&gt; would replace KLIPS, why we cannot do the same thing as in KLIPS(if I<br>&gt; understand right)?<br>&gt; <br>&gt; Thanks in advance!<br>&gt; <br>&gt; --Sheng<br>&gt; _______________________________________________<br>&gt; Users@lists.openswan.org<br>&gt; https://lists.openswan.org/mailman/listinfo/users<br>&gt; Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy<br>&gt; Building and Integrating Virtual Private Networks with Openswan:<br>&gt; http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155<br></div>                                               </div></body>
</html>