Config multiple nodes in a QTH: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
So for node 10000 you will need to edit rpt.conf file. | So for node 10000 you will need to edit rpt.conf file. | ||
sudo nano /etc/asterisk.rpt.conf | |||
Search for the nodes stanza '''[nodes]''' | Search for the nodes stanza '''[nodes]''' | ||
Line 20: | Line 20: | ||
So for node 20000 you will need to edit rpt.conf file. | So for node 20000 you will need to edit rpt.conf file. | ||
sudo nano /etc/asterisk.rpt.conf | |||
Search for the nodes stanza '''[nodes]''' | Search for the nodes stanza '''[nodes]''' | ||
Line 30: | Line 30: | ||
After making your changes type '''<CTRL> + <X>''' and then type '''<Y>''' followed by '''<Enter>'''. You will be back to the previous menu and choose '''<Back>'''. | After making your changes type '''<CTRL> + <X>''' and then type '''<Y>''' followed by '''<Enter>'''. You will be back to the previous menu and choose '''<Back>'''. | ||
= | = AllStarLink Server IAX ports = | ||
Login to your | Login to your AllStarLink account and on the Server settings for: | ||
node 10000 change the IAX port to '''4569'''. | node 10000 change the IAX port to '''4569'''. | ||
Line 39: | Line 39: | ||
if you have more nodes, increase the port number as needed (4571, 4572, etc). | if you have more nodes, increase the port number as needed (4571, 4572, etc). | ||
= Manager.conf = | |||
Edit your file Manager.conf | |||
Comment: | |||
bindaddr = 127.0.0.1 ; Local interface only! | |||
Add: | |||
bindaddr = 0.0.0.0 ; Not secure | |||
= Modem Port Forwarding = | = Modem Port Forwarding = | ||
Line 56: | Line 68: | ||
External port '''4570''' | External port '''4570''' | ||
If you have more ports add them in a way that match the IAX numbers you changed on your | If you have more ports add them in a way that match the IAX numbers you changed on your AllStarLink account. |
Latest revision as of 17:05, 14 April 2025
For this tutorial we are going to use two sample node numbers 10000 and 20000. Considering both nodes will share the same DSL modem/connection, you will need to add some lines to both nodes and make some port forwarding i your modem.
Node 10000
So for node 10000 you will need to edit rpt.conf file.
sudo nano /etc/asterisk.rpt.conf
Search for the nodes stanza [nodes]
Add the following line, observing that the node number appears twice and that the node 20000 IP is 192.168.0.102.
20000 = radio@192.168.0.102:4569/20000,NONE
After making your changes type <CTRL> + <X> and then type <Y> followed by <Enter>. You will be back to the previous menu and choose <Back>.
Node 20000
So for node 20000 you will need to edit rpt.conf file.
sudo nano /etc/asterisk.rpt.conf
Search for the nodes stanza [nodes]
Add the following line, observing that the node number appears twice and that the node 10000 IP is 192.168.0.101.
10000 = radio@192.168.0.101:4569/10000,NONE
After making your changes type <CTRL> + <X> and then type <Y> followed by <Enter>. You will be back to the previous menu and choose <Back>.
AllStarLink Server IAX ports
Login to your AllStarLink account and on the Server settings for:
node 10000 change the IAX port to 4569.
node 20000 change the IAX port to 4570.
if you have more nodes, increase the port number as needed (4571, 4572, etc).
Manager.conf
Edit your file Manager.conf
Comment:
bindaddr = 127.0.0.1 ; Local interface only!
Add:
bindaddr = 0.0.0.0 ; Not secure
Modem Port Forwarding
Now on your modem you have to forward two ports as follow:
For node [10000]
IP 192.168.0.101 Local port 4569 External port 4569
For node [20000]
IP 192.168.0.102 Local port 4569 External port 4570
If you have more ports add them in a way that match the IAX numbers you changed on your AllStarLink account.