Community discussions

MikroTik App
 
ediaz
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 59
Joined: Tue May 22, 2012 10:38 am

VPN with additional routes

Mon Jan 21, 2013 7:30 pm

Hi,

I'm trying to create a simple VPN for road warriors using Windows and Linux. PPTP and OpenVPN should work, but none of this implementations allow me to publish extra routes from the VPN server (as I can with a Linux OpenVPN server), and I don't want to force the default route through the VPN.

What other solutions do you know to do this kind of setup? Am I forced to change the user's vpn configuration each time we add/delete an internal network? I would appreciate any pointer to the documentation explaining how to do this.

Regards
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: VPN with additional routes

Tue Jan 22, 2013 2:04 am

Classless Static Routes, DHCP Option 121 and 249.

Take a look here how to calculate it for RouterOS.

http://forum.mikrotik.com/viewtopic.php?f=9&t=48262


You need to add it like this in the DHCP settings.
You do not have the required permissions to view the files attached to this post.
 
ediaz
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 59
Joined: Tue May 22, 2012 10:38 am

Re: VPN with additional routes

Tue Jan 22, 2013 10:39 am

How can I apply this to a PPTP or OpenVPN vpn?
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: VPN with additional routes

Tue Jan 22, 2013 12:26 pm

For PPTP you can use Radius with the routes option. With OpenVPN you can push a route to the client.

http://wiki.mikrotik.com/wiki/Manual:PPP_AAA

http://wiki.mikrotik.com/wiki/OpenVPN
 
MasterXP
newbie
Posts: 25
Joined: Fri Jun 12, 2009 9:05 am

Re: VPN with additional routes

Tue Mar 12, 2013 6:47 am

For PPTP you can use Radius with the routes option. With OpenVPN you can push a route to the client.

http://wiki.mikrotik.com/wiki/Manual:PPP_AAA

http://wiki.mikrotik.com/wiki/OpenVPN
Hello, i read the Wiki Links you posted, but don't see nothing about send routes to clients using Radius or another protocol.

It is really posible to send Static Routes using Mikrotik PPTP Server ?

Thanks in advance.

Who is online

Users browsing this forum: No registered users and 88 guests