Hello,
I’m very new in Asterisk so please don’t bit me to hard.
Here is my situation.
I have asterisk with is located inside office net:
Asterisk Server IP:
10.51.0.7/24
Gateway/VPN Server:
Local Net: 10.51.0.1/24
VPN net: 10.61.0.1/24
I’m using OpenVPN server
Client is a soft phone:
grandstream.wave on android
I’ve added in Astersk:
localnet = 10.51.0.0/24
localnet = 10.61.0.0/24
nat = no
Now the issues:
I can see local network(10.51.0.0/24) from VPN client (10.61.0.0). Both directions is pingable.
I can call from vpn client but local clients cannot here me
I can see UDP trafic from VPN client to Asterisk, but I didn’t see the sip server sends data back to VPN cli (tested via tcpdump)
If set “eneble nat = comedia” sometime I do can here both sides and it does work, but most times I cannot even pick up respond to a call.
Could you please give me some hints ?
Thanks in advance