Hello,I will describe the patient:
ether4 - wan
ether 6 - lan
on LAN interface is server voip with address 192.168.5.222 ports 8100-8200 and 192.168.5.223 with ports 5060
chain=srcnat action=masquerade out-interface=ether4
chain=dstnat action=dst-nat to-addresses=192.168.5.222 to-ports=8100-8200 protocol=udp
in-interface=ether4 dst-port=8100-8200
chain=dstnat action=dst-nat to-addresses=192.168.5.223 to-ports=5060-5061 protocol=udp
in-interface=ether4 dst-port=5060-5061
when calling from gsm everything is ok, but when I'm logged into another network and voip calling for it breaks the connection. Nat probably not working properly. Enter the public ip but wants to get out local ip.
I hope it is clearly written.