Community discussions

MikroTik App
 
amokkatmt
newbie
Topic Author
Posts: 33
Joined: Mon Oct 24, 2011 3:31 pm

Pushing routes to PPTP/L2TP client of my RB

Mon Oct 24, 2011 3:41 pm

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.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7042
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Pushing routes to PPTP/L2TP client of my RB

Mon Oct 24, 2011 3:43 pm

You can't push routes to the client from RouterOS. Other methods should be used, for example add static routes.
 
amokkatmt
newbie
Topic Author
Posts: 33
Joined: Mon Oct 24, 2011 3:31 pm

Re: Pushing routes to PPTP/L2TP client of my RB

Mon Oct 24, 2011 3:51 pm

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. ?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7042
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Pushing routes to PPTP/L2TP client of my RB

Mon Oct 24, 2011 4:20 pm

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.
 
amokkatmt
newbie
Topic Author
Posts: 33
Joined: Mon Oct 24, 2011 3:31 pm

Re: Pushing routes to PPTP/L2TP client of my RB

Mon Oct 24, 2011 4:24 pm

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?
 
mareka
just joined
Posts: 9
Joined: Mon Sep 23, 2013 9:38 pm

Re: Pushing routes to PPTP/L2TP client of my RB

Mon Sep 30, 2013 3:40 pm

Hi,
I want to ask that is there any solution since 2011?
 
Wyz4k
Member Candidate
Member Candidate
Posts: 240
Joined: Fri Jul 10, 2009 10:23 am

Re: Pushing routes to PPTP/L2TP client of my RB

Wed Feb 08, 2017 8:00 am

Or any solution in 2017?
 
OlofL
Member Candidate
Member Candidate
Posts: 113
Joined: Mon Oct 12, 2015 2:37 pm

Re: Pushing routes to PPTP/L2TP client of my RB

Fri Oct 06, 2017 2:34 pm

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.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Pushing routes to PPTP/L2TP client of my RB

Mon Oct 23, 2017 10:42 am

I pushed routes via pptp server over IKEv2 tunnel on Ubuntu and Red Hat server. Try those.
 
User avatar
Hrobocop
just joined
Posts: 23
Joined: Sun Dec 04, 2011 12:07 pm
Location: Prague

Re: Pushing routes to PPTP/L2TP client of my RB

Wed Apr 14, 2021 9:58 pm

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

Who is online

Users browsing this forum: No registered users and 18 guests