I purchased a pptp connection and want to configure it in Mikrotik, I add a interface of pptp client on my router and give user and password and it will be connected. But I have two WAN connections on my router and I want to use one of them for pptp client.
Plz help me to route my pptp from specific WAN link.
Create a mangle rule in the prerouting chain that matches the traffic that you want to go through the pptp with an action of adding a routing mark. Then create a route for 0.0.0.0/0 with the same routing mark that has the pptp interface as the gateway.
thanks for your replay. but i need to route my pptp from one of my WAN connection (i have 2 WAN). so that i use 1 WAN for pptp and use other as simple use.
but i did not want to configure pptp server. i am a user of pptp like i buy vpnbook client to connect with it and want to use my WAN 2 connection for this purpose but when i add pptp client it did not give any option to chose interface to route.
You still need to add a route mark to the traffic that you want to go through the pptp connection then have a route that points any traffic that has that mark to the pptp as a gateway.