Page 1 of 1
Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Oct 24, 2011 3:41 pm
by amokkatmt
Hi all. I have 750GL at home, running RouterOS v5.7. I have succesfully set up PPTP / L2TP over IPSec servers for accessing my home networks from internet.
How can I push network routes, which my RB operates in to remote computer while establishing PPTP/L2TP connection from that computer via internet to my RB?
I know I can simply enable default route to VPN tunnel and RB will do all things, but I don't like it for some reasons.
Tried to set up RIP, but my test client (Windows 7) did not receive routes (anyway I am not sure I have set up RIP correctly).
Can someone help me with information how to establish what I need?
Thank you in advance.
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Oct 24, 2011 3:43 pm
by mrz
You can't push routes to the client from RouterOS. Other methods should be used, for example add static routes.
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Oct 24, 2011 3:51 pm
by amokkatmt
You can't push routes to the client from RouterOS. Other methods should be used, for example add static routes.
Are there any other ways except static routes on client? May be some special DHCP set up etc. ?
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Oct 24, 2011 4:20 pm
by mrz
Yes, on DHCP server you can configure to send routes as an option if client request that option. However in l2tp case ip address is not received by DHCP.
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Oct 24, 2011 4:24 pm
by amokkatmt
Yes, on DHCP server you can configure to send routes as an option if client request that option. However in l2tp case ip address is not received by DHCP.
So this is not a solution, right?
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Sep 30, 2013 3:40 pm
by mareka
Hi,
I want to ask that is there any solution since 2011?
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Wed Feb 08, 2017 8:00 am
by Wyz4k
Or any solution in 2017?
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Fri Oct 06, 2017 2:34 pm
by OlofL
Or any solution in 2017?
This actually worked on a macos sierra client: under /ppp secrets just select user and add under routes=1.1.1.0/24
The user is connecting with L2TP IPSEC.
Now I have split tunneling and users doesnt hog cpu of my weak little rb2011
I haven't tried on windows though.
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Mon Oct 23, 2017 10:42 am
by Anumrak
I pushed routes via pptp server over IKEv2 tunnel on Ubuntu and Red Hat server. Try those.
Re: Pushing routes to PPTP/L2TP client of my RB
Posted: Wed Apr 14, 2021 9:58 pm
by Hrobocop
Or any solution in 2017?
This actually worked on a macos sierra client: under /ppp secrets just select user and add under routes=1.1.1.0/24
The user is connecting with L2TP IPSEC.
Now I have split tunneling and users doesnt hog cpu of my weak little rb2011 :-)
I haven't tried on windows though.
This will add route on the Router's side, so on the MikroTik, not on the client side.
Just tested it right now :(