Hi.
Thank you very much for so many answers.
I'm confused.
I will explain the essence of my problem, it is trivial.
I set up a dedicated server on my computer for the game. This server requires two ports. Accordingly, I want these ports to be forwarded from the local network to the outside and back.
I have a static IP.
In total, I applied the settings that you advised, the NAT settings now look like this:
/ip firewall nat
add action=masquerade chain=srcnat ipsec-policy=out,none out-interface-list=WAN
add action=masquerade chain=srcnat dst-address=192.168.88.0/24 src-address=192.168.88.0/24
add action=netmap chain=dstnat dst-address=STATIC_IP dst-port=2302 protocol=tcp to-addresses=192.168.88.101 to-ports=2302
add action=netmap chain=dstnat dst-address=STATIC_IP dst-port=2302 protocol=udp to-addresses=192.168.88.101 to-ports=2302
add action=netmap chain=dstnat dst-address=STATIC_IP dst-port=2305 protocol=tcp to-addresses=192.168.88.101 to-ports=2305
add action=netmap chain=dstnat dst-address=STATIC_IP dst-port=2305 protocol=udp to-addresses=192.168.88.101 to-ports=2305
Looking ahead, I will say that I tried to change the incoming interface to the WAN list in the rules. It does not work either with him or without him.
Server, according to my static IP, is still unavailable, therefore the ports are still not forwarded.
I guess I made a mistake in setting up the masquerade, because right now how the masquerade works is the biggest mystery to me right now.
Please tell me where I made a mistake and what I have not yet understood?
Thx.