[nos-bbs] Doubt pack about starting my new jnos node

Miguel Bahi Cruz miguelbahi_cruz at hotmail.com
Wed Nov 20 13:50:16 EST 2013






Date: Mon, 18 Nov 2013 17:42:18 -0500
From: bobtenty at gmail.com
To: nos-bbs at tapr.org
Subject: Re: [nos-bbs] Doubt pack about starting my new jnos node


  
    
    
  
  
    Hi Maguel,

      

      Did you also "define http"  in "config.h" before you compiled it?

      

      html files should be in  wwwroot of the jnos directory

      

      
>> Ok, I see the source file config.h ( his actual name is config.h.default ) and the line where it appears: 
#undef HTTP		/* Selcuk Ozturk's HTTP server on port 80 */#undef HTTP_EXTLOG	/* HTTP: Add detailed access logging in "/wwwlogs" dir */
Appers as undef, I suppose that I must change the undef for define, and recompile again , ok?
But the other option, is use a apache http server that I have runinng in my linux host, how i forward the port 80 ampr incoming trafic to the port 80 of the linux box?

      BPQ

      

      You should define an APPLICATON in bpq32.cfg

      If jnos is on the node list of bpq you could use for example,

      

      APPLICATION 6,JNOS,C VE3TOK-6 S

      

      Otherwise you have to add the port number like

      

      APPLICATION 6, JNOS,C 2 VE3TOK-6 S

      
>>Ok, I try this APPLICATION 3,JNOS,c 5 EB5JEQ-6,255  ( 5 is the axip bpq port , and eb5jeq-6 callsign of jnos node but don`t work , but making diferent test, I see the problem is config correct th netrom in the jnos side.
For this, I put this commands:attach netromnetrom interface axu1 255 
      and it works !!



      Port forwarding you do in your firewall of Linux and the lines
      depend on

      what you are running but for shorewall the examples are on the

      man page of shorewall-rules.

      

      

      If you use iptables directly an example is:

      

      iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j DNAT
      --to 44.1.2.3:8080 

      iptables -A FORWARD -p tcp -d 44.1.2.3 --dport 8080 -j ACCEPT

      

      That forwards  traffic for port 80 to jnos http at ip address
      44.1.3.4 port 8080

      

      > I don't have activated the firewall of the host linux machine, ( I have port forwarding directly ), and don't need configure ip tables, but if activate this in the future, this will be very useful.

      

       >Thanks for your help Bob


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20131120/c81a4495/attachment.html>


More information about the nos-bbs mailing list