Page 1 of 1

Multi PPTP Over Multi PPPOE

Posted: Thu Apr 06, 2017 11:55 pm
by MRACHINI
Hey,

so I have multiple PPPOE interfaces, 4 to be exact, and I want to connect 4 different PPTP clients, to the same PPTP Server, and I want each PPTP client to connect over one of the PPPOE interfaces.

how can I do that?

Re: Multi PPTP Over Multi PPPOE

Posted: Sun Apr 09, 2017 6:28 pm
by idlemind
I'd just add a /32 route for each IP used in "connect-to" portion of the PPTP client interface.

#1
/ip route add dst-address=1.1.1.1/32 gateway=IPofTheOtherSideofThePPoEYouWantTosUse
/interface pptp-client add connect-to=1.1.1.1
#2
/ip route add dst-address=2.2.2.2/32 gateway=IPofTheOtherSideofThePPoEYouWantTosUse
/interface pptp-client add connect-to=2.2.2.2
etc ...

Re: Multi PPTP Over Multi PPPOE

Posted: Tue Apr 11, 2017 10:09 am
by MRACHINI
I'd just add a /32 route for each IP used in "connect-to" portion of the PPTP client interface.

#1
/ip route add dst-address=1.1.1.1/32 gateway=IPofTheOtherSideofThePPoEYouWantTosUse
/interface pptp-client add connect-to=1.1.1.1
#2
/ip route add dst-address=2.2.2.2/32 gateway=IPofTheOtherSideofThePPoEYouWantTosUse
/interface pptp-client add connect-to=2.2.2.2
etc ...
That would work fine if i had each PPTP client connect to PPTP servers with different IPs,
I updated the original post, I forgot to mention that i want to connect all pptp clients to the same PPTP server :(, but over different PPPOEs.