<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Craig,<div class=""><br class=""></div><div class="">ssh tunnels TCP port, so it is understandable why you have failed.</div><div class=""><br class=""></div><div class="">You can try workarounds discussed here: <a href="http://superuser.com/questions/53103/udp-traffic-through-ssh-tunnel" class="">http://superuser.com/questions/53103/udp-traffic-through-ssh-tunnel</a> or use tcp-based face when using the tunnel (<a href="tcp://localhost:5000" class="">tcp://localhost:5000</a>)</div><div class=""><br class=""></div><div class="">---</div><div class="">Alex</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 16, 2015, at 3:09 PM, Murray, Craig <<a href="mailto:cmurray@verisign.com" class="">cmurray@verisign.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">Hi all,</div>
<div class=""><br class="">
</div>
<div class="">I am trying to use NdnCom to connect with others on the testbed, but I am behind a firewall and port 6363 is not open.  I thought I might be able to tunnel using ssh, but this does not work (below is more detail on what I tried).  Does anyone have experience
 and/or suggestions that would help me?  My guess is this is obvious to someone who knows more than I.  My apologies if so.</div>
<div class=""><br class="">
</div>
<div class="">Thanks in advance for any help,</div>
<div class="">Craig</div>
<div class=""><br class="">
</div>
<div class="">---------------------------------</div>
<div class="">Detail:</div>
<div class="">I have three machines running NFD inside the firewall.</div>
<div class="">First I tested that ndnping works between machines inside:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>On machine B I do the following:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ndnpingserver /ndn/internal/B</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>On machine A I do the following:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal udp://<address.of.B></div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div class="">Of course this works.  Next I remove entries from NFD tables</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>On machine A I do the following:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nfdc unregister /ndn/internal <face-id-of-B></div>
<div class="">Next I ssh from machine A to machine B, forwarding a port</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>On machine A I do the following:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ssh <address.of.B> -L 4000:localhost:6363</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal <a href="udp://localhost:4000" class="">udp://localhost:4000</a></div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div class="">This does not work.  Packets time out.</div>
<div class=""><br class="">
</div>
<div class="">I have also tried the following:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>On machine C I do:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal udp://<address.of.B></div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>This works so then I try tunneling form A to C:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>First I end the ssh running between A and B.</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Then on machine A:</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ssh <address.of.C> -L 5000:<address.of.B>:6363</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nfdc unregister /ndn/internal <face-id-of-localhost:4000></div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal <a href="udp://localhost:5000" class="">udp://localhost:5000</a></div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div class="">Of course, this does not work either.  I have not tried the same thing with ssh from a machine inside the firewall to a machine outside the firewall (also running NFD) but if it does not work without a firewall in between machines, it certainly won’t work
 with the firewall added.  Thanks for any help.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>

_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br class=""></div></blockquote></div><br class=""></div></body></html>