I have tried to route all the traffic from the VOIP Server Trunk 1 and 2 below to the Asterisk server, but that is not getting any traffic at all. Not sure what I did wrong there.
The other port forwards all seem to be correct.
I can call into the Asterisk server, and talk inbound OK. However outbound is not working.
Can anyone tell me what I did wrong? THANK YOU!
Below is the ip firewall nat (I omitted the extra forwards for none phone related forwards)
0 ;;; Phone Trunk 1
chain=srcnat action=netmap to-addresses=10.215.81.2
src-address=184.72.227.214
1 ;;; PHONE
chain=dstnat action=netmap to-addresses=10.215.81.2
src-address=0.0.0.0/0 dst-address=0.0.0.0/0 routing-mark=PHONE
2 ;;; Phone Trunk 2
chain=srcnat action=netmap to-addresses=10.215.81.2
src-address=50.56.59.168
3 ;;; PHONE UDP 2727
chain=dstnat action=netmap to-addresses=10.215.81.2 to-ports=2727
protocol=udp src-address=0.0.0.0/0 dst-address=0.0.0.0/0 dst-port=2727
4 ;;; PHONE UDP 4569
chain=dstnat action=netmap to-addresses=10.215.81.2 to-ports=4569
protocol=udp src-address=0.0.0.0/0 dst-address=0.0.0.0/0 dst-port=4569
5 ;;; PHONE UDP 5036
chain=dstnat action=netmap to-addresses=10.215.81.2 to-ports=5036
protocol=udp src-address=0.0.0.0/0 dst-address=0.0.0.0/0 dst-port=5036
6 ;;; PHONE UDP 5060
chain=dstnat action=netmap to-addresses=10.215.81.2 protocol=udp
src-address=0.0.0.0/0 dst-address=0.0.0.0/0 dst-port=5060-5082
7 ;;; PHONE UDP 5060
chain=dstnat action=netmap to-addresses=10.215.81.2 protocol=tcp
src-address=0.0.0.0/0 dst-address=0.0.0.0/0 dst-port=5060
8 ;;; PHONE UDP 10-20K
chain=dstnat action=netmap to-addresses=10.215.81.2 protocol=udp
src-address=0.0.0.0/0 dst-address=0.0.0.0/0 dst-port=10000-20000
.
.
.
12 chain=srcnat action=masquerade src-address=10.215.81.0/24
dst-address=0.0.0.0/0
.
.
.
[admin@MarkSystems1] /ip firewall nat>