Answer the question
In order to leave comments, you need to log in
Mikrotik, how to forward a port inside the network?
Hello!
Question on configuring Mikrotik, port forwarding within the network.
You need the following:
Local network 10.10.10.0/24, masquerading is enabled on Mikrotik (chain=srcnat action=masquerade out-interface=wan log=no log-prefix="").
On a machine with IP 10.10.10.x, when typing any site in the browser, you need to redirect to 10.10.10.2:8080
I tried the following rule:
add action=dst-nat chain=dstnat dst-address=!10.10.10.2 src-address=! 10.10.10.2 dst-port=80 fragment=no protocol=tcp to-addresses=10.10.10.2 to-ports=8080
But it doesn't work and sites are available.
Help me to understand.
Answer the question
In order to leave comments, you need to log in
what is the order of the rules? mb masquerade is the first and therefore fulfills the first?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question