Pushing routes to PPTP/L2TP client of my RB

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.

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. ?

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?

Hi,
I want to ask that is there any solution since 2011?

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 :slight_smile:

I haven’t tried on windows though.

I pushed routes via pptp server over IKEv2 tunnel on Ubuntu and Red Hat server. Try those.

This will add route on the Router’s side, so on the MikroTik, not on the client side.
Just tested it right now :frowning: