<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; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi all,</div>
<div><br>
</div>
<div>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><br>
</div>
<div>Thanks in advance for any help,</div>
<div>Craig</div>
<div><br>
</div>
<div>---------------------------------</div>
<div>Detail:</div>
<div>I have three machines running NFD inside the firewall.</div>
<div>First I tested that ndnping works between machines inside:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>On machine B I do the following:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ndnpingserver /ndn/internal/B</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>On machine A I do the following:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal udp://<address.of.B></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div>Of course this works.  Next I remove entries from NFD tables</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>On machine A I do the following:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>nfdc unregister /ndn/internal <face-id-of-B></div>
<div>Next I ssh from machine A to machine B, forwarding a port</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>On machine A I do the following:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ssh <address.of.B> -L 4000:localhost:6363</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal udp://localhost:4000</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div>This does not work.  Packets time out.</div>
<div><br>
</div>
<div>I have also tried the following:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>On machine C I do:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal udp://<address.of.B></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>This works so then I try tunneling form A to C:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>First I end the ssh running between A and B.</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>Then on machine A:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ssh <address.of.C> -L 5000:<address.of.B>:6363</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>nfdc unregister /ndn/internal <face-id-of-localhost:4000></div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>nfdc register /ndn/internal udp://localhost:5000</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>ndnping /ndn/internal/B</div>
<div>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><br>
</div>
<div><br>
</div>
</body>
</html>