<div dir="ltr">You absolutely should not need to go over loopback to connect to a remote peer.  Can I ask how you're encountering that behaviour?  Can you include your full configuration (redacting IPs if you feel it's necessary) and how you're verifying that it's not going out over the external interface?  I ask on the last point because it's certainly the case that in some cases you may see traffic when doing tcpdump on a loopback interface if that traffic originates locally.<br>

<div><br></div><div>Really, every useful configuration not involving an exterior tunnelling system should include at least one non-local peer, so I'm a little confused as to what your configuration must be that you're only seeing local traffic, or have gotten the impression that WANProxy cannot make connections across a network interface.  If you've only looked at a configuration which uses SSH as a tunnel mechanism, such as the first configuration on <a href="http://wanproxy.org/examples.shtml">http://wanproxy.org/examples.shtml</a>, I'd encourage you to look at the second configuration, which connects directly over a WAN, or at the SSH optimization examples on <a href="http://wanproxy.org/ssh.shtml">http://wanproxy.org/ssh.shtml</a>, for inspiration.</div>

<div><br></div><div>It should be enough to simply modify the peer0 definition to use a non-local IP to which you have a route.  If something else is going wrong, I'd guess it's some kind of portability bug that I'd like to fix urgently, so would appreciate any more information you can give.</div>

<div><br></div><div>Thanks very much for the report!</div><div>Juli.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 12, 2014 at 10:31 AM, John Nix <span dir="ltr"><<a href="mailto:jnix@vobal.com" target="_blank">jnix@vobal.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">Hi,<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p><p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">The wanproxy software looks like a good fit for our equipment connected over satellite links.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p><p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">Setting it up was straightforward, but I do have a basic question that doesn’t seem to be addressed in the documentation or through several searches on Google.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p><p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">For various reasons, I need peer0 to be on eth0 and not the loopback interface.  For example, when use the command ‘set peer0.host “x.y.z.q” ‘, and look  at tcpdump wanproxy is sending to x.y.z.q on the loopback interface, which won’t readily work for our particular application.  <u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p><p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">I expect there are workarounds (like trying to use iptables to redirect from lo to eth0, or running redir to listen on loopback, etc.), but the simplest would be to have the wanproxy peer on eth0.  In case it matters, I’m using Ubuntu 12.04.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p><p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">Thanks, John<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p><p class="MsoNormal"><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">-------------------<br>

John Nix<br>Founder and CEO<br>Vobal Technologies<br></span></font><font color="green" face="Arial"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:green"><a href="tel:%2B1-847-350-9998" value="+18473509998" target="_blank">+1-847-350-9998</a> (o)<br>

<a href="tel:%2B1-847-452-3754" value="+18474523754" target="_blank">+1-847-452-3754</a> (m)<br></span></font><font color="blue" face="Arial"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue"><a href="http://www.vobal.com/" target="_blank"><font color="blue"><span style="color:blue">www.vobal.com</span></font></a></span></font><font color="green" face="Arial"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:green"><u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u> <u></u></span></font></p></div></div><br>_______________________________________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
<br></blockquote></div><br></div>