G
G
Gladiouls2015-10-27 11:54:58
Mikrotik
Gladiouls, 2015-10-27 11:54:58

Is it possible to redirect traffic in the local network to Mikrotik?

There is a network 192.168.0.0/24, gateway 0.1 Mikrotik, two machines .0.2 and 0.3, external service 8.8.8.8
By default, a request on port 90 from machine 192.168.0.2 goes to resource 8.8.8.8 through gateway
192.168.0.1 so that all requests from the machine 192.168.0.2 on port 90 to the external resource 8.8.8.8 are redirected by the mikrotik gateway on the same port to 192.168.0.3 instead of the external address

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
athacker, 2015-10-27
@athacker

Maybe. See firewall settings and rules with type dst nat.

M
Maksim, 2015-10-29
@chumayu

On a silver platter...with a blue border:
General:
chain: dstnat
src. address 192.168.0.2
dst.address 8.8.8.8 action
:
action: dst-nat
To address: 192.168.0.3

V
vovannovig, 2015-11-13
@vovannovig

/ip firewall nat add action=dst-nat chain=dstnat dst-address=8.8.8.8 dst-port=53 protocol=tcp to-addresses=192.168.0.3
This is how I wrap DNS requests, what you will do there will be tweaked in WinBox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question