Hello everyone,
I am having a strange networking issue with my AllStarLink node and would appreciate some help.
My node is 44772, running ASL3 / Asterisk 22.9.0 on a Debian-based Mini PC.
I recently moved the network connection to a public-IP VPS using WireGuard.
Network setup
My local Mini PC does not have a public IPv4 address.
The setup is:
AllStar Node 44772
|
| WireGuard
|
VPS: 165.99.219.245 (Public IPv4)
|
| Internet
|
AllStarLink network
The WireGuard tunnel is working correctly.
Mini PC WireGuard IP:
10.66.66.3
VPS WireGuard IP:
10.66.66.1
The VPS has a real public IPv4 address:
165.99.219.245
There is no CGNAT on the VPS, and I have full control over the VPS firewall/NAT.
The strange part
If I use 44Connect/WireGuard directly, the same AllStar node works normally.
IAX2 registration and node connections work through 44Connect.
However, when I route the Mini PC's traffic through my own public VPS using WireGuard, IAX2 registration to the AllStarLink registration server does not complete.
For example:
52.21.169.197:4569
Username: 44772
State: Request Sent / Timeout
What I have already verified
The Mini PC is listening on the expected ports.
For example:
UDP 4569
UDP 5198
UDP 5199
I also have EchoLink running on the same machine.
The VPS has forwarding/NAT enabled and IPv4 forwarding is enabled.
The VPS firewall is not blocking forwarding:
FORWARD policy ACCEPT
UFW is not installed and firewalld is inactive.
I also verified packet flow with tcpdump.
The IAX registration packet leaves the Mini PC and reaches the VPS:
10.66.66.3:4569 → 52.21.169.197:4569
The VPS then sends it to the Internet using:
165.99.219.245:4569 → 52.21.169.197:4569
However, I do not see an IAX registration response coming back from:
52.21.169.197:4569
Incoming IAX traffic is working
Interestingly, incoming IAX traffic from another node does reach my Mini PC through the VPS.
For example, I can see traffic like:
44.27.136.175:4569 → 10.66.66.3:4569
10.66.66.3:4569 → 44.27.136.175:4569
I also successfully established an IAX2 connection with another node:
IAX2/103.72.65.231
iax2 show channels showed an active channel with:
FirstMsg: Tx:NEW
LastMsg: Rx:ACK
Format: ulaw
So node-to-node IAX2 traffic can work through the VPS.
EchoLink
EchoLink also initially failed through the VPS, but after forwarding the required UDP ports:
5198/UDP
5199/UDP
EchoLink started working.
So the WireGuard tunnel and general UDP forwarding appear to be working correctly.
AllStar HTTP registration
Interestingly, HTTP registration works.
The node shows:
HTTP registration:
Username: 44772
State: Registered
Perceived: 165.99.219.245:4569
The AllStar node lookup also shows my public IP correctly.
I also tested alternate ports
I found an older AllStarLink Community post where a user solved a similar problem by changing UDP 4569 to another port such as 14569.
I tested this as well.
The Mini PC was changed to listen on:
14569/UDP
and the VPS was configured to forward:
14569 → 10.66.66.3:14569
The port was reachable and I could see UDP traffic through the WireGuard tunnel, but the IAX2 registration server still did not respond.
I eventually restored the node to:
bindport = 4569
Current VPS forwarding
The VPS is currently forwarding the required ports to the Mini PC, including:
UDP 4560-4580 → 10.66.66.3:4569
UDP 5198 → 10.66.66.3:5198
UDP 5199 → 10.66.66.3:5199
TCP 8080 → 10.66.66.3:8080
TCP 16700 → 10.66.66.3:16700
TCP 16701 → 10.66.66.3:16701
TCP 16080 → 10.66.66.3:16080
The VPS is using MASQUERADE for outbound traffic and has:
net.ipv4.ip_forward = 1
My main question
Why would IAX2 registration work immediately when I use 44Connect, but fail when the exact same AllStar node/configuration uses my own public VPS through WireGuard?
Since:
- the VPS has a real public IPv4,
- firewall forwarding is ACCEPT,
- EchoLink works,
- incoming IAX2 works,
- outgoing UDP packets reach
52.21.169.197:4569, - HTTP registration works,
I am wondering whether there is something specific about IAX2 registration / source port / NAT / AllStar registration server behavior that I am missing.
Could the AllStarLink registration server be treating the VPS public IP differently, or is there a specific NAT/port configuration required when running an AllStar node behind a WireGuard VPS?
Any suggestions on what I should check next would be greatly appreciated.
Thanks!
S21MEV