Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question