Hi,<div><br></div><div>We are trying to add routes on <b>tun0 </b>interface using addRoute() Api of CharonVpnService Builder Adapter (Using Java code).</div><div><br></div><div><img src="cid:ii_13a9ce47d9445d62" alt="Inline image 1"><br>
</div><div>When we call addRoute api before establishing the tunnel the routes are getting added. But After establishing the tunnel the routes are not getting added.</div><div><br></div><div>Could you please suggest us the way to add route on tun0 interface after the tunnel has established. </div>
<div><br></div><div>Regards,</div><div>ipflow123<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 4:51 PM, ip flow <span dir="ltr"><<a href="mailto:ipflow123@gmail.com" target="_blank">ipflow123@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><div class="gmail_quote"><br>I am working on creating VPN tunnel on non-rooted Android devices. I saw in <b>GooglePlay </b>Strong Swan has placed a <b>StrongSwan</b> client, which work fine for non-rooted devices.<br>

<br>I download StrongSwan client code from <b>Git </b>and analysed the same. <br>

<a href="https://github.com/strongswan/strongswan/tree/master/src/frontends/android/src/org/strongswan/android" target="_blank">https://github.com/strongswan/strongswan/tree/master/src/frontends/android/src/org/strongswan/android</a><br>



<br>I have the following questions:<br><br> Is it permissible to integrate the strongswan client source code with my application and use it to create a VPN tunnel?<br><br>Best Regards,<br>Ipflow<br><span style="font-size:12pt;font-family:"Times New Roman","serif""><a href="mailto:andreas.steffen@strongswan.org" target="_blank"></a></span>
</div><br>
</blockquote></div><br></div>