<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">
<div class="ecxmoz-cite-prefix">Hola Miguel!<br>
<br>
<br>
>#undef HTTP<span class="Apple-tab-span" style="white-space:
pre;"> </span>/* Selcuk Ozturk's HTTP server on port 80 */</div>
<div class="ecxmoz-cite-prefix">>#undef HTTP_EXTLOG<span
class="Apple-tab-span" style="white-space:pre"> </span>/*
HTTP: Add detailed access logging in "/wwwlogs" dir */</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix">>Appers as undef, I suppose
that I must change the undef for define, and recompile again ,
ok?</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix">Yes<br>
<br>
>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?</div>
<br>
Jnos can't do port forwarding so the best is to request an
additional amprnet address and assign that <br>
as second address to your ethernet interface if one of the linux
interfaces has no amprnet address already.<br>
Or assign it to an ax25 interface if you are running the ax25
utilities in linux.<br>
<br>
How to assign a second address to your ethernet interface if you
are running Ubuntu/Debian see,<br>
<br>
<a
href="http://askubuntu.com/questions/14858/how-to-define-a-secondary-ip-address-that-is-down-by-default">http://askubuntu.com/questions/14858/how-to-define-a-secondary-ip-address-that-is-down-by-default</a><br>
<br>
<br>
Netrom in Jnos<br>
<br>
If you #define INP2011 also in config.h and recompile it you can
also run inp in addition to netrom<br>
as BPQ supports INP also.<br>
<br>
<br>
That needs the following additional commands in your autoexec.nos
in addion to the netrom<br>
settings.<br>
<br>
start inp<br>
<br>
inp ifaces axu1<br>
<br>
<br>
73, <br>
<br>
Bob (Boudewijn) VE3TOK<br>
<br>
<br>
On 13-11-20 01:50 PM, Miguel Bahi Cruz wrote:<br>
</div>
<blockquote cite="mid:DUB114-W2295642519C4427EC3F00393E60@phx.gbl"
type="cite">
<div dir="ltr">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><br>
<br>
<div>
<hr id="stopSpelling">Date: Mon, 18 Nov 2013 17:42:18 -0500<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bobtenty@gmail.com">bobtenty@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
Subject: Re: [nos-bbs] Doubt pack about starting my new jnos
node<br>
<br>
<div class="ecxmoz-cite-prefix">Hi Maguel,<br>
<br>
Did you also "define http" in "config.h" before you
compiled it?<br>
<br>
html files should be in wwwroot of the jnos directory<br>
<br>
<br>
>> Ok, I see the source file config.h ( his actual
name is config.h.default ) and the line where it appears: </div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix">#undef HTTP<span
class="Apple-tab-span" style="white-space: pre;"> </span>/*
Selcuk Ozturk's HTTP server on port 80 */</div>
<div class="ecxmoz-cite-prefix">#undef HTTP_EXTLOG<span
class="Apple-tab-span" style="white-space:pre"> </span>/*
HTTP: Add detailed access logging in "/wwwlogs" dir */</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix">Appers as undef, I suppose
that I must change the undef for define, and recompile
again , ok?</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix">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?</div>
<div class="ecxmoz-cite-prefix"><br>
BPQ<br>
<br>
You should define an APPLICATON in bpq32.cfg<br>
If jnos is on the node list of bpq you could use for
example,<br>
<br>
APPLICATION 6,JNOS,C VE3TOK-6 S<br>
<br>
Otherwise you have to add the port number like<br>
<br>
APPLICATION 6, JNOS,C 2 VE3TOK-6 S<br>
<br>
>>Ok, I try this </div>
<div class="ecxmoz-cite-prefix">APPLICATION 3,JNOS,c 5
EB5JEQ-6,255 ( 5 is the axip bpq port , and eb5jeq-6
callsign of jnos node</div>
<div class="ecxmoz-cite-prefix"> but don`t work , but making
diferent test, I see the problem is config correct th
netrom in the jnos side.</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix">For this, I put this
commands:</div>
<div class="ecxmoz-cite-prefix">
<div class="ecxmoz-cite-prefix">attach netrom</div>
<div class="ecxmoz-cite-prefix">netrom interface axu1 255 </div>
<div class="ecxmoz-cite-prefix">and it works !!</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<div class="ecxmoz-cite-prefix"><br>
</div>
<br>
Port forwarding you do in your firewall of Linux and the
lines depend on<br>
what you are running but for shorewall the examples are on
the<br>
man page of shorewall-rules.<br>
<br>
<br>
If you use iptables directly an example is:<br>
<br>
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j
DNAT --to 44.1.2.3:8080 <br>
iptables -A FORWARD -p tcp -d 44.1.2.3 --dport 8080 -j
ACCEPT<br>
<br>
That forwards traffic for port 80 to jnos http at ip
address 44.1.3.4 port 8080<br>
<br>
> 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.<br>
<br>
<span style="font-size: 12pt;"> ></span><span
style="font-size: 12pt;">Thanks for your help Bob</span></div>
</div>
<div class="ecxmoz-cite-prefix"><span style="font-size: 12pt;"><br>
</span></div>
<div class="ecxmoz-cite-prefix"><span style="font-size: 12pt;"><br>
</span></div>
</div>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style> </div>
<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>
<div style="bottom: auto; left: 157px; right: auto; top: 495px;
display: none;" class="translator-theme-default"
id="translator-floating-panel">
<div title="Click to translate"
id="translator-floating-panel-button"></div>
</div>
</body>
</html>