[arm-allstar] arm-allstar Digest, Vol 6, Issue 8

gm4upx at gb7jd.co.uk gm4upx at gb7jd.co.uk
Tue Nov 4 11:13:22 EST 2014


> 
> Message: 2
> Date: Mon, 03 Nov 2014 22:41:22 +0000
> From: gm4upx at gb7jd.co.uk
> To: arm-allstar at hamvoip.org
> Subject: Re: [arm-allstar] WebTransceiver
> Message-ID: <cc335e181fb10148d1b43c3bb0663318 at gb7jd.co.uk>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
> 
> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Sat, 01 Nov 2014 18:46:34 +0000
>> From: gm4upx at gb7jd.co.uk
>> To: arm-allstar at hamvoip.org
>> Subject: [arm-allstar] WebTransceiver
>> Message-ID: <1098d39b6f423a927e833459e96bb938 at gb7jd.co.uk>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>> 
>> Hello,
>> 
>>   I have a small enquiry, now, where have we heard that before ??
>>   My BBB's are running fine with the update - thanks to all involved 
>> -,
>> now, the problem I have given myself.
>> 
>> After testing on my home network, everything working well I moved them
>> to my "other" network with no changes to any configuration, other than
>> the obvious (IP addresses+portforward) and cannot connect from the
>> WebTransceiver.
>> 
>> I am guessing that I perhaps need a proxy configured and thought that 
>> I
>> would seek some advice before I really give myself a bigger problem !!
>> 
>> I have other applications running on my other network with forwarding
>> working OK to them.
>> 
>> Regards,
>> 
>> Ian..
>> 
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Sat, 1 Nov 2014 16:49:12 -0400
>> From: Doug Crompton <doug at crompton.com>
>> To: BeagleBone Black ARM Allstar <arm-allstar at hamvoip.org>
>> Subject: Re: [arm-allstar] WebTransceiver
>> Message-ID: <BLU172-W13AB208BA4D368528EC8A5BA9B0 at phx.gbl>
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> Ian,
>> 
>>   My suspicion is that you do not have the iax port forward to the new
>> address. This is necessary for any incoming calls. It would be port
>> 4569 udp  unless you changed it.
>> 
>> It also takes some time 10 minutes or so for things to settle down
>> after a change in IP address or port. Also make sure your new location
>> is showing up in the rpt_extnodes list.  Look for you node in that
>> file in /tmp on the BBB.
>> 73 Doug
>> WA3DSP
>> http://www.crompton.com/hamradio
>> 
>> 
> Hello Doug,
> 
> IP address' and ports are correct in rpt_extnodes list.
> I have my Internet facing router set to forward to my internal router
> and my internal router set to forward to my BBB's. At first I had my
> internal router forwarding the ports to my BBB's subnet and the BBB's
> allowing a connection on the one port that is set in the WebTransceiver
> server, I then changed the internal router to forward each port
> individually to the BBB's IP address. I even dropped all iptables and
> still no joy with the WebTransceiver although everything else works as
> it should. I'm learning all the time about iptables etc so hopefully
> I'll get there in the end.
> 
> Regards,
> 
> Ian..
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 3 Nov 2014 21:20:36 -0500
> From: Doug Crompton <doug at crompton.com>
> To: BeagleBone Black ARM Allstar <arm-allstar at hamvoip.org>
> Subject: Re: [arm-allstar] WebTransceiver
> Message-ID: <BLU172-W45911804E2A32C51D18DF1BA860 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Ian,
> 
>  A quick check to see if the iax port is working is to have another
> Allstar node out on the Internet try to connect to your node. That
> connection would require the same path as connecting from the web
> transceiver. I am a little confused about you having two routers in
> series and how that would impact things. Where are you playing wit IP
> tables? The routers should just have simple port forwarding setup and
> with those two routers I doubt you would need or want a firewall on
> the BBB.
> 
> I don't think you mentioned your node number or I would try to connect.
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
> 
> 
Hello Doug,

I have solved my problem !!!  Here's what I had and what I did..

In my iptables for Allstar I had

$IPTABLES -A FORWARD -d 44.131.8.30 -j ACCEPT -p udp --dport 4567
$IPTABLES -A FORWARD -d 44.131.8.29 -j ACCEPT -p udp --dport 4568
$IPTABLES -A FORWARD -d 44.131.8.0/27 -j ACCEPT -p tcp -m tcp --dport 
5035:5038

I then added the line

$IPTABLES -t nat -A PREROUTING -p  udp --dport   4567 -j DNAT 
--to-destination  44.131.8.30

which allowed me to connect from the WebTransceiver to my BBB. Success 
!!!!

My ISP also provides my TV etc and the subnets are restricted to either 
192.x.x.x or 172.x.x.x hence my " own " router to allow use of a 
different subnet.

As I previously said I am learning about IPtables and the next hurdle I 
need to get over is why I have a connection on another port that fails 
when I have a [ PREROUTING ] line in the table and connects when there 
is no [ PREROUTING ] line against it.

Regards,

Ian..

Node Numbers are 28818 : 28934 : 29414






More information about the arm-allstar mailing list