A
A
Andrey2016-11-05 15:25:08
Mikrotik
Andrey, 2016-11-05 15:25:08

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

2 answer(s)
O
Obsession, 2016-11-10
@Obsession

you need to look in the direction of the proxy

R
Ruslan Khairullin, 2016-11-10
@ruha02

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 question

Ask a Question

731 491 924 answers to any question