Page 1 of 1

Mangle

Posted: Sun Aug 23, 2020 7:31 am
by r359
Hello everyone,
I have a Mikrotik router as vpn server with 3 different public IP addresses and clients are connecting to it via different protocols ( pptp and l2tp ) using its main IP.
I want l2tp clients send/receive through route#1 and pptp clients through route#2.
I heared I should use mangle->prerouting, but I'm not sure which action should I use ( mark routing or mark packet) that can identify l2tp from pptp. I would appreciate any helps.

Re: Mangle

Posted: Sun Aug 23, 2020 9:39 pm
by Shqipalb
Hi
You have to use mark routing with the l2tp client ip's and mangle rule another mark routing with the pptp client ip's so you can go to ip/route and add l2tp mangle in the route1 and pptp mangle in the route 2 or what ever you want to do

Re: Mangle

Posted: Mon Aug 24, 2020 8:40 am
by r359
Hi
You have to use mark routing with the l2tp client ip's and mangle rule another mark routing with the pptp client ip's so you can go to ip/route and add l2tp mangle in the route1 and pptp mangle in the route 2 or what ever you want to do
Hello and thank you for the reply. I will try this solution.