I have an asterisk setup on a server. The local IP address is 172.22.9.200 and extenal IP address is 22.214.171.124. My client device is an android phone that is connected to a router and it which has NAT enabled in it. My router address is 27.770.345.670. I want to connect my client device to my server. I think setting up a STUN server would do it, but can I setup a STUN server on the same server where Asterisk is or is there any way to connect the client to the server without a STUN or TURN server ?
If I try to connect with my mobile internet, the connection is perfect. It is only that I cannot connect with my wifi connection.
Note : Since my server is on a remote location, I cannot do port forwarding on it.