R
R
Rokugo2017-11-11 01:58:16
Mikrotik
Rokugo, 2017-11-11 01:58:16

Mikrotik, mangle, return response through non-priority gateway?

Hello. There is a miroctic with two wan interfaces, ether1, on which the gray address is behind nat and which is the main one, as well as a pppoe client with a static white address, which is used only when necessary due to lower speed. A pptp server was raised on the same equipment. The problem is that after the client knocks on the white address, Mikrotik tries to establish a connection through the main gateway, which is behind nat, resulting in a fail. If you explicitly specify the client address in the routes and specify the pppoe interface as the gateway, then everything works great. But I would like to somehow automate the process so that tcp (1723) and gre immediately go in the right direction.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
itigul, 2017-11-17
@itigul

In the first rule, you need to specify that to mark incoming unmarked packets. In the second, it is desirable to specify the incoming interface. And it is desirable to duplicate these rules for each Internet interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question