IAX2 trunk between 2 freepbx NAT

Hello!
I have two freepbx boxes. THese are in a separate lan, but there is a wireguard tunnel between them. I can ping the system A from site B and vica versa. I set up an iax2 trunk between them, with static ip of the systems, iax2 says OK on the A side which is the wireguard server side, and I can call to the remote side, but the B side says UNREACHABLE th the A side, and I cannot call back. If I enable iax2 debux I can see that on the B side the PONG RX message comes from the wireguard interface address, not from the side A pbx ip, I think because of there is a NAT on the server side. Is there any solution to this?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.