[nos-bbs] Doubt pack about starting my new jnos node
bobtenty at gmail.com
Wed Nov 20 18:43:28 EST 2013
>#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?
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
How to assign a second address to your ethernet interface if you are
running Ubuntu/Debian see,
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
inp ifaces axu1
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?
> 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
> iptables -A FORWARD -p tcp -d 220.127.116.11 --dport 8080 -j ACCEPT
> That forwards traffic for port 80 to jnos http at ip address 18.104.22.168
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nos-bbs