While I have a running Pi 3B system, I’m trying to get a Debian 12 installation running on x64 hardware running. It’s the same basic install I have on a pair of cloud based Debian systems. Yet I can get no incoming or out bound connections from this new node. It’s on the same home network as my working Pi 3B system. But the working install is based on the Pi Appliance and the problem system is based on the latest Debian 12 network install. The only pertinent packages added are asl3 and allmon3.
The only change I made to the router is moving 4560:4580 UDP to my test system IP address. Also tried ports 22, 80 443 all TCP, although they shouldn’t matter. I’ve installed ufw on this system but leave it disabled for now. My connection tests are all done with Allmon3 between my local nodes and my cloud nodes. All talk to each other except for this new node.
This should be simple. I suspect the router. Any ideas?
On a hunch I changed to port of the new test node from 4560:4580 UDP to 14560:14580 UDP and now things seem to work. I say “seem to work” because I can’t connect to my other nodes consistently, but I can now connect to nodes I don’t own.
I had been using both nodes with 4560:4580 UDP, but not simultaneously. I was changing my router to only one of my two nodes on my LAN. Apparently the port setting must have been cached somewhere, perhaps my router. Now my Pi 3B is 4560:4580 UDP and the x64 Debian 12 PC is 14560:14580 UDP. My router does port forwarding accordingly.
But with separate port ranges for IAX UDP, My new node is connecting to the outside world, at least by testing with Allmon3 in the browser.
Each node is behind my router, one at 192.168.1.150 and the other at 192.168.1.214. However each node has a shared external IP address (WAN). Apparently each node is seen as the same host although they are separate on my LAN. I’m curious if this is truly correct?
My goal for this test node is to wean myself from Pi hardware to PC hardware and then decide which I prefer. Next I’ll move my SA818 USB device to the Debian 12 PC and see how SimpleUSB works on x64 hardware.
@Mike
My Pi Appliance installation firewall defaults the IAX port to 5460:4580 UDP.
Your referenced PDF shows both hosts in this range. I vaguely recall having to set my router to 5460:4580 UDP instead of 4569 UDP in order to get my first node working. I need to double check this to verify my earlier findings.
Why does the Pi Appliance default to such a wide port range?
The Firewall on the Pi Appliance is set to that to give users an easy way to chose an alternative port if you have multiple devices and want to have inbound connections. However Asterisk only is listening on one port. By default that’s 4569 as configured in iax.conf however the range is there so you can change it to anything between 4560 and 4580 and not have to fiddle with the firewall.
So I managed to get my ports sorted out. I have an Asus RT-AC68U router. Apparently it does NOT refresh itself when changing a port forwarding entry. I found a command line entry from a terminal that does it. Also helps to reset the Asterisk service. Now I have a Pi 3B and a Debian 12 PC both working on a single UDP for each.
And I’ve manged to run my HSR USB (SA818) device on each system.The Debian 12 PC installation is simplified compared to the Pi Appliance. Still haven’t decided which way to go.