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

Bob Tenty bobtenty at gmail.com
Wed Nov 20 18:43:28 EST 2013


Hola Miguel!


>#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?

Yes

>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?

Jnos can't do port forwarding so the best is to request an additional
amprnet address and assign that
as second address to your ethernet interface if one of the linux
interfaces has no amprnet address already.
Or assign it to an ax25 interface if you are running the ax25 utilities
in linux.

How to assign a second address to your ethernet interface if you are
running Ubuntu/Debian see,

http://askubuntu.com/questions/14858/how-to-define-a-secondary-ip-address-that-is-down-by-default


Netrom in Jnos

If you  #define INP2011 also in config.h and recompile it you can also
run inp in addition to netrom
as BPQ supports INP also.


That needs the following additional commands in your autoexec.nos in
addion to the netrom
settings.

start inp

inp ifaces axu1


73,

Bob (Boudewijn) VE3TOK


On 13-11-20 01:50 PM, Miguel Bahi Cruz wrote:
>
>
> ------------------------------------------------------------------------
> 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 netrom
> netrom 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
>
>
>
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> http://www.tapr.org/mailman/listinfo/nos-bbs

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


More information about the nos-bbs mailing list