A
A
Alexey2020-12-31 09:39:20
VPN
Alexey, 2020-12-31 09:39:20

Send traffic from pptp to specific mikrotik port?

Good day to everyone reading this post!
There is a mikrotik with free iptv.
And there is a second Mikrotik with access to the Internet via pppoe.
Between them the vpn pptp channel is raised.
Routes are registered static.
Iptv shows, but at the same time, all the traffic of the second microtic is wrapped through the first one, which is not good.
I really want only the media player to go through pptp, and all other devices through pppoe.
There was an idea to create a second bridge and attach pptp to it, but as it turned out, vpn cannot be added to the bridge.
Then there was an idea to separate the traffic with routes, so that requests would go through pptp only to the iptv server, but somehow it didn’t work out.
Please tell me how to solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AkaZLOY, 2020-12-31
@AkaZLOY

Your traffic is wrapped through the first piece of iron, because when you raised pptp, you did not uncheck the Add Default Route checkbox.
Your last thought was correct, uncheck Add Default Route from pptp interface, figure out how PBR (Policy base routing) works.
Through Mangle, mark the traffic you need (iptv), and use pbr to send normal traffic along your default route, and iptv through the pptp interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question