[arm-allstar] Port number issue
Simon Keys
zl1oe.nz at gmail.com
Thu Feb 23 15:08:24 EST 2017
So here is my scenario:
1xRpi2 with v1 build, node 42098
1xRpi3 with v1.5 build, node 29023
1x wireless router, port 4569 opened.
Rpi2 has ip of 192.168.1.145 and IAX port 4569. This successfully
registers and allows incoming connections.
Rpi3 has ip of 192.168.1.142 and IAX port 4571. This is set in iax.conf
and on allistarlink.org. This node also registers successfully.
I have also set the [nodes] section in rpt.conf on both servers correctly
(although I will copy/paste here when I get home).
On Rpi3 iax2 show registry gives 4569. lsnodes gives 4569 also. Strange
and I think this is where the problem is.
I can connect from 29023 to 42098 successfully. However when I try to
connect from 42098 to 29023
it times out with network congestion message.
Do I need to open port 4571 to allow local inter-node connections?
Regards Simon ZL1OE
On Fri, Feb 24, 2017 at 8:49 AM, "Mike - W5JR via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Exactly. You can't connect via iaxrpt to a server from outside your LAN
> unless the ports are forwarded, including servers using 4569. And the IP
> plus port number must be specified whether inside or outside the LAN to
> make an iaxrpt connection. If connecting via iaxrpt from inside the LAN,
> ports do not need to be forwarded but the appropriate port number must be
> appended to the local IP address of the associated server in the iaxrpt
> client.
>
> tnx
> Mike / W5JR
> Alpharetta GA
>
> > On Feb 23, 2017, at 11:30 AM, Doug Crompton via arm-allstar <
> arm-allstar at hamvoip.org> wrote:
> >
> > Just to make this clear you ONLY have to port forward if you are trying
> to
> > connect to your server(s) from OUTSIDE your own LAN. This includes
> iaxrpt.
> > Inside if you specify the specific LOCAL IP address and PORT for the
> server
> > you are trying to connect to (if other than 4569) in the iaxrpt account
> > definition it will work fine.
> >
> > If you wanted to connect from the Internet using iaxrpt at a remote
> > location you would need an iaxrpt account specifying the public IP where
> > your servers reside and there port number. But in order to actually be
> > routed to the right place the router at the server location would have to
> > port forward the proper ports to the proper IP address.
> >
> > Inside your LAN you have control over both the IP address and port. So
> you
> > can send things where they should go directly. Outside you only have one
> IP
> > address to direct to (your public IP) and the only thing you can change
> is
> > the port to where it is directed. Unless the router knows by your
> > configuration of it where to send that port (what IP address) it goes no
> > where.
> >
> >
> > *73 Doug*
> >
> > *WA3DSP*
> >
> > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >
> >> On Thu, Feb 23, 2017 at 3:07 AM, Mike - W5JR <w5jr.lists at gmail.com>
> wrote:
> >>
> >> I have 4 RPi/BBB units running at my house on one Public IP and can
> >> connect to iaxrpt from the Windows client or any of 3 iOS devices
> whether
> >> on the same LAN or out wandering around the globe from an internet
> >> connection.
> >>
> >> I can confirm that you do indeed need to have each server port forwarded
> >> correctly in your router or you won't be able to connect via iaxrpt.
> >>
> >> In the iaxrpt client, you must also specify the port you are connecting
> >> to, even if on the same LAN. It's just the way it works.
> >>
> >> So, to use Doug's example, on the same LAN
> >>
> >> You would put 192.168.1.10:4569 in the address space and
> 192.168.1.11:4568
> >> for the other server.
> >>
> >> This is working for me.
> >>
> >> tnx
> >> Mike / W5JR
> >> Alpharetta GA
> >>
> >>
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
More information about the arm-allstar
mailing list