<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Jose,<br>
      <br>
      I already suspected it was already something like that :-)<br>
      <br>
      I guess it is:  ufw allow proto ipencap   or  ufw allow proto 4<br>
      <br>
      by default the rules are valid for all interfaces unless you
      decide otherwise.<br>
      <br>
      73,<br>
      <br>
      Bob VE3TOK<br>
      <br>
      On 14-01-28 09:28 PM, Jose Ng Lee wrote:<br>
    </div>
    <blockquote cite="mid:49A39492744B4200BD364D7EEC610289@ngj"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.23543">
      <div><font face="Arial">I found the solution to my problem.</font></div>
      <div> </div>
      <div><font face="Arial">I disable the firewall ufw and is
          forwarding the IP and be able to telnet from another PC.</font></div>
      <div> </div>
      <div><font face="Arial">I used ufw because is a simple firewall
          and have this rules:</font></div>
      <div><font face="Arial"><br>
          To                         Action      From<br>
          --                         ------      ----<br>
          80/tcp                     ALLOW       Anywhere<br>
          22/tcp                     ALLOW       Anywhere<br>
          10000/tcp                  ALLOW       Anywhere<br>
          443/tcp                    ALLOW       Anywhere<br>
          6300/tcp                   ALLOW       Anywhere<br>
          7300/tcp                   ALLOW       Anywhere<br>
          21/tcp                     ALLOW       Anywhere<br>
          23/tcp                     ALLOW       Anywhere<br>
          3286/tcp                   ALLOW       Anywhere<br>
          8000/tcp                   ALLOW       Anywhere<br>
          10092                      ALLOW       Anywhere<br>
          10094                      ALLOW       Anywhere<br>
          10093                      ALLOW       Anywhere<br>
          10095                      ALLOW       Anywhere<br>
          14580                      ALLOW       Anywhere<br>
          14501                      ALLOW       Anywhere<br>
        </font></div>
      <font face="Arial">
        <div>Now have to figure out how to write the rule for the ufw to
          not block the tun0 IP forwarding.</div>
        <div> </div>
        <div>On my Full size PC with Ubuntu using a more complicated
          Shoreline Firewall.</div>
        <div> </div>
      </font>
      <div><font face="Arial">73s Jose / HP2AT</font></div>
      <blockquote style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT:
        5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
        <div style="FONT: 10pt arial">----- Original Message ----- </div>
        <div style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color:
          black"><b>From:</b> <a moz-do-not-send="true"
            title="bobtenty@gmail.com" href="mailto:bobtenty@gmail.com">Bob
            Tenty</a> </div>
        <div style="FONT: 10pt arial"><b>To:</b> <a
            moz-do-not-send="true" title="nos-bbs@tapr.org"
            href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a> </div>
        <div style="FONT: 10pt arial"><b>Sent:</b> Monday, January 27,
          2014 3:58 PM</div>
        <div style="FONT: 10pt arial"><b>Subject:</b> Re: [nos-bbs]
          Raspberry Pi Jnos Telnet from another PC problem</div>
        <div><br>
        </div>
        <div class="moz-cite-prefix">To narrow it down you can use
          "tcpdump" at the interface from the kernel to jnos and the
          ipip interface<br>
          to see which one what is not passing the traffic.<br>
          <br>
          73,<br>
          <br>
          Bob VE3TOK<br>
          <br>
          <br>
          On 14-01-27 11:35 AM, Jose Ng Lee wrote:<br>
        </div>
        <blockquote
          cite="mid:703641AD310B4B7183575A07654EB3A7@HOLLYWOOD.HOLLYWOOD.COM"
          type="cite">
          <meta name="GENERATOR" content="MSHTML 8.00.6001.23543">
          <style></style>
          <div><font face="Arial">I am using the F6BVP Raspbian image
              preinstalled with AX.25 and FBB, DXSpider, and FPAC
              working OK.</font></div>
          <div> </div>
          <div><font face="Arial">Uploaded the Jnos 2.0j and tried also
              2.0jx4 sources to the Pi and compiled OK both jnos
              executable.</font></div>
          <div> </div>
          <div><font face="Arial">My problem is that I am not able to
              Telnet directly to the JNOS in the Raspberry PI from a PC.</font></div>
          <div> </div>
          <div><font face="Arial">I am able from the PC to Telnet first
              to the Linux side on the Raspberry Pi and then to the
              JNOS.</font></div>
          <div> </div>
          <div><font face="Arial">On my Full size PC with Ubuntu and
              JNOS, I can Telnet OK from a PC directly to JNOS.  I copy
              the </font><font face="Arial">autoexec.nos from my PC
              Ubuntu JNOS to the Raspberry Pi and changed some lines
              with the different IPs, etc..</font></div>
          <div> </div>
          <div><font face="Arial">On Jnos side, the tun0 is setup as
              usual:<br>
            </font></div>
          <div><font face="Arial"># NOS creates the TUN device, so NOS
              needs to do a postcofig<br>
              shell ifconfig tun0 200.46.129.25 pointopoint
              200.46.129.26 mtu 1500 up<br>
              pause 5<br>
              #<br>
              shell arp -s 200.46.129.26 b8:27:eb:e1:b2:ee pub<br>
              #</font></div>
          <div> </div>
          <div><font face="Arial">The ax25-up script already do:<br>
              echo 1 > /proc/sys/net/ipv4/ip_forward</font></div>
          <div> </div>
          <div><font face="Arial">Also, later checked and did "more
              ip_forward" and has the "1".</font></div>
          <div> </div>
          <div><font face="Arial">Checked from both the PC Ubuntu Jnos
              and Raspberry pi Jnos, With Webmin the network interfaces,
              routes, hostnames.  Also, checked on the command line from
              both machines de ARP and it looks OK for both.</font></div>
          <div> </div>
          <div><font face="Arial">Tried other things with no luck. 
              Looks like the RPI not able to do the IP to IP forwarding
            </font><font face="Arial">through the tun0 from an outside
              PC Telnet connection.</font></div>
          <div> </div>
          <div><font face="Arial">Has anyone got their Raspberry Pi with
              Jnos setup right and be able to Telnet directly from a PC.</font></div>
          <div> </div>
          <div><font face="Arial">73s Jose / HP2AT</font></div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
nos-bbs mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</a>
</pre>
        </blockquote>
        <br>
        <p> </p>
        <hr> _______________________________________________<br>
        nos-bbs mailing list<br>
        <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
        <a class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</a><br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nos-bbs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>