[arm-allstar] connect two nodes WITHOUT Allstar server ?
Doug Crompton
wa3dsp at gmail.com
Wed Nov 20 15:05:04 EST 2019
Don,
In order to connect two local nodes without using the hamvoip or allstar
node info servers you would need to specify the IP address AND port in BOTH
nodes in the [nodes] stanza of rpt.conf to one another. Here is a direct
link to a howto on this at hamvoip.org -
https://www2.hamvoip.org/multi-server%20howto.pdf
The same procedure would be used to connect to nodes outside of your LAN
BUT BOTH ends would need to have port forwarding for the selected IAX port
(default 4569) in their respective routers.
I am not sure if it is covered in the howto but more modern routers have
what is called "hairpin loopback" That is if they see their own public IP
issues from the LAN side they assume the address is to a local port. As
long as there is port forwarding setup in the router for the nodes on the
LAN and each node is a different port then you would not need to have
specific routing for each node to be able to connect local nodes together
on your LAN. This does however assume you are using DNS or Allstar file
lookup for the IP address.
On Wed, Nov 20, 2019 at 2:52 PM "Don Ritchie via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Thanks Doug, so if I want to connect my nodes to each other,
>
> 506090(A) > 506091(B), on the same network ( my home LAN), how do I tell
> A to connect to B?
>
> Then once the (B) node is moved to my son's house, ( or wherever) what
> is that procedure ?
>
> Thanks
>
> Don
>
> On 11/20/2019 14:12, "Doug Crompton via ARM-allstar" wrote:
> > Don,
> >
> > All Allstar nodes connect directly to one another. There is no server
> > involved other than a DNS server to tell each node how (what IP and port
> to
> > use) to get to the other node. When you attempt a connect to another node
> > your node (assuming you are using hamvoip DNS) interrogates DNS for the
> > nodes IP address and port. It then sends a connect to that Ip address and
> > port, the node you want to connect to. That node in turn when it receives
> > the connect request then requests a DNS lookup for your node and then
> using
> > the IP address and port information it gleans from DNS completes the
> > connection back to your node.
> >
> > Prior to hamvoip DNS lookup there was a table of all nodes with IP
> address
> > and port information stored in your server that was updated every 10
> > minutes. The same procedure was used except when a connect was attempted
> it
> > got the information from the file rather than via DNS.
> >
> > Using hamvoip privately two or more nodes could store the IP address and
> > port information in the [nodes] stanza of rpt.conf and be completely
> > independent of any server or outside information
> >
> > Multiple nodes are connected in any fashion you wish, A to B to C - A
> to
> > C, B to C, etc. In a typical "hub" connection all nodes connect to one
> > node. Irrespective of how they are connected audio flows to all nodes
> that
> > are connected.
> >
> > Does this answer you question?
> >
> >
> > On Wed, Nov 20, 2019 at 1:47 PM "Don Ritchie via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> >> The way I understand it …
> >> when any node connects to another it is “through” an allstar server.
> >> As I\m not 100% sure about this, can someone please explain.
> >> Is ALL the traffic handled by a server, or does the server just
> >> tell the nodes how to find each other (DNS) ?
> >> IF all the traffic goes through the server ( another Asterisk in the
> >> “sky”),
> >> how can I connect two nodes to each other without an Allstar server.
> >> ie, “order wire” for (interoffice communication) .
> >> Direct IP to IP address ??
> >>
> >> Thanks
> >> Don, K8ZGW
> >>
> >> _______________________________________________
> >>
> >> 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/4 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/4 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/4 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list