D
D
Dand2014-08-20 02:22:22
Mikrotik
Dand, 2014-08-20 02:22:22

How to display l2tp-client in Mikrotik through a given interface or along a given route?

Miktrotik has several Internet connections. How to make the l2tp-client connect to an address such as 1.1.1.1 through a specific interface or a specific route? but all other traffic did not follow this rule

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
prokopvv, 2014-08-20
@prokopvv

Possibly like this:

/ip firewall mangle
add action=mark-routing chain=prerouting disabled=yes dst-address=1.1.1.1 \
 new-routing-mark=for-l2tp port=1701 protocol=udp
/ip route
add comment="" disabled=no distance=1 dst-address=1.1.1.1/32 gateway=x.x.x.x \
routing-mark=for-l2tp scope=30 target-scope=10

There needs to be more information for a more accurate answer....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question