B
B
bladerunner42017-02-08 14:48:32
Mikrotik
bladerunner4, 2017-02-08 14:48:32

How to set up two Mikrotiks for processing on one web traffic?

Hello!
this is my first question, I hope for your help
and the task is there are two mikrotik one main second additional, and it became necessary to separate the web traffic from the main one to send it to the additional one (process) and return it back to the main one,
i.e. Two Mikrotiks are connected by two patchcards.
Here it was possible to redirect from the main web (using mangle and mark route), on the second one it was possible to process it, but how to return it correctly is a bit unsure. By what principles and rules. ?
PS: nat is not used, addresses are white

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wexter, 2017-02-08
@Wexter

why such perversions?
on the main dst-nat from port 80 of the white address to port 80 of the second.
and then either you prescribe a default for the second gateway as the first one, or you prescribe a default route through the main one with marking (for example main),
in the mangle make a mark connection (for example from_main) to traffic coming from the main one, at the output of connections with the label from_main do mark routing with the label main so that the traffic goes back to the main one.

A
Alexey, 2017-02-08
@alcyone

You have a very strange configuration, but I can assume that you are looking for balancing. If so look towards VRRP:
wiki.mikrotik.com/wiki/Manual:Interface/VRRP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question