<div dir="ltr">Hi Beni,<div><br></div><div>Yep!  That's a pretty clear scenario, and is what I thought you were going for.  You will need to port WANProxy to Android and run WANProxy on the mobile phone.  WANProxy has to be run on the actual client to achieve the benefit I believe you to be looking for.  Otherwise, you will not be able to optimize traffic over the Internet.  If you want to instead do something like:</div><div><br></div><div>[Android SSH Client] --> *Internet* --> [WANProxy Client at Branch Office] --> *Slow WAN Link* --> [WANProxy Server at Data Centre] --> *Data Centre LAN* --> [SSH Server at Data Centre]</div><div><br></div><div>Then that would be a different matter.  You would only be optimizing traffic over the "Slow WAN Link", but not over the Internet.</div><div><br></div><div>Thanks,</div><div>Juli.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 12:52 AM, beni endharto <span dir="ltr"><<a href="mailto:bendharto8888@gmail.com" target="_blank">bendharto8888@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi Juli,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you for your quick response, I will create topology of WANproxy like shown below :<br></div><div style="font-size:12.8px"><p class="MsoNormal"><u><br></u></p><p class="MsoNormal"><img src="cid:ii_15460f2dc6285653" alt="Inline image 4"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal"> From that topology, android mobile phone will be positioned as client. I see on your example configuration for Proxying over SSH (a VPN) to an intranet webserver, the <i>client.conf</i> for the client-side proxy should containing :<br></p><p class="MsoNormal"><br></p><p class="MsoNormal">create codec codec0<br>set codec0.codec XCodec<br>activate codec0<br><br>create interface if0<br>set if0.family IPv4<br>set if0.host "127.0.0.1"<br>set if0.port "3300"<br>activate if0<br><br>create peer peer0<br>set peer0.family IPv4<br>set peer0.host "localhost"<br>set peer0.port "3301"<br>activate peer0<br><br>create proxy proxy0<br>set proxy0.interface if0<br>set proxy0.interface_codec None<br>set proxy0.peer peer0<br>set proxy0.peer_codec codec0<br>activate proxy0</p><p class="MsoNormal"> </p><p class="MsoNormal">I still don’t understand how to put that client.conf, if my client is android mobile phone?.</p><p class="MsoNormal">Thank you.</p></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 1:52 PM, Juli Mallett <span dir="ltr"><<a href="mailto:juli@clockworksquid.com" target="_blank">juli@clockworksquid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Beni,<br>
<br>
Great question!<br>
<br>
You would need, at minimum, to port WANProxy to run on Android, and<br>
possibly would want to build it into an SSH application directly.<br>
That said, WANProxy trades memory (both RAM and disk) for performance,<br>
and that trade-off doesn't (yet) make sense given the storage and RAM<br>
available on most mobile devices.  If you're a heavy-duty user, a<br>
small desk-top device and running your sessions through it over your<br>
mobile link would likely work better.  Does that make sense?  Or just<br>
use SSH on a laptop tethered to your mobile.<br>
<br>
Juli.<br>
<div><div><br>
On Thu, Apr 28, 2016 at 9:00 PM, beni endharto <<a href="mailto:bendharto8888@gmail.com" target="_blank">bendharto8888@gmail.com</a>> wrote:<br>
> Dear All,<br>
><br>
><br>
> I am interest to use Wanproxy in my network to minimize my android mobile<br>
> phone bandwidth utilization. Therefore I want to know, how to proxying over<br>
> SSH on android programmatically?. That is my question, and Thank you.<br>
><br>
><br>
><br>
> Best regards<br>
><br>
> Beni Endharto<br>
><br>
</div></div>> _______________________________________________<br>
> wanproxy mailing list<br>
> <a href="mailto:wanproxy@lists.wanproxy.org" target="_blank">wanproxy@lists.wanproxy.org</a><br>
> <a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" rel="noreferrer" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>