Ciao Christian
I set up a Kamailio SIP server in a virtual machine on a private network and i connect to this with a WireGuard VPN.
Maybe, provide more insight....
Your Kamailio-Server also acts as the WireGuard Server? All your SIP clients connect using WireGuard?
Can you ping from one WireGuard client to another?
An usual WireGuard Set-Up would look like:
WG-Server: 192.168.10.1/24
Client 1: 192.168.10.2/24 allowed IP: 0.0.0.0/0 (if you route all trafic through the tunnel or 192.168.10.0/24 if you only want to route that network)
Client 2: 192.168.10.3/24 and same allowed IP.
If you by mistake configured a client with a /32 netmask, it will not be able to communicate with the other client, will not be able to exchange direct RTP data.
Also make sure, Kamailio indeed listens to 192.168.10.1 and not to a different IP.
Mit freundlichen Grüssen
-Benoît Panizzon-