I have freepbx 14 set up and working internally on my LAN, I dont have pbx internet facing so i VPN into my network to make an internal call. Everything works fine as long as im on my LAN and no VPN, The moment i VPN into my LAN I cant get audio to my softphone. I have some logs of ‘asterisk -rvvvv’ of a succesful LAN call and the one way audio VPN call and it seems to me that RTP is setting the wrong IP.
My wireguard host has ip of 10.0.0.201, the wireguard interface/server is 10.100.100.1 and my phone is 10.100.100.2. When i make a call thru VPN first RTP says 10.100.100.2:xxxx than a few lines down it changes it to 10.0.0.201. I think this is where the problem is and IDK how to fix it. any insight would be helpful.
Ive added my external IP to network settings and added 10.0.0.0/255.0.0.0 under local networks (and rebooted), Intrusion detection and firewall are off for now until i resolve this issue, all other nat settings are stock. I changed chan_sip to 5060 but other than that its fairly stock. Id like to be able to vpn ini instead of having it initernet facing. Ive seen alot of instructions regarding openvpn or other protocols that work on level 2 but wireguard is level 3, could that be causing the issue? Or is there an iptables rule i need to implement on my wireguard host?