[arm-allstar] Port number issue

Doug Crompton wa3dsp at gmail.com
Thu Feb 23 02:33:52 EST 2017


Yes, that is true but only for incoming connections.

If you wanted to have incoming connections to a particular server you would
need to have port forwarding for its iax port. So if you had:

server1 - 4569 - 192.168.1.10
server2 - 4568 - 192.168.1.11

and you wanted outside connects to both you would need two port forwards.
One port 4569 udp to 192.168.1.10 and one port 4568 udp to 192.168.1.11

But not having any port forwards at all would not cause the problem he is
apparently having. A server will work fine without port forwards it just
will not accept incoming connections and in some case this may be very well
what you want!



*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Thu, Feb 23, 2017 at 1:46 AM, "Larry via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Doug,  Don't forget to explain to him when running 2 servers on the same
> LAN Port Forward settings in his router also come into play.
>
> Larry - N7FM
>
>
> On 02/22/2017 10:07 PM, "Doug Crompton via arm-allstar" wrote:
>
>> Simon,
>>
>>    Each server which is an RPI board should has it own iax port. Also EACH
>> server needs to be defined at allstarlink.org separately. You need a
>> server
>> setup for each with a matching port to the physical board you have
>> locally.
>> So for example:
>>
>> Board1 - 4569 and some local IP
>> Board2 - 4568 and some different local IP
>>
>> then the board1 server definition at allstarlink.org has 4569 set for
>> port
>> and the board2 definition has 4568 set for port.
>>
>> Each server has a nodes or nodes assigned to it at allstarlink.org which
>> are then assign locally in the local config files.
>>
>> If you can't get it an you want to email me privately I would be glad to
>> log in and see what's up. I need the password and node numbers and at
>> least
>> one of them has to have port 222 (or whatever ssh port your are using)
>> forwarded in your router. I would need the local IP addresses and what
>> node
>> is on that address.
>>
>>
>>
>> *73 Doug*
>>
>> *WA3DSP*
>>
>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>
>> On Thu, Feb 23, 2017 at 12:32 AM, "Simon Keys via arm-allstar" <
>> arm-allstar at hamvoip.org> wrote:
>>
>> Well I'm doing something wrong. In iax.conf my bindport is 4571 and the
>>> same is shown on allstarlink.org in the server/network section. Does it
>>> matter that these two servers are different rpi's in the same local
>>> network
>>> (and hence have the same public ip)?
>>>
>>> On 23/02/2017 3:55 PM, Doug Crompton via arm-allstar <
>>> arm-allstar at hamvoip.org> wrote:
>>>
>>> Simon,
>>>>
>>>>   It should happen within one update cycle or about 10 minutes or less.
>>>> Double check BOTH ends and make sure both are set properly. At your end
>>>> look in /etc/asterisk/iax.conf for the bindport and at Allstarlink.org
>>>>
>>> as I
>>>
>>>> mentioned previously.
>>>>
>>>>
>>>>
>>>>
>>>> *73 Doug*
>>>>
>>>> *WA3DSP*
>>>>
>>>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>>>
>>>> On Wed, Feb 22, 2017 at 9:38 PM, "Simon Keys via arm-allstar" <
>>>> arm-allstar at hamvoip.org> wrote:
>>>>
>>>> Thanks Doug - Yes I did that also.  It's showing 4571 on
>>>>>
>>>> allstarlink.org
>>>
>>>> .
>>>>
>>>>> Does it take time to provision the change, like >24 hours?
>>>>>
>>>>>
>>>>> Regards Simon ZL1OE
>>>>>
>>>>> On Thu, Feb 23, 2017 at 3:04 PM, "Doug Crompton via arm-allstar" <
>>>>> arm-allstar at hamvoip.org> wrote:
>>>>>
>>>>> Simon,
>>>>>>
>>>>>>   Whenever you change the IAX port you ALSO need to change the port
>>>>>>
>>>>> for
>>>
>>>> that
>>>>>
>>>>>> server at allstarlink.org.  Go to your server there and in the
>>>>>>
>>>>> network
>>>
>>>> setting change the port to match the one you set in the physical
>>>>>>
>>>>> server.
>>>>
>>>>>
>>>>>>
>>>>>> *73 Doug*
>>>>>>
>>>>>> *WA3DSP*
>>>>>>
>>>>>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio
>>>>>>
>>>>> *
>>>>
>>>>> On Wed, Feb 22, 2017 at 8:40 PM, "Simon Keys via arm-allstar" <
>>>>>> arm-allstar at hamvoip.org> wrote:
>>>>>>
>>>>>> Hi all
>>>>>>>
>>>>>>> I have just built my P3/v1.5 Allstar node and I set the IAX port to
>>>>>>>
>>>>>> 4571
>>>>>
>>>>>> when prompted during the installation.
>>>>>>>
>>>>>>> For some reason however IAX is registering on port 4569 still??
>>>>>>>
>>>>>> This
>>>
>>>> is
>>>>>
>>>>>> reported on lsnodes and iax show registry.
>>>>>>>
>>>>>>> Is there something else I need to change?
>>>>>>>
>>>>>>> Regards Simon ZL1OE
>>>>>>> _______________________________________________
>>>>>>>
>>>>>>> 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
>>>>>>
>>>>>> _______________________________________________
>>>>>
>>>>> 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
>>>>
>>>> _______________________________________________
>>>
>>> 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
>>
>>
> _______________________________________________
>
> 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