I am trying to open my Asterisk server to the internet but in a secure way.
So I made a NAT rule in my router which redirects port 4970 to port 5060 of my asterisk server
I created a different transport for the endpoints that need to connect from the internet
[transport-udp-wan] type = transport protocol = udp bind = 0.0.0.0:4970 external_media_address=82.212.XX.XX external_signaling_address = 82.212.XX.XX external_signaling_port=4970
I don’t have any sounds on the other hand. The machine’s firewall is cut and the network firewall does not drop any packets
I tried to NAT port 5060 directly from the internet, I had no sound problem.