<html>
<head>
</head>
<body class='hmmessage'><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: bobtenty@gmail.com<br>To: nos-bbs@tapr.org<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></body>
</html>