Page 1 of 1

Unanswered - Manually specify gateway for a pptp-client

Posted: Wed Oct 31, 2012 9:43 am
by matthysdt
Here is more-or-less what I'm trying to achieve:

On a single RB750:
pptp-out1 -> use pppoe-out1 as gateway to connect to VPN server at 1.2.3.4
pptp-out2 -> use pppoe-out2 as gateway to connect to VPN server at 1.2.3.4

Extra Info:
pppoe-out1 physically connects to ADSL modem on ether5
pppoe-out2 physically connects to ADSL modem on ether4

My problem:
No matter what I do, both pptp-out1 AND pptp-out2 use the same pppoe connection as gateway.
I've tried connection & routing marking in mangle with corresponding routes, but I'm obviously not doing it right.

Re: Connect Multiple PPtP over multiple PPPoE's

Posted: Tue Nov 06, 2012 9:10 am
by matthysdt
I assume this is not do-able?
Could someone please just reply then and confirm this?

The reason why I need to do this is because I want to load-balance a VPN connection (pptp-client).

Anyone, with any know-how, please respond.

Re: Anybody?? - Connect Multiple PPtP over multiple PPPoE's

Posted: Tue Nov 06, 2012 10:31 am
by matthysdt
Explained with a diagram:
Image

Re: Unanswered - Manually specify gateway for a pptp-client

Posted: Sun Nov 11, 2012 2:05 am
by marklodge
Post your firewall and interface config (export)

Re: Unanswered - Manually specify gateway for a pptp-client

Posted: Sun Nov 11, 2012 10:17 am
by huntah
Have you tried to specify the gateway as interface?
It works for me on similar setup (2x DSL in bridge mode.. same ISP provider ie. mostly same gateway to the ISP)

Re: Unanswered - Manually specify gateway for a pptp-client

Posted: Mon Nov 12, 2012 7:40 am
by matthysdt
Have you tried to specify the gateway as interface?
It works for me on similar setup (2x DSL in bridge mode.. same ISP provider ie. mostly same gateway to the ISP)
Hi huntah, thank you for responding.
I have tried that without success, I would however like to see your mangle rule for marking ISP1's route.

My key problem is that the pptp-client in Mikrotik uses the active default route and I don't know how to override that. :?